/* ============================================
   ESTUDIO JURÍDICO NOELIA ROSAS — v2
   Editorial Minimal — Claro, Elegante, Moderno
   ============================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --cream:        hsl(38, 30%, 96%);
  --cream-mid:    hsl(38, 20%, 92%);
  --cream-dark:   hsl(38, 15%, 86%);
  --wine:         hsl(346, 60%, 28%);
  --wine-light:   hsl(346, 50%, 38%);
  --wine-pale:    hsl(346, 40%, 95%);
  --gold:         hsl(40, 65%, 48%);
  --gold-light:   hsl(40, 70%, 62%);
  --charcoal:     hsl(220, 15%, 12%);
  --charcoal-mid: hsl(220, 12%, 28%);
  --text-muted:   hsl(220, 8%, 52%);
  --border:       hsl(220, 10%, 88%);
  --white:        #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --max-w: 1180px;
  --nav-h: 80px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --in-oklab: ;
}
@supports (background: linear-gradient(in oklab, white, black)) {
  :root { --in-oklab: in oklab; }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--wine);
}

.heading-xl {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
}
.heading-lg {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}
.heading-md {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--charcoal);
}

.lead {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--charcoal-mid);
}

/* Reveal */
.reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.65s var(--ease), translate 0.65s var(--ease);
}
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.8em 1.8em;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn-wine {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}
.btn-wine:hover {
  background: var(--wine-light);
  border-color: var(--wine-light);
  box-shadow: 0 6px 20px hsl(346 60% 28% / 0.3);
  translate: 0 -2px;
}

.btn-outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}
.btn-outline:hover {
  background: var(--wine);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

.btn-wsp {
  background: hsl(142 60% 40%);
  color: var(--white);
  border-color: hsl(142 60% 40%);
}
.btn-wsp:hover {
  background: hsl(142 60% 35%);
  box-shadow: 0 6px 20px hsl(142 55% 35% / 0.35);
  translate: 0 -2px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.shadow { box-shadow: 0 2px 20px hsl(0 0% 0% / 0.07); }

.navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.navbar__logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--wine-pale);
  outline: 1.5px solid var(--wine);
  outline-offset: 2px;
}
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar__logo-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}
.navbar__logo-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.navbar__nav { margin-inline-start: auto; }
.navbar__list { display: flex; gap: 2rem; align-items: center; }
.navbar__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  letter-spacing: 0.02em;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.navbar__cta { margin-inline-start: 1rem; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-inline-start: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 199;
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-inline-start 0.2s;
}
.mobile-nav__link:hover { color: var(--wine); padding-inline-start: 1rem; }
.mobile-nav__cta { margin-top: 1rem; }

/* ---------- PAGE WRAPPER ---------- */
.page { padding-top: var(--nav-h); }

/* ---------- HOME HERO ---------- */
.home-hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-block: 4rem;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--charcoal); /* fallback */
}
.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: blur(1.5px) brightness(0.9);
  transform: scale(1.02); /* hide blurred edges */
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  /* Cream gradient from left to right to ensure text readability while letting photo show */
  background: linear-gradient(to right, 
    var(--cream) 0%, 
    hsl(38 30% 96% / 0.7) 45%, 
    hsl(38 30% 96% / 0.15) 100%);
}

.home-hero__container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding-block: 2rem;
}
.home-hero__eyebrow { margin-bottom: 1.5rem; }
.home-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.home-hero__title span {
  color: var(--wine);
  font-style: italic;
}
.home-hero__lead {
  margin-bottom: 2.5rem;
  max-width: 420px;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.home-hero__strip {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.home-hero__strip-item { display: flex; flex-direction: column; gap: 0.2rem; }
.home-hero__strip-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wine);
  line-height: 1;
}
.home-hero__strip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* visual elements removed */

/* ---------- HOME: SERVICES PREVIEW ---------- */
.preview {
  padding-block: 6rem;
  background: var(--white);
}
.preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.preview__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.preview-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.25s;
  cursor: default;
}
.preview-item:hover { background: var(--wine-pale); }
.preview-item:hover .preview-item__icon { background: var(--wine); color: var(--white); }
.preview-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  transition: background 0.25s, color 0.25s;
}
.preview-item__icon svg { width: 1.1rem; height: 1.1rem; }
.preview-item__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.preview-item__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

