/* ============================================================
   NETSERENO — Shared Stylesheet
   Light & Clinical · Serenidad Digital
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --bg:            #F5F8FC;
  --surface:       #FFFFFF;
  --surface-warm:  #EBF2FA;
  --text:          #0D1B2A;
  --text-mid:      #3D5166;
  --text-light:    #7A94AA;
  --brand:         #083B66;
  --brand-mid:     #0F5498;
  --brand-light:   #E4EFF8;
  --accent:        #B8915A;
  --accent-light:  #F7EDD8;
  --border:        #D4E2EE;
  --radius:        4px;
  --radius-lg:     12px;
  --shadow:        0 2px 16px rgba(8,59,102,0.07);
  --shadow-hover:  0 8px 32px rgba(8,59,102,0.13);
  --nav-height:    72px;
  --max-width:     1200px;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Source Sans 3', -apple-system, sans-serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --t:             0.25s;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 500;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-mid); }
em.it { font-style: italic; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 5rem 0; }

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}
.section-intro { max-width: 560px; margin-bottom: 3.5rem; }
.section-intro h2 { margin-bottom: 0.75rem; }
.section-intro p { font-size: 1.05rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,59,42,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #9E7A48; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--brand); }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(248, 246, 241, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.nav-logo-mark { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand);
  transition: width var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1.5rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  display: block;
  transition: all var(--t);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === PAGE TOP PADDING === */
.page-start { padding-top: var(--nav-height); }

/* === HERO (home) === */
.hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 65% 35%, rgba(184,145,90,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(8,59,102,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.45; transform:scale(1.4); }
}
.hero h1 { margin-bottom: 1.4rem; }
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  max-width: 360px;
  width: 100%;
  animation: float 7s ease-in-out infinite;
  position: relative;
}
@keyframes float {
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}
.hero-card-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
}
.hero-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.hero-metric {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}
.hero-metric-sub {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0.25rem 0 1.5rem;
}
.bar-rows { display: flex; flex-direction: column; gap: 0.7rem; }
.bar-row { display: flex; align-items: center; gap: 0.65rem; }
.bar-label { width: 78px; font-size: 0.8rem; color: var(--text-mid); flex-shrink: 0; }
.bar-track { flex: 1; height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--brand);
  width: 0;
  animation: grow var(--dur, 1.4s) var(--delay, 0.3s) ease-out forwards;
}
.bar-fill.amber { background: var(--accent); }
.bar-fill.red   { background: #C0392B; }
@keyframes grow { to { width: var(--w); } }
.bar-pct { width: 30px; text-align: right; font-size: 0.8rem; font-weight: 600; color: var(--text); }

/* === TRUST BAR === */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
}
.trust-item svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }

/* === SERVICE CARDS (home grid) === */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--brand);
  transition: height var(--t) var(--ease);
}
.svc-card:hover::after { height: 100%; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.svc-icon {
  width: 42px; height: 42px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon svg { width: 20px; height: 20px; color: var(--brand); }
.svc-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.9rem; line-height: 1.65; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 1rem;
  transition: gap var(--t);
}
.svc-link:hover { gap: 0.6rem; }

/* === DARK CALLOUT (sector sanidad) === */
.dark-callout {
  background: var(--brand);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.dark-callout::before {
  content: '';
  position: absolute;
  right: -8%; top: -25%;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
}
.dc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.dc-grid h2 { color: #fff; margin-bottom: 0.75rem; }
.dc-grid > div > p { color: rgba(255,255,255,0.72); margin-bottom: 0; }
.dc-points { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.dc-point { display: flex; gap: 0.9rem; align-items: flex-start; }
.dc-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.dc-point h4 { font-size: 0.95rem; color: #fff; margin-bottom: 0.2rem; }
.dc-point p { font-size: 0.875rem; color: rgba(255,255,255,0.62); }
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent-light);
  line-height: 1;
}
.stat-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
.stat-sep { height: 1px; background: rgba(255,255,255,0.08); }

/* === PHILOSOPHY BAND === */
.philosophy-band {
  background: var(--surface-warm);
  padding: 5.5rem 0;
}
.phil-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.phil-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  color: var(--brand);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.phil-attr {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.phil-body {
  max-width: 500px;
  margin: 1.5rem auto 0;
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* === HOME CTA === */
.home-cta {
  padding: 6rem 0;
  text-align: center;
}
.home-cta-inner { max-width: 620px; margin: 0 auto; }
.home-cta h2 { margin-bottom: 1.1rem; }
.home-cta > .home-cta-inner > p { font-size: 1.05rem; margin-bottom: 2.5rem; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.9rem; }
.page-hero p { font-size: 1.1rem; max-width: 560px; }

/* === SERVICES PAGE === */
.services-list { display: flex; flex-direction: column; }
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail.reverse .svc-detail-text { order: 2; }
.svc-detail.reverse .svc-detail-visual { order: 1; }
.svc-detail-text h2 { margin-bottom: 0.75rem; }
.svc-detail-text p { margin-bottom: 1.5rem; }
.svc-detail-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.svc-visual-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.fi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

/* pricing */
.pricing-wrap { background: var(--surface-warm); padding: 5rem 0; }
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing-tier {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 0.25rem;
}
.pricing-desc { font-size: 0.9rem; margin-bottom: 1.75rem; }
.pricing-features { text-align: left; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.pf {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.pf svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-body p { margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.78; }
.about-body p:last-child { margin-bottom: 0; }
.about-values { display: flex; flex-direction: column; gap: 1.25rem; }
.av-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.av-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.av-card p { font-size: 0.875rem; }
.about-meta {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}
.about-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.am-item h3 { font-family: var(--font-display); font-size: 2.5rem; color: var(--brand); }
.am-item p { font-size: 0.875rem; margin-top: 0.25rem; }
.nexint-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--brand);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.nexint-note strong { color: var(--brand); }

/* === CONTACT PAGE === */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  padding-top: 1rem;
}
.contact-lead h2 { margin-bottom: 0.9rem; }
.contact-lead > p { font-size: 1.05rem; margin-bottom: 2.5rem; }
.c-detail { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.5rem; }
.c-icon {
  width: 38px; height: 38px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-icon svg { width: 17px; height: 17px; color: var(--brand); }
.c-detail h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.c-detail p { font-size: 0.95rem; color: var(--text); margin: 0; }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13,59,42,0.08);
  background: var(--surface);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 1.25rem; line-height: 1.6; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--brand);
}
.form-success h3 { margin-bottom: 0.5rem; }

/* === NEWS PAGE === */
.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.news-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.38rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-source {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.news-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.65rem;
  flex: 1;
}
.news-excerpt {
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-date { font-size: 0.78rem; color: var(--text-light); }
.news-read {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--t);
}
.news-read:hover { gap: 0.5rem; }
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
}
.news-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.news-error { color: var(--accent); font-size: 0.9rem; }

/* === FOOTER === */
footer {
  background: var(--text);
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.9rem;
  display: block;
}
.footer-brand-name span { color: var(--accent); }
.footer-logo-img { height: 52px; width: auto; margin-bottom: 1rem; opacity: 0.9; border-radius: 5%; }

.footer-logo-img:hover { filter: brightness(1.3)contrast(1.1); }

.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===  TAG === */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--brand-light);
  color: var(--brand);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid-home { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr; }
  .stat-card { max-width: 480px; }
  .svc-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-detail.reverse .svc-detail-text,
  .svc-detail.reverse .svc-detail-visual { order: unset; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-meta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; }
  section { padding: 3.5rem 0; }
  .about-meta-grid { grid-template-columns: 1fr 1fr; }
  .dc-grid { gap: 2.5rem; }
}
