/* ============================================
   ALFA DENTAL CLINIC — Editorial Magazine Style
   EB Garamond + Josefin Sans | Warm Ivory Palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Josefin+Sans:wght@300;400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:           #f8f5f0;
  --surface:      #eee9e2;
  --accent:       #b8402a;
  --accent-hover: #d04a32;
  --text:         #1c1c1c;
  --text-muted:   #6b6560;
  --border:       #d4cfc8;
  --white:        #ffffff;

  --font-head: 'EB Garamond', serif;
  --font-body: 'Josefin Sans', sans-serif;

  --gap: clamp(1rem, 4vw, 3rem);
  --section-pad: clamp(3rem, 8vw, 7rem);
  --container: 1280px;
  --radius: 2px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { font-size: clamp(0.9rem, 1.5vw, 1rem); line-height: 1.75; color: var(--text-muted); }

.overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ── Horizontal Rule ── */
.rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}
.rule--thick { height: 2px; background: var(--text); }
.rule--accent { height: 3px; background: var(--accent); width: 3rem; }


/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--text); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  gap: 1.25rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--surface);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}


/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  white-space: nowrap;
  border-radius: var(--radius);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--bg); }

.btn--wa {
  background: #25D366;
  color: var(--white);
}
.btn--wa:hover { background: #1fb855; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
}
.btn--ghost:hover { background: var(--accent); color: var(--white); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }


/* ================================================
   STICKY BOTTOM BAR (CTA)
   ================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--text);
  color: var(--white);
  padding: 0.75rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar__text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
.sticky-bar__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.sticky-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.sticky-bar a.call { background: var(--white); color: var(--text); }
.sticky-bar a.call:hover { background: var(--surface); }
.sticky-bar a.whatsapp { background: #25D366; color: var(--white); }
.sticky-bar a.whatsapp:hover { background: #1fb855; }
.sticky-bar a svg { width: 14px; height: 14px; }

@media (max-width: 480px) {
  .sticky-bar__text { display: none; }
  .sticky-bar { justify-content: center; }
  .sticky-bar__actions { gap: 0.5rem; }
}


/* ================================================
   PAGE HEADER (nav offset)
   ================================================ */
.page-top { padding-top: 64px; }


/* ================================================
   HERO — Split Half Layout
   ================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  padding-top: calc(64px + clamp(2rem, 6vw, 4rem));
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.hero__issue {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__issue::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--border);
}

.hero__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-size: 0.65em;
  display: block;
  letter-spacing: 0.05em;
}

.hero__sub {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 360px;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 15%);
  pointer-events: none;
}

.hero__label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--text);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}


/* ================================================
   SECTION HEADER
   ================================================ */
.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-header__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-header__line { flex: 1; height: 1px; background: var(--border); }
.section-header h2 { color: var(--text); }
.section-header p {
  margin-top: 1rem;
  max-width: 540px;
  font-size: 0.9rem;
}


/* ================================================
   ABOUT SECTION
   ================================================ */
.about {
  padding: var(--section-pad) 0;
  border-top: 2px solid var(--text);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about__image:hover img { transform: scale(1.03); }
.about__image-caption {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 160px;
  line-height: 1.4;
}

.about__content { display: flex; flex-direction: column; gap: 1.5rem; }
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
.about__feature {
  padding: 1.25rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.about__feature-icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.about__feature-title {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.about__feature-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ================================================
   SERVICES — Photo-Top Cards
   ================================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}

.service-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}
.service-card:hover { z-index: 2; transform: scale(1.01); }

.service-card__photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__photo img { transform: scale(1.06); }

.service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-card__num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--text);
}
.service-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.service-card__cta {
  margin-top: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card__cta::after {
  content: '→';
  transition: transform 0.2s;
}
.service-card:hover .service-card__cta::after { transform: translateX(4px); }


/* ================================================
   TEAM SECTION
   ================================================ */
.team {
  padding: var(--section-pad) 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.team-card {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.85);
  transition: filter 0.4s, transform 0.5s;
}
.team-card:hover .team-card__photo img { filter: saturate(1); transform: scale(1.04); }

.team-card__info {
  padding: 1rem 0.75rem;
}
.team-card__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text);
}
.team-card__role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.3rem;
}


/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--text);
  color: var(--white);
}

.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header__line { background: rgba(255,255,255,0.15); }
.testimonials .overline { color: #b8d4be; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--text);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-card__text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-top: 1.5rem;
}
.testimonial-card__source {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}


