/* ============================================================
   ICA — Industrial Control & Automation
   Main Stylesheet
   Color System:
     --primary:       #002f4d  (deep navy)
     --primary-mid:   #205679  (mid navy)
     --accent:        #75bae6  (light blue)
     --accent-light:  #AFCBF8  (pale blue)
     --accent-pale:   #e8f4fc  (very pale blue bg)
     --heading:       #2E3C4E  (dark slate)
   ============================================================ */

:root {
  --primary:       #002f4d;
  --primary-mid:   #205679;
  --accent:        #75bae6;
  --accent-light:  #AFCBF8;
  --accent-pale:   #e8f4fc;
  --heading:       #2E3C4E;
  --text:          #3a4a58;
  --muted:         #6c7a89;
  --white:         #ffffff;
  --card-shadow:   0 4px 16px rgba(0,47,77,0.12);
  --card-radius:   16px;
  --nav-height:    70px;
  --gradient:      linear-gradient(135deg, #205679 0%, #002f4d 100%);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #f7fafd;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: 'Barlow', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
}

a { color: var(--primary-mid); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--gradient);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-brand-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
  display: block;
}

.nav-spacer { flex: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.nav-links a.active {
  background: rgba(117,186,230,0.3);
  color: #ffffff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Page Wrapper ---- */
.page-wrapper {
  padding-top: var(--nav-height);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--gradient);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,47,77,0.9) 0%, rgba(32,86,121,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: rgba(117,186,230,0.25);
  border: 1px solid rgba(117,186,230,0.5);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h2 {
  color: var(--accent-light);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: #8fd0f7;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(117,186,230,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
  color: #ffffff;
}

/* ---- Section Layouts ---- */
.section {
  padding: 72px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-alt {
  background: var(--accent-pale);
}
.section-alt .section {
  /* no changes needed, just for bg wrapper */
}
.section-dark {
  background: var(--gradient);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-block;
  color: var(--primary-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--heading);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header.light h2,
.section-header.light .section-label { color: rgba(255,255,255,0.9); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--gradient);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(117,186,230,0.2);
  padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,47,77,0.18);
}

.card-accent {
  background: var(--gradient);
  color: white;
  border: none;
}
.card-accent h3, .card-accent h4 { color: white; }
.card-accent p { color: rgba(255,255,255,0.82); }

.card-blue {
  background: var(--accent-light);
  border: 1px solid var(--accent);
}

/* ---- Icon Box ---- */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-pale);
  border: 1.5px solid rgba(117,186,230,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.icon-box img,
.icon-box svg {
  width: 26px;
  height: 26px;
  opacity: 0.85;
}

/* Colorize fill="currentColor" SVGs loaded as img tags — convert black to #205679 */
.icon-box img[src*=".svg"],
.icon-box-lg img[src*=".svg"] {
  filter: invert(27%) sepia(45%) saturate(900%) hue-rotate(176deg) brightness(90%) contrast(95%);
}

.icon-box-lg {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(117,186,230,0.18);
  border: 2px solid rgba(117,186,230,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box-lg img,
.icon-box-lg svg {
  width: 34px;
  height: 34px;
}

/* ---- Grid helpers ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-clients { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }

/* ---- Feature strip (3-col on home) ---- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(117,186,230,0.25);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-top: 48px;
}
.feature-item {
  background: var(--white);
  padding: 28px 24px;
  text-align: center;
}
.feature-item .num {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  color: var(--primary-mid);
  line-height: 1;
}
.feature-item .label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ---- Value Pills ---- */
.value-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--accent);
  padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,47,77,0.18);
}
.value-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.value-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ---- Service Card ---- */
.service-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--accent);
  padding: 32px 28px;
  transition: transform 0.22s, box-shadow 0.22s;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,47,77,0.18);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--primary); }
.service-card ul { padding-left: 18px; }
.service-card ul li { color: var(--text); font-size: 0.9rem; margin-bottom: 7px; line-height: 1.5; }

/* ---- Industry Card ---- */
.industry-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid rgba(117,186,230,0.18);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,47,77,0.18);
  border-color: var(--accent);
}
.industry-card .icon-box-lg { margin: 0 auto 16px; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--heading); }
.industry-card p { font-size: 0.875rem; color: var(--muted); }

