/* =============================================================
   OYE DE NUEVO — gabinete de audiología familiar en Nerja
   Archetype: Light Editorial Cream (cálido, sereno, accesible)
   =============================================================

   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components (btn, card, nav)
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #faf6ee;
  --bg-2:        #f1e8d8;
  --paper:       #ffffff;
  --ink:         #262420;
  --ink-soft:    #423f37;
  --ink-mute:    #726b5e;
  --accent:      #8c2f45;
  --accent-dark: #6b1f32;
  --accent-soft: #f3e3e6;
  --gold:        #c39a5b;
  --line:        rgba(38, 36, 32, 0.12);
  --line-soft:   rgba(38, 36, 32, 0.07);

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-height: 84px;
  --radius: 20px;
  --radius-sm: 12px;

  --shadow-card: 0 2px 10px rgba(38,36,32,0.05), 0 1px 2px rgba(38,36,32,0.04);
  --shadow-card-hover: 0 28px 60px -20px rgba(107, 31, 50, 0.26), 0 10px 24px -10px rgba(38,36,32,0.14);
}

@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 30%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); color: var(--ink); font-weight: 500; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; color: var(--accent-dark); }

::selection { background: var(--accent-soft); color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .8rem 1.2rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent-dark);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--accent);
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .6rem; }
.section-head p { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-mute); }

/* Content is always fully opaque and readable — reveal only offsets position
   slightly and settles into place. If the observer below never fires (slow
   device, JS blocked, tab backgrounded), nothing is ever hidden. */
[data-reveal] {
  transform: translateY(28px);
  transition: transform .9s var(--ease-soft);
}
[data-reveal].is-revealed { transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* =============================================================
   4. Typography
   ============================================================= */
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--accent-dark); }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons — large touch targets, generous padding for senior users */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.9rem;
  border-radius: 100px;
  font-weight: 600; font-size: 1.05rem;
  min-height: 56px;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out);
  box-shadow: var(--shadow-card);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent-dark);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(250,246,238,0.55);
}

/* Cards */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 1.3rem;
}
.icon-badge svg { width: 30px; height: 30px; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: flex; align-items: baseline; gap: .5rem;
  font-family: var(--serif); font-size: 1.55rem; font-style: italic; font-weight: 500;
  color: var(--ink);
}
.brand-mark { color: var(--accent-dark); }

.nav-links {
  display: none;
  align-items: center; gap: 2.1rem;
  font-size: 1rem; font-weight: 500;
}
.nav-link { position: relative; padding: .3rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent-dark);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: flex; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden;
}
.lang-btn {
  padding: .5rem .9rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-mute); min-height: 40px;
  transition: background-color .3s, color .3s;
}
.lang-btn[aria-pressed="true"] { background: var(--accent-dark); color: var(--bg); }

.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; } }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border-radius: 12px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; margin-inline: auto; background: var(--ink);
  transition: transform .35s var(--ease-soft), opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) { .hamburger { display: none; } }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a {
  font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: var(--ink);
}
.nav-mobile .nav-mobile-cta { margin-top: 1rem; }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-height);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 30% center;
  animation: heroAmbient 26s ease-in-out infinite;
}
@media (min-width: 720px) {
  .hero-media img { object-position: center; }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(38,36,32,0.42) 0%,
    rgba(38,36,32,0.16) 35%,
    rgba(250,246,238,0.2) 68%,
    rgba(250,246,238,0.98) 100%);
}
@keyframes heroAmbient {
  0%, 100% { transform: scale(1.04) translate3d(0,0,0); }
  50%      { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}

.hero-inner {
  position: relative;
  width: 100%; max-width: 1180px; margin-inline: auto; padding: 0 1.5rem clamp(3rem, 7vw, 5.5rem);
  color: var(--bg);
}
.hero-inner .kicker { color: var(--bg); }
.hero-inner .kicker::before { background: var(--bg); }
.hero-inner p.lead {
  margin-top: 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 46ch; color: rgba(250,246,238,0.92);
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: .9rem 1.6rem;
  margin-top: 2.6rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(250,246,238,0.28);
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem; color: rgba(250,246,238,0.92);
}
.trust-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* --- Manifesto / intro --- */
.manifesto {
  background: var(--bg);
}
.manifesto-grid {
  display: grid; gap: 2.6rem;
  align-items: start;
}
.manifesto-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.manifesto-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.manifesto-text p { font-size: 1.2rem; margin-top: 1.2rem; }
.manifesto-text p:first-of-type { margin-top: 1.6rem; }
.manifesto-text .lede {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink); line-height: 1.3;
}