/* ---------- HOME: ABOUT STRIP ---------- */
.about-strip {
  padding-block: 6rem;
  background: var(--cream);
}
.about-strip__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: center;
}
.about-strip__imgs {
  display: block;
}
.about-strip__img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.1);
}
.about-strip__img img {
  width: 100%; height: auto;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.about-strip__img:hover img { transform: scale(1.03); }

.about-strip__body { display: flex; flex-direction: column; gap: 1.5rem; }
.about-strip__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--wine);
  border-left: 3px solid var(--wine);
  padding-left: 1.25rem;
  line-height: 1.6;
}

/* ---------- HOME: CTA BANNER ---------- */
.cta-banner {
  background: var(--wine);
  padding-block: 4rem;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner__text {}
.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-banner__sub {
  font-size: 0.95rem;
  color: hsl(346 60% 80%);
}
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-white {
  background: var(--white);
  color: var(--wine);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  translate: 0 -2px;
  box-shadow: 0 6px 20px hsl(0 0% 0% / 0.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: hsl(0 0% 100% / 0.4);
}
.btn-outline-white:hover {
  background: hsl(0 0% 100% / 0.1);
  border-color: var(--white);
}

/* ============================================
   PAGE: NOSOTROS
   ============================================ */
.page-hero {
  background: var(--cream);
  padding-block: 5rem 4rem;
  border-bottom: 1px solid var(--cream-dark);
}
.page-hero__inner { max-width: 720px; }
.page-hero__title { margin-block: 1rem 1.5rem; }

/* About page grid & photo */
.about-page { padding-block: 5rem; }
.about-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-page__gallery {
  display: block;
}
.about-page__photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.1);
}
.about-page__photo img {
  width: 100%; height: auto;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.about-page__photo:hover img { transform: scale(1.03); }

.about-page__body { display: flex; flex-direction: column; gap: 2rem; }
.about-page__text { line-height: 1.8; color: var(--charcoal-mid); }
.about-page__text + .about-page__text { margin-top: -1rem; }

/* Values */
.values { padding-block: 5rem; background: var(--cream); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  border-top: 3px solid var(--wine);
  transition: box-shadow 0.25s, translate 0.25s var(--ease);
}
.value-card:hover {
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.08);
  translate: 0 -4px;
}
.value-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.value-card__text { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }

/* ============================================
   PAGE: SERVICIOS
   ============================================ */
.services-page { padding-block: 5rem; }
.services-page__list { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { background: var(--wine-pale); margin-inline: -1.5rem; padding-inline: 1.5rem; border-radius: 4px; }

.service-row__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  padding-top: 0.2rem;
}
.service-row__body {}
.service-row__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.service-row__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--wine-pale);
  padding: 0.25em 0.7em;
  border-radius: 2px;
}
.service-row__desc { font-size: 0.9rem; line-height: 1.75; color: var(--charcoal-mid); max-width: 600px; }
.service-row__action { padding-top: 0.5rem; }

/* FAQ / Info sidebar */
.services-sidebar {
  padding-block: 5rem;
  background: var(--cream);
}
.services-sidebar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.services-sidebar__img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.services-sidebar__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.info-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--wine);
}
.info-item__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wine-pale);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item__icon svg { width: 0.9rem; height: 0.9rem; }
.info-item__title { font-weight: 700; font-size: 0.875rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.info-item__text { font-size: 0.82rem; line-height: 1.6; color: var(--text-muted); }

/* ============================================
   PAGE: CONTACTO
   ============================================ */
.contact-page { padding-block: 5rem; }
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-methods { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 2rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.25s, translate 0.25s var(--ease);
}
.contact-method:last-child { border-bottom: none; }
a.contact-method:hover {
  opacity: 0.8;
  translate: 4px 0;
}
.contact-method__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method__icon svg { width: 1.1rem; height: 1.1rem; }
.contact-method__icon--wsp   { background: hsl(142 60% 40% / 0.1); color: hsl(142 55% 35%); }
.contact-method__icon--mail  { background: hsl(40 65% 48% / 0.1);  color: var(--gold);       }
.contact-method__icon--map   { background: var(--wine-pale);         color: var(--wine);       }
.contact-method__icon--ig    { background: hsl(315 60% 50% / 0.1); color: hsl(315 55% 45%);  }

.contact-method__body { flex: 1; min-width: 0; }
.contact-method__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}
.contact-method__value {
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--charcoal);
}
.contact-method__arrow {
  display: none;
}