/* ---- Client Logo Card ---- */
.client-logo-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,47,77,0.08);
  border: 1px solid rgba(117,186,230,0.2);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,47,77,0.14);
}
.client-logo-card img {
  max-height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s;
}
.client-logo-card:hover img { filter: grayscale(0%); }

/* ---- Project List ---- */
.project-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,47,77,0.07);
  border: 1px solid rgba(117,186,230,0.15);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.project-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(117,186,230,0.25);
}
.project-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.project-item strong { color: var(--heading); font-size: 0.95rem; display: block; margin-bottom: 2px; }
.project-item span { color: var(--muted); font-size: 0.85rem; }

/* ---- HSE / Responsibility Card ---- */
.resp-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,47,77,0.08);
  border: 1px solid rgba(117,186,230,0.18);
  padding: 20px 22px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.resp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,47,77,0.14);
}
.resp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-pale);
  border: 1.5px solid rgba(117,186,230,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.resp-card h4 { font-size: 0.95rem; color: var(--heading); margin-bottom: 4px; }
.resp-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ---- Quote Block ---- */
.quote-block {
  border-left: 4px solid var(--accent);
  padding: 20px 28px;
  background: var(--accent-pale);
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
}
.quote-block p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--heading);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
}

/* ---- Stat Banner ---- */
.stat-banner {
  background: var(--gradient);
  padding: 48px 24px;
}
.stat-banner .section {
  padding: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* ---- Contact Card ---- */
.contact-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(117,186,230,0.2);
  padding: 36px 32px;
}
.contact-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent-pale);
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item .info { font-size: 0.9rem; color: var(--text); line-height: 1.6; }
.contact-item .info strong { color: var(--heading); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient);
  padding: 64px 24px;
  text-align: center;
}
.cta-banner h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }

/* ---- Footer ---- */
.site-footer {
  background: #001e30;
  color: rgba(255,255,255,0.7);
  padding: 52px 24px 28px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent-light); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--accent); }

/* ---- Divider ---- */
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
}

/* ---- Badges ---- */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.badge-blue {
  background: var(--accent-light);
  color: var(--primary);
}
.badge-navy {
  background: var(--primary);
  color: white;
}

/* ---- List Styles ---- */
.bullet-list {
  list-style: none;
  padding: 0;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}
.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ---- Equipment partner list ---- */
.partner-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.partner-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--accent-pale);
  border-radius: 10px;
  border: 1px solid rgba(117,186,230,0.3);
}
.partner-item strong { color: var(--primary); font-size: 0.9rem; }
.partner-item span { color: var(--muted); font-size: 0.85rem; }
.partner-arrow {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-white { color: white !important; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-sm { gap: 16px; }
.gap-md { gap: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--primary); padding: 12px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: 8px; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-clients { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .hero { min-height: 400px; }
  .hero-content { padding: 52px 20px; }
  .section { padding: 52px 20px; }

  /* Collapse inline 2-col grids used in page templates */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #001e30;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  padding: 20px 24px;
  /* start off-screen and slide up */
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner-text {
  flex: 1;
  min-width: 220px;
}

.cookie-banner-text p {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #fff;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: #8fd0f7;
  transform: translateY(-1px);
}

.cookie-btn-necessary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.cookie-btn-necessary:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.cookie-btn-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.cookie-btn-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .cookie-banner-inner { gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-necessary { flex: 1; text-align: center; }
}

/* Cookie policy page */
.cookie-policy h2 { font-size: 1.3rem; color: var(--primary); margin: 32px 0 10px; }
.cookie-policy h3 { font-size: 1rem; color: var(--heading); margin: 20px 0 8px; }
.cookie-policy p, .cookie-policy li { font-size: 0.95rem; color: var(--text); line-height: 1.75; margin-bottom: 10px; }
.cookie-policy ul { padding-left: 20px; margin-bottom: 16px; }
.cookie-policy table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.875rem; }
.cookie-policy table th { background: var(--accent-pale); color: var(--heading); font-weight: 700; padding: 10px 14px; text-align: left; border: 1px solid rgba(117,186,230,0.3); }
.cookie-policy table td { padding: 10px 14px; border: 1px solid rgba(117,186,230,0.2); color: var(--text); vertical-align: top; }
.cookie-policy table tr:nth-child(even) td { background: #f9fbfe; }