.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem;
  margin-top: 2.6rem;
}
.stat b {
  display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--accent-dark);
  font-style: italic;
}
.stat span { font-size: .95rem; color: var(--ink-mute); }

/* --- Servicios --- */
.services {
  background: var(--bg-2);
}
.services-grid {
  display: grid; gap: 1.6rem;
}
.service-card h3 { font-size: 1.35rem; }
.service-card p { margin-top: .6rem; font-size: 1.02rem; color: var(--ink-mute); }

.brands-line {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem;
  font-size: .95rem; color: var(--ink-mute);
}
.brands-line strong { color: var(--ink); font-weight: 600; }
.brand-pill {
  padding: .4rem 1rem; border-radius: 100px; border: 1px solid var(--line);
  font-weight: 600; color: var(--ink-soft); background: var(--paper);
}

/* --- Valores --- */
.values {
  background: var(--bg);
}
.values-grid {
  display: grid; gap: 1.6rem;
}
.value-card { text-align: left; }
.value-card h3 { font-size: 1.3rem; }
.value-card p { margin-top: .5rem; color: var(--ink-mute); }

/* --- Testimonios --- */
.testimonials { background: var(--bg-2); }
.testimonials-grid { display: grid; gap: 1.6rem; }
.testimonial-card { position: relative; padding-top: 2.6rem; }
.testimonial-quote-mark {
  position: absolute; top: 1.3rem; left: 1.9rem;
  font-family: var(--serif); font-size: 3.2rem; font-style: italic;
  color: var(--accent-soft); line-height: 1;
}
.testimonial-text { font-size: 1.08rem; color: var(--ink-soft); }
.testimonial-footer {
  display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem;
}
.avatar-initial {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-dark); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--ink); font-size: .98rem; }
.testimonial-loc { font-size: .88rem; color: var(--ink-mute); }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: .1em; }

.testimonials-source { text-align: center; margin-top: 2.2rem; }
.testimonials-source a { font-weight: 600; color: var(--accent-dark); }
.testimonials-source a:hover { text-decoration: underline; }

/* Carousel mode — applied by JS only. Without JS, all reviews show stacked in the grid above. */
.testimonials-grid.is-carousel {
  display: block;
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  min-height: 260px;
}
.testimonials-grid.is-carousel .testimonial-card {
  transition: opacity .5s var(--ease-soft);
}
.testimonial-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  margin-top: 2rem;
}
.testimonial-controls[hidden] { display: none; }
.testimonial-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 1.4rem; color: var(--accent-dark);
  transition: background-color .3s, transform .3s var(--ease-soft);
}
.testimonial-arrow:hover { background: var(--accent-soft); transform: translateY(-2px); }
.testimonial-dots { display: flex; gap: .5rem; }
.testimonial-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line); padding: 0;
  transition: background-color .3s, transform .3s;
}
.testimonial-dot.is-active { background: var(--accent-dark); transform: scale(1.2); }