.contact-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-img {
  border-radius: 4px;
  overflow: hidden;
}
.contact-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.contact-img-cap {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: 0 0 4px 4px;
  margin-top: -0.1rem;
}
.contact-img-cap svg { width: 0.9rem; height: 0.9rem; color: var(--wine); flex-shrink: 0; }

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 16px hsl(0 0% 0% / 0.05);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

.contact-office-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.contact-office-img img { width: 100%; height: 100%; object-fit: cover; }

.hours-box {
  background: var(--wine);
  border-radius: 4px;
  padding: 2rem;
  color: var(--white);
}
.hours-box__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.hours-row span:first-child { color: hsl(346 60% 80%); }
.hours-row span:last-child { font-weight: 600; }
.hours-sep { border: none; border-top: 1px solid hsl(346 60% 40%); margin-block: 0.75rem; }

/* ============================================
   FOOTER (shared)
   ============================================ */
.footer {
  background: var(--charcoal);
  padding-block: 4rem 1.5rem;
  color: hsl(220 15% 70%);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid hsl(220 15% 22%);
  margin-bottom: 1.5rem;
}
.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer__brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: hsl(220 15% 55%);
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer__social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid hsl(220 15% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220 15% 55%);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__social-btn:hover {
  border-color: var(--wine-light);
  color: var(--wine-light);
  background: hsl(346 50% 30% / 0.1);
}
.footer__social-btn svg { width: 0.9rem; height: 0.9rem; }

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link {
  font-size: 0.875rem;
  color: hsl(220 15% 55%);
  transition: color 0.2s, padding-inline-start 0.2s;
}
.footer__link:hover { color: var(--white); padding-inline-start: 0.3rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(220 15% 40%);
}
.footer__dev { color: hsl(220 15% 35%); font-size: 0.7rem; }

/* ---------- FLOATING WSP ---------- */
.wsp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 3.25rem;
  height: 3.25rem;
  background: hsl(142 55% 38%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px hsl(142 55% 35% / 0.5);
  transition: background 0.25s, scale 0.25s, box-shadow 0.25s;
  animation: fabIn 0.5s var(--ease) 0.8s both;
}
.wsp-fab svg { width: 1.6rem; height: 1.6rem; }
.wsp-fab:hover {
  background: hsl(142 55% 32%);
  scale: 1.1;
  box-shadow: 0 8px 28px hsl(142 55% 30% / 0.55);
}
.wsp-fab__tip {
  position: absolute;
  right: calc(100% + 0.75rem);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wsp-fab__tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  translate: 0 -50%;
  border: 5px solid transparent;
  border-left-color: var(--charcoal);
}
.wsp-fab:hover .wsp-fab__tip { opacity: 1; }

@keyframes fabIn {
  from { opacity: 0; scale: 0; }
  to   { opacity: 1; scale: 1; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: 0; transition: none; }
  .wsp-fab { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .home-hero__content { padding: 4rem 2.5rem 4rem 1.5rem; }
  .preview__list { grid-template-columns: repeat(2, 1fr); }
  .about-strip__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-strip__imgs { max-width: 500px; }
  .services-sidebar__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .burger { display: flex; }

  .home-hero {
    min-height: calc(100dvh - var(--nav-h));
    padding-block: 2rem;
  }
  .home-hero__overlay {
    /* More solid overlay on mobile to keep text readable */
    background: linear-gradient(to bottom, 
      hsl(38 30% 96% / 0.95) 0%, 
      hsl(38 30% 96% / 0.85) 60%, 
      hsl(38 30% 96% / 0.6) 100%);
  }
  .home-hero__content {
    padding: 2rem 0;
    max-width: 100%;
  }

  .preview__header { flex-direction: column; align-items: flex-start; }
  .preview__list { grid-template-columns: 1fr; }

  .about-page__grid { grid-template-columns: 1fr; }
  .about-page__gallery { grid-template-columns: 1fr 1fr; }

  .values__grid { grid-template-columns: 1fr; }

  .service-row { grid-template-columns: 60px 1fr; }
  .service-row__action { grid-column: 2; }

  .contact-page__grid { grid-template-columns: 1fr; }

  .cta-banner__inner { flex-direction: column; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .home-hero__strip { gap: 1.5rem; }
  .about-page__gallery { grid-template-columns: 1fr; }
  .about-page__photo:nth-child(1) { aspect-ratio: 4/3; }
  .about-page__photo:nth-child(3) { margin-top: 0; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__num { font-size: 1.5rem; }
}