/* ================================================
   GALLERY — Before/After
   ================================================ */
.gallery {
  padding: var(--section-pad) 0;
}

.gallery__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}
.gallery__intro-cta { text-align: right; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}

.ba-item {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.ba-item__photo {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.ba-item__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ba-item:hover .ba-item__photo img { transform: scale(1.05); }

.ba-item__label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--text);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ba-item__label--after { background: var(--accent); }

.ba-item__caption {
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ================================================
   CONTACTS PAGE
   ================================================ */
.contacts-hero {
  padding-top: 64px;
  background: var(--text);
  color: var(--white);
  padding-bottom: 0;
}

.contacts-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
}

.contacts-hero__left {
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
}
.contacts-hero__left h1 { color: var(--white); }
.contacts-hero__left .overline { color: rgba(255,255,255,0.5); }
.contacts-hero__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.contacts-hero__right {
  background: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  gap: 2rem;
}

.contact-item { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-item__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact-item__value {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.contact-item__value a { color: var(--white); transition: opacity 0.2s; }
.contact-item__value a:hover { opacity: 0.8; }

.contacts-body {
  padding: var(--section-pad) 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contacts-map {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.contacts-map iframe {
  width: 100%; height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}
.contacts-map__placeholder {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.contacts-info { display: flex; flex-direction: column; gap: 2rem; }

.info-block { display: flex; flex-direction: column; gap: 0.5rem; }
.info-block__title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.info-block__value {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text);
}
.info-block__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-block {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 3px solid var(--accent);
}
.cta-block__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.cta-block p { font-size: 0.85rem; }
.cta-block__btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 calc(3rem + 56px);
  border-top: 3px solid var(--accent);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__logo img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
}
.footer__logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.footer__tagline {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer__col h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}
.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__bottom a:hover { color: var(--white); }


/* ================================================
   SCROLL REVEAL ANIMATIONS
   Elements are always visible. JS adds slide-in animation
   only when IntersectionObserver fires — never hides content.
   ================================================ */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.animate-in {
  animation: slideInUp 0.7s ease both;
}
.reveal--left.animate-in {
  animation: slideInLeft 0.7s ease both;
}
.reveal--delay-1.animate-in { animation-delay: 0.1s; }
.reveal--delay-2.animate-in { animation-delay: 0.2s; }
.reveal--delay-3.animate-in { animation-delay: 0.3s; }
.reveal--delay-4.animate-in { animation-delay: 0.4s; }

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.card-animate-in {
  animation: cardFadeUp 0.5s ease both;
}
@keyframes cardFadeUp {
  from { opacity: 0.3; transform: translateY(16px); }
  to   { opacity: 1;   transform: translateY(0); }
}


/* ================================================
   PAGE HEADER (inner pages)
   ================================================ */
.page-header {
  padding-top: 64px;
  padding-bottom: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--text);
}
.page-header__inner {
  padding: clamp(2rem, 5vw, 4rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-header h1 { color: var(--text); }
.page-header__sub { font-size: 0.9rem; max-width: 500px; }

.page-content { padding: var(--section-pad) 0; }


/* ================================================
   UTILITY
   ================================================ */
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }


/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__right {
    height: 50vw;
    min-height: 320px;
  }
  .hero__right::after { background: linear-gradient(to bottom, var(--bg) 0%, transparent 20%); }
  .hero__left { padding-top: calc(64px + 2rem); }

  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__image { aspect-ratio: 16/9; }
  .about__features { grid-template-columns: repeat(2, 1fr); }

  .team__grid { grid-template-columns: repeat(3, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .contacts-hero__inner { grid-template-columns: 1fr; }
  .contacts-hero__right { padding: 2rem; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .contacts-grid { grid-template-columns: 1fr; }

  .gallery__intro { grid-template-columns: 1fr; gap: 1rem; }
  .gallery__intro-cta { text-align: left; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__stats { gap: 1.25rem; flex-wrap: wrap; }

  .services__grid { grid-template-columns: 1fr; }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials__grid { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .about__features { grid-template-columns: 1fr; }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .ba-grid { grid-template-columns: 1fr; }
  .ba-item__photo { aspect-ratio: 4/3; }

  .cta-block__btns { flex-direction: column; }
  .cta-block__btns .btn { justify-content: center; }
}