/* --- Quiénes somos --- */
.about { background: var(--bg); }
.about-grid {
  display: grid; gap: 2.8rem; align-items: center;
}
.about-figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  position: relative;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-text p { margin-top: 1.2rem; font-size: 1.12rem; }
.about-names {
  margin-top: 1.8rem; display: flex; gap: 1.6rem; flex-wrap: wrap;
}
.about-name b { display: block; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.about-name span { font-size: .92rem; color: var(--ink-mute); }

/* --- CTA band --- */
.cta-band {
  background: var(--accent-dark);
  color: var(--bg);
  text-align: center;
  border-radius: var(--radius);
  margin-inline: 1.5rem;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background: radial-gradient(60% 60% at var(--mesh-x) var(--mesh-y), rgba(195,154,91,.28), transparent 70%);
  filter: blur(70px);
  animation: ctaMesh 18s ease-in-out infinite;
}
@keyframes ctaMesh {
  0%, 100% { --mesh-x: 20%; --mesh-y: 30%; }
  50%      { --mesh-x: 80%; --mesh-y: 60%; }
}
.cta-band h2 { color: var(--bg); max-width: 20ch; margin-inline: auto; }
.cta-band p { margin-top: 1rem; color: rgba(250,246,238,0.85); font-size: 1.15rem; }
.cta-band .hero-cta-group { justify-content: center; margin-top: 2rem; }
.cta-band .btn-primary { background: var(--bg); color: var(--accent-dark); }
.cta-band .btn-primary:hover { background: var(--gold); color: var(--ink); }

/* --- Contacto --- */
.contact { background: var(--bg-2); }
.contact-grid {
  display: grid; gap: 2rem;
}
.contact-figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
}
.contact-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.contact-card {
  display: flex; flex-direction: column; gap: 1.6rem;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-row .icon-badge { margin-bottom: 0; width: 50px; height: 50px; flex-shrink: 0; }
.contact-row .icon-badge svg { width: 24px; height: 24px; }
.contact-row a, .contact-row p { font-size: 1.08rem; }
.contact-row-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 600; }
.social-row { display: flex; gap: .8rem; margin-top: .4rem; }
.social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line);
  transition: background-color .3s, transform .3s var(--ease-soft);
}
.social-btn:hover { background: var(--accent-soft); transform: translateY(-3px); }
.social-btn svg { width: 22px; height: 22px; color: var(--accent-dark); }

/* --- Formulario de citas --- */
.contact-form-card {
  max-width: 640px;
  width: 100%;
}
.contact-form-card h3 { font-size: 1.5rem; }
.contact-form-sub { margin-top: .5rem; color: var(--ink-mute); font-size: 1.02rem; }

.appt-form {
  margin-top: 1.8rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
}

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 1.5rem 1.1rem .6rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field label {
  position: absolute; left: 1.1rem; top: 1.05rem;
  font-size: 1.02rem; color: var(--ink-mute);
  pointer-events: none;
  transition: all .2s var(--ease-out);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: .45rem; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-dark);
}
.field-textarea label { top: 1.1rem; }

.appt-submit {
  position: relative;
  align-self: flex-start;
  margin-top: .4rem;
}
.appt-submit-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(250,246,238,.4); border-top-color: var(--bg);
  border-radius: 50%;
  animation: apptSpin .8s linear infinite;
}
.appt-form.is-sending .appt-submit-label { display: none; }
.appt-form.is-sending .appt-submit-spinner { display: block; }
.appt-form.is-sent { display: none; }
@keyframes apptSpin { to { transform: rotate(360deg); } }

.appt-success, .appt-error {
  display: none;
  margin-top: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.appt-success { background: var(--accent-soft); color: var(--accent-dark); }
.appt-success.is-visible { display: block; }
.appt-error { background: #f6e4d8; color: #7a3a1e; }
.appt-error.is-visible { display: block; }

/* --- Footer --- */
.site-footer {
  background: var(--ink); color: rgba(250,246,238,0.78);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid; gap: 2.4rem;
}
.footer-brand {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--bg);
}
.footer-col h4 {
  color: var(--bg); font-family: var(--sans); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem;
}
.footer-col a, .footer-col p { display: block; font-size: .96rem; margin-bottom: .55rem; color: rgba(250,246,238,0.7); }
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(250,246,238,0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: rgba(250,246,238,0.55);
}
.footer-bottom a { color: rgba(250,246,238,0.75); }
.footer-bottom a:hover { color: var(--bg); }

/* Credits page */
.page-credits main { max-width: 720px; margin-inline: auto; padding: calc(var(--nav-height) + 3rem) 1.5rem 5rem; }
.page-credits h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.credits-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.credits-list a { color: var(--accent-dark); text-decoration: underline; }
.back-link { display: inline-block; margin: 1.5rem; font-weight: 600; color: var(--accent-dark); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .manifesto-grid { grid-template-columns: .8fr 1.2fr; }
  .about-grid { grid-template-columns: 1fr 1.15fr; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects disabled
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .cta-band::before { animation: none; }
  /* Reveals, hovers, underlines, count-ups still run — just instant via transition-duration below */
  [data-reveal] { transition-duration: .25s; }
}
