:root {
  --primary: #581E2A;
  --gold: #D4AF37;
  --gold-light: #F5E6A8;
  --cream: #FAF7E4;
  --accent: #E79C96;
  --white: #FFFFFF;
  --ink: #2D1820;
  --muted: #6E5960;
  --line: rgba(88, 30, 42, 0.16);
  --shadow: 0 22px 50px rgba(88, 30, 42, 0.12);
  --header-purple: #581E2A;
  --header-gold: #F2D77B;
  --title-font: "Atteron", "Cormorant Garamond", Georgia, serif;
  --body-font: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 4px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(88, 30, 42, 0.97);
  border-bottom: 1px solid rgba(242, 215, 123, 0.4);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand strong {
  display: block;
  color: var(--header-gold);
  font-family: var(--title-font);
  font-size: 1.18rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: #FFF4C9;
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1rem;
}

.nav-links a {
  color: var(--header-gold);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.text-link:hover {
  color: #8B3343;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(242, 215, 123, 0.72);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--header-gold);
}

.site-header .header-cta {
  color: var(--header-purple);
  background: var(--header-gold);
  border: 1px solid var(--header-gold);
  box-shadow: 0 10px 22px rgba(20, 7, 28, 0.28);
}

.site-header .header-cta:hover {
  color: var(--white);
  background: transparent;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: 0;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(88, 30, 42, 0.16);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.button-large {
  min-height: 56px;
  padding: 1rem 1.45rem;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.hero-content,
.section-heading {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--title-font);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.05rem, 14vw, 5.9rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.3rem, 9vw, 4.2rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 1rem 0 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.trust-note {
  color: var(--primary);
  font-weight: 600;
}

.hero-media {
  align-self: end;
}

.section,
.final-cta,
.site-footer {
  padding: 4rem max(16px, calc((100% - 1160px) / 2));
}

.section-light {
  background: var(--white);
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-grid,
.area-grid {
  grid-template-columns: minmax(0, 1fr);
}

.portrait-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.credential {
  color: var(--primary);
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.info-card,
.service-card,
.testimonial-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card,
.service-card,
.testimonial-card {
  padding: 1.35rem;
}

.section-light .service-card,
.section-light .testimonial-card {
  background: var(--cream);
}

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-card {
  border-top: 4px solid var(--accent);
}

.text-link {
  display: inline-flex;
  margin-top: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.map-card {
  min-height: 300px;
  padding: 2rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(88, 30, 42, 0.92), rgba(88, 30, 42, 0.72)),
    radial-gradient(circle at 70% 20%, var(--accent), transparent 32%),
    var(--primary);
}

.map-card span {
  display: block;
  font-family: var(--title-font);
  font-size: 2.2rem;
  line-height: 1;
}

.map-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.map-card li {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.testimonial-card p {
  margin-top: 0;
  color: var(--muted);
  font-style: italic;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--primary);
}

.review-source {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.final-cta {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  color: var(--white);
  background: var(--primary);
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  display: grid;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  background: #2B1017;
}

.site-footer div {
  display: grid;
  gap: 0.3rem;
}

.site-footer strong {
  color: var(--white);
  font-family: var(--title-font);
  font-size: 1.45rem;
}

.site-footer address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.site-footer a {
  color: var(--gold-light);
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #128C4A;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(12, 72, 35, 0.34);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  isolation: isolate;
}

.floating-whatsapp::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  content: "";
  background: rgba(37, 211, 102, 0.48);
  border-radius: inherit;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

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

.floating-whatsapp:hover {
  background: #0E743D;
  box-shadow: 0 18px 38px rgba(12, 72, 35, 0.42);
  transform: translateY(-3px) scale(1.04);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid var(--header-purple);
  outline-offset: 3px;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.72;
    transform: scale(1);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.48);
  }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex: 0 0 100%;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(242, 215, 123, 0.34);
  }

  .nav-links.is-open {
    display: grid;
  }

  .header-cta {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::before {
    animation: none;
  }
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    padding-top: 4rem;
  }

  .about-grid,
  .area-grid,
  .final-cta,
  .site-footer {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .final-cta .button {
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .hero {
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
}

@media (max-width: 420px) {
  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .map-card ul {
    grid-template-columns: 1fr;
  }
}
