:root {
  --burgundy: #76132b;
  --burgundy-dark: #4b0d1d;
  --charcoal: #24242a;
  --ink: #141417;
  --muted: #6b7078;
  --line: #ded9d2;
  --paper: #fbfaf7;
  --ivory: #f2efe9;
  --teal: #276f66;
  --gold: #bd9656;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(20, 20, 23, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 92px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 3vw, 3rem);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(222, 217, 210, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 12px 34px rgba(20, 20, 23, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 54px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: #3e4147;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.main-nav a {
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-cta {
  padding: 0.78rem 1rem;
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 10px 26px rgba(118, 19, 43, 0.22);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  padding: clamp(7rem, 15vh, 10rem) clamp(1.25rem, 5vw, 5rem) clamp(4rem, 10vh, 6rem);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.92) 0%, rgba(20, 20, 23, 0.78) 42%, rgba(20, 20, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 16, 20, 0.68), rgba(15, 16, 20, 0.12)),
    url("assets/campaign-portrait.png") top right / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--teal));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-content h2,
.cta-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 6.25rem;
  line-height: 0.94;
}

.hero-copy {
  max-width: 660px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.primary-button {
  padding: 0.95rem 1.15rem;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 16px 40px rgba(39, 111, 102, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #1e5f57;
  transform: translateY(-2px);
}

.secondary-button {
  padding: 0.92rem 1.1rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 2.8rem 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics div {
  padding: 1rem;
  background: rgba(20, 20, 23, 0.28);
}

.hero-metrics dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.hero-metrics dd {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.notice-band {
  background: var(--burgundy-dark);
  color: var(--white);
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 112px;
  padding: 1.6rem 0;
}

.notice-grid p,
.notice-grid strong {
  margin: 0;
}

.notice-grid p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.notice-grid strong {
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.section-block {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: 2.2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.about-content h2,
.cta-section h2 {
  color: var(--charcoal);
  font-size: 3.8rem;
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 300px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(20, 20, 23, 0.06);
}

.card-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  color: var(--burgundy);
  border: 1px solid rgba(118, 19, 43, 0.22);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.service-card h3,
.values-grid h3,
.process-list h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p,
.values-grid p,
.process-list p,
.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.exam-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--charcoal), #353942 58%, var(--teal));
  box-shadow: var(--shadow);
}

.exam-panel h3 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1.1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.55rem 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 540px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #d9d5cf;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center top;
}

.about-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(20, 20, 23, 0.72);
  backdrop-filter: blur(12px);
}

.about-media figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.about-media figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-content > p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #4e535b;
  font-size: 1.04rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.values-grid article {
  min-height: 180px;
  padding: 1.25rem;
  border: 1px solid rgba(118, 19, 43, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 260px;
  padding: 1.25rem;
  border-top: 3px solid var(--burgundy);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 20, 23, 0.06);
}

.process-list span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  color: var(--white);
  border-radius: 50%;
  background: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.cta-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: var(--white);
  background: var(--charcoal);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-section h2 {
  max-width: 820px;
  color: var(--white);
}

.primary-button.light {
  color: var(--charcoal);
  background: var(--white);
  box-shadow: none;
}

.primary-button.light:hover,
.primary-button.light:focus-visible {
  background: var(--ivory);
}

.faq-section {
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(20, 20, 23, 0.04);
}

.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  color: var(--charcoal);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  color: var(--burgundy);
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 1.25rem 1.15rem;
}

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  background: #17171b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-grid img {
  width: min(240px, 80vw);
  margin-bottom: 1.2rem;
  background: var(--white);
  border-radius: 8px;
}

.footer-grid p {
  margin: 0.25rem 0;
}

.footer-grid address {
  display: grid;
  gap: 0.7rem;
  font-style: normal;
  text-align: right;
}

.footer-grid a {
  color: var(--white);
  font-weight: 800;
}

.legal-copy {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

.legal-copy p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 40;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 18px 46px rgba(39, 111, 102, 0.32);
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .section-heading,
  .notice-grid,
  .exam-panel,
  .about-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .notice-grid strong {
    max-width: none;
    font-size: 1.35rem;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .section-heading h2,
  .about-content h2,
  .cta-section h2 {
    font-size: 2.8rem;
  }

  .exam-panel h3 {
    font-size: 1.8rem;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-grid .primary-button,
  .footer-grid address {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    gap: 0.75rem;
  }

  .brand img {
    height: 46px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0.68rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 88svh;
    padding: 7rem 1rem 3.5rem;
    background:
      linear-gradient(90deg, rgba(15, 16, 20, 0.94), rgba(20, 20, 23, 0.72)),
      linear-gradient(0deg, rgba(15, 16, 20, 0.8), rgba(15, 16, 20, 0.18)),
      url("assets/campaign-portrait.png") top center / cover no-repeat;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .section-heading h2,
  .about-content h2,
  .cta-section h2 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics,
  .service-grid,
  .process-list,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 1.8rem;
  }

  .hero-metrics div,
  .service-card,
  .process-list li {
    min-height: auto;
  }

  .card-index,
  .process-list span {
    margin-bottom: 1.5rem;
  }

  .about-media,
  .about-media img {
    min-height: 360px;
  }

  .floating-whatsapp {
    right: 1rem;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
