*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1b3e;
  --navy2:  #122150;
  --blue:   #1a3a8f;
  --accent: #2e8adf;
  --light:  #5bb8ff;
  --pale:   #e8f4ff;
  --white:  #ffffff;
  --gray:   #f4f7fc;
  --text:   #1c2a44;
  --muted:  #5a6a84;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91, 184, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4%;
  height: 130px;
  gap: 1rem;
  line-height: 1;
}

.nav-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-logo {
  height: 100px;
  /*filter: brightness(0) invert(1);*/
  display: block;
}

.nav-left,
.nav-right {
  display: flex; list-style: none; align-items: center; gap: 1.8rem;
}
.nav-left  { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }

.nav-left a,
.nav-right a:not(.nav-phone):not(.nav-cta) {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-left a:hover,
.nav-right a:hover { color: var(--light); }

.nav-phone {
  display: flex; align-items: center; gap: .45rem;
  color: var(--light);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s;
}
.nav-phone:hover { color: var(--white); }
.nav-phone svg { flex-shrink: 0; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--light) !important; color: var(--navy) !important; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  background: rgba(13,27,62,.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(91,184,255,.15);
  padding: 1.2rem 5% 1.6rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }

.nav-drawer a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--light); }

.nav-drawer .drawer-phone {
  display: flex; align-items: center; gap: .5rem;
  color: var(--light);
  font-weight: 700;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 1.05rem;
  padding-top: 1rem;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13,27,62,.96) 45%, rgba(18,33,80,.88) 100%),
    url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1600&q=80') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(46,138,223,.12), transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(46,138,223,.15);
  border: 1px solid rgba(91,184,255,.3);
  color: var(--light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.4; transform:scale(1.4); }
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  max-width: 820px;
}

.hero h1 span { color: var(--light); }

.hero p {
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px;
  margin-bottom: 2.6rem;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-btns .btn-primary,
.hero-btns .btn-secondary { width: 260px; text-align: center; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(46,138,223,.4);
}

.btn-primary:hover { background: var(--light); color: var(--navy); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover { border-color: var(--light); background: rgba(91,184,255,.08); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  flex-wrap: wrap; justify-content: center;
}

.stat { text-align: center; }

.stat-n {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1;
}

.stat-l {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .3rem;
}

/* ── SECTIONS ─────────────────────────────────────── */
section { padding: 100px 5%; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.8;
}

/* ── ABOUT ─────────────────────────────────────────── */
#sobre-nosotros { background: var(--gray); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(91,184,255,.1);
  pointer-events: none;
}

.about-visual h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-visual p { color: rgba(255,255,255,.78); margin-bottom: 1.5rem; font-size: .97rem; }

.cert-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(91,184,255,.15);
  border: 1px solid rgba(91,184,255,.35);
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--light);
}

.about-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; }

.coverage {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem;
}

.tag {
  background: var(--pale);
  color: var(--blue);
  border: 1px solid rgba(46,138,223,.2);
  padding: .3rem .9rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
}

/* ── SERVICES ─────────────────────────────────────── */
#servicios { background: var(--white); }

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.services-header .subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--gray);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
}

.service-card:hover {
  border-color: rgba(46,138,223,.3);
  box-shadow: 0 8px 32px rgba(46,138,223,.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ── PARTNERS ─────────────────────────────────────── */
#colaboraciones,
#por-que-nexiora { background: var(--navy); }

#colaboraciones h2,
#colaboraciones .section-label,
#por-que-nexiora h2,
#por-que-nexiora .section-label { color: var(--white); }

#colaboraciones .section-label,
#por-que-nexiora .section-label { color: var(--light); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.partner-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(91,184,255,.15);
  border-radius: 10px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: background .2s, border-color .2s;
}

.partner-card:hover {
  background: rgba(91,184,255,.08);
  border-color: rgba(91,184,255,.35);
}

.partner-icon { font-size: 2rem; margin-bottom: .7rem; }

.partner-card h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.partner-card p { color: rgba(255,255,255,.5); font-size: .82rem; }

.antpji-note {
  max-width: 800px; margin: 3rem auto 0;
  background: rgba(46,138,223,.12);
  border: 1px solid rgba(46,138,223,.3);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  line-height: 1.75;
  text-align: center;
}

.antpji-note strong { color: var(--light); }

/* ── CONTACT ─────────────────────────────────────── */
#contacto { background: var(--gray); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }

.contact-detail {
  display: flex; align-items: flex-start; gap: .9rem;
  margin-bottom: 1.2rem;
}

.contact-detail-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.contact-detail-text h4 { font-size: .88rem; color: var(--muted); font-weight: 500; }
.contact-detail-text p  { font-size: .97rem; color: var(--navy); font-weight: 600; margin: 0; }

form {
  background: var(--white);
  border-radius: 14px;
  padding: 2.2rem;
  box-shadow: 0 4px 24px rgba(13,27,62,.08);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.1rem; }

label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

input, select, textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid #dce5f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,138,223,.12);
}

textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: .9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, opacity .2s;
  margin-top: .4rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}

.form-submit:hover:not(:disabled) { background: var(--blue); }
.form-submit:disabled { opacity: .65; cursor: not-allowed; }

.form-checks {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 2px solid rgba(91, 184, 255, 0.4);
  border-radius: 4px;
  background: rgba(255,255,255,.05) center / 11px no-repeat;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.form-check input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1,5 4.5,8.5 11,1' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 2px;
}

.form-check span {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-check span a {
  color: var(--accent);
  text-decoration: underline;
}

.privacy-note {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: .8rem;
}

.form-honeypot { opacity: 0; position: absolute; top: -9999px; left: -9999px; }

.form-alert {
  display: none;
  padding: .9rem 1.1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.form-alert.success { display: flex; gap: .6rem; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-alert.error   { display: flex; gap: .6rem; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 3rem 5% 2rem;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
}

.footer-logo { height: 90px; 
  /*filter: brightness(0) invert(1) opacity(.6);*/
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

.footer-social {
  display: flex;
  gap: .5rem;
}

.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social a:hover {
  background: rgba(91,184,255,.15);
  border-color: rgba(91,184,255,.4);
  color: var(--light);
}
.footer-social svg { display: block; }

.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--light); }

/* redes en el nav */
.nav-social {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: .4rem;
  padding-left: .9rem;
  border-left: 1px solid rgba(255,255,255,.15);
}
.nav-social a {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-social a:hover {
  background: rgba(91,184,255,.15);
  color: var(--light);
}
.nav-social svg { display: block; }

/* ── FLOATING BUTTONS ───────────────────────────── */
.float-buttons {
  position: fixed;
  bottom: 2rem;
  right: 1.6rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: none;
  border-radius: 50px;
  padding: .80rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s, padding .25s;
  white-space: nowrap;
  overflow: hidden;
  max-width: 52px;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  max-width: 220px;
  padding: .65rem 1.2rem .65rem .85rem;
}

.float-btn-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}

.float-btn-label {
  opacity: 0;
  transition: opacity .2s .05s;
  font-size: .85rem;
}

.float-btn:hover .float-btn-label { opacity: 1; }

.float-wa  { background: #25d366; }
.float-tg  { background: #229ed9; }

/* ── COOKIE BANNER ──────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--navy);
  border-top: 2px solid rgba(91,184,255,.2);
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}

#cookie-banner.hidden { display: none; }

.cookie-text {
  color: rgba(255,255,255,.78);
  font-size: .87rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

.cookie-text a {
  color: var(--light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-btn {
  padding: .55rem 1.2rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: opacity .2s;
}
.cookie-btn:hover { opacity: .85; }

.cookie-accept   { background: var(--accent); color: var(--white); }
.cookie-reject   { background: transparent; color: rgba(255,255,255,.65); border: 1.5px solid rgba(255,255,255,.25); }
.cookie-settings { background: transparent; color: var(--light); border: 1.5px solid rgba(91,184,255,.35); }

/* ── COOKIE MODAL ───────────────────────────────── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal.hidden { display: none; }

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}

.cookie-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  overflow: hidden;
}

.cookie-modal-header {
  background: var(--navy);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-header h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: .15rem .5rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.cookie-modal-close:hover { background: rgba(255,255,255,.12); color: var(--white); }

.cookie-modal-body {
  padding: .4rem 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f8;
}
.cookie-pref-row:last-child { border-bottom: none; }

.cookie-pref-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.cookie-pref-info strong { font-size: .9rem; color: var(--navy); }
.cookie-pref-info span   { font-size: .78rem; color: var(--muted); line-height: 1.45; }

.cookie-toggle-always {
  font-size: .72rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: .25rem .75rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-toggle-switch { cursor: pointer; flex-shrink: 0; }
.cookie-toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; }

.cookie-toggle-track {
  display: block;
  width: 44px; height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  position: relative;
  transition: background .2s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-track { background: var(--accent); }

.cookie-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-track .cookie-toggle-thumb {
  transform: translateX(20px);
}

.cookie-modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid #eef2f8;
  background: #f8fafc;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  nav {
    grid-template-columns: auto 1fr auto;
    height: 84px;
    padding: 0 5%;
    gap: 0;
  }
  .nav-logo-wrap {
    grid-column: 1;
    justify-content: flex-start;
  }
  .nav-logo { height: 56px; }
  .nav-left  { display: none; }
  .nav-right { display: none; }
  .nav-hamburger {
    grid-column: 3;
    display: flex;
  }
  .nav-drawer { top: 84px; }
  .nav-social { display: none; }
}
@media (max-width: 820px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.2rem;
  }
  .footer-links { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 540px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 5%;
  }
  .cookie-text { min-width: 0; }
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn { width: 100%; text-align: center; }
}
