:root {
  --bg: #faf6ef;
  --text: #231d17;
  --muted: #6b5d4f;
  --accent: #9c7a3c;
  --accent-600: #7c5f2c;
  --card: #ffffff;
  --border: rgba(156, 122, 60, 0.18);
  --dark: #0f0d0b;
  --dark-text: #f3ecdf;
  --dark-muted: #c9bca6;
  --radius: 14px;
  --shadow: 0 18px 44px -20px rgba(35, 29, 23, 0.28);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0a08;
  --text: #f3ecdf;
  --muted: #b7a98f;
  --accent: #d7a94e;
  --accent-600: #f0c46e;
  --card: #2c2721;
  --border: rgba(215, 169, 78, 0.22);
  --dark: #050403;
  --dark-text: #f3ecdf;
  --dark-muted: #b7a98f;
  --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

body {
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1360px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-600);
  color: #fff;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-600) 85%, black);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
:root[data-theme="dark"] .btn-primary {
  background: var(--accent);
  color: #1b1509;
}
:root[data-theme="dark"] .btn-primary:hover {
  background: var(--accent-600);
  color: #1b1509;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-600);
}
.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}
:root[data-theme="dark"] .navbar {
  background: rgba(11, 10, 8, 0.82);
}
:root[data-theme="dark"] .nav-logo img {
  filter: invert(1) brightness(1.6);
}
:root[data-theme="dark"] .footer-logo {
  filter: invert(1) brightness(1.6);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link-item:hover {
  color: var(--accent-600);
}
.nav-cta-mobile {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  margin: 0 auto;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  line-height: 0;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
}
.theme-toggle:hover {
  border-color: var(--accent);
  transform: rotate(12deg);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
}
.theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-content {
  max-width: 640px;
}
.hero-media {
  position: relative;
  justify-self: center;
}
.hero-photo-card {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--card);
}
.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-caption {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: var(--shadow);
  width: max-content;
  max-width: 320px;
}
.hero-photo-caption strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
  white-space: nowrap;
}
.hero-photo-caption span {
  font-size: 0.78rem;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(156, 122, 60, 0.12);
  color: var(--accent-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item strong {
  font-size: 0.95rem;
  display: block;
}
.trust-item span {
  font-size: 0.82rem;
  color: var(--muted);
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.trust-icon {
  display: flex;
  width: 15px;
  height: 15px;
  color: var(--accent-600);
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: rgba(156, 122, 60, 0.12);
  box-sizing: content-box;
}

/* Sections */
.section {
  padding: 88px 0;
}
.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}
.kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
}
.kicker-light {
  color: var(--accent);
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  max-width: 640px;
}
.section-title-light {
  color: var(--dark-text);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}
.section-lead-light {
  color: var(--dark-muted);
}

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
@media (max-width: 1100px) and (min-width: 961px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .area-card-featured {
    grid-column: 1 / -1;
  }
}
.area-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.areas-grid .area-card:hover {
  z-index: 2;
  transform: translateY(-8px) scale(1.06);
  box-shadow: var(--shadow);
  border-color: rgba(156, 122, 60, 0.5);
}
.area-card-featured {
  background: linear-gradient(165deg, #fff, #fbf3e4);
  border-color: rgba(156, 122, 60, 0.35);
  box-shadow: var(--shadow);
}
.areas-grid .area-card-featured:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 26px 54px -22px rgba(156, 122, 60, 0.45);
}
.area-card .area-list li {
  transition: transform 0.25s ease;
}
.areas-grid .area-card:hover .area-list li {
  transform: translateX(3px);
}
:root[data-theme="dark"] .area-card,
:root[data-theme="dark"] .faq-item {
  border-color: rgba(215, 169, 78, 0.3);
}
:root[data-theme="dark"] .area-card-featured {
  background: linear-gradient(165deg, rgba(215, 169, 78, 0.18), #28231d 55%);
  border-color: rgba(215, 169, 78, 0.45);
}
:root[data-theme="dark"] .area-tag {
  color: #1b1509;
  background: var(--accent);
}
.area-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-600);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.area-card h3 {
  font-size: 1.35rem;
}
.area-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.area-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--text);
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Quote block */
.quote-block {
  max-width: 820px;
  margin: 40px 0 0;
  position: relative;
  padding-left: 8px;
}
.quote-mark {
  font-family: "Fraunces", serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: -14px;
}
.quote-text {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--dark-text);
}
.quote-text strong {
  color: var(--accent);
}
.quote-source {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--dark-muted);
}

/* Sobre */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sobre-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sobre-gallery img {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* FAQ */
.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
  overflow: hidden;
}

/* CTA section */
.section-cta {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: grayscale(0.3);
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta-content .btn {
  margin-top: 12px;
}

/* Footer */
.footer {
  background: #f1e9da;
  padding: 56px 0 0;
  border-top: 1px solid var(--border);
  transition: background 0.35s ease;
}
:root[data-theme="dark"] .footer {
  background: #0e0b07;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 57px;
  margin-bottom: 12px;
}
.footer-brand p,
.footer-col p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.footer-col strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-col a {
  color: var(--accent-600);
  font-weight: 600;
}
.footer-note {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  text-align: center;
}
.footer-note p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ================= Responsive ================= */

/* Tablet / narrow desktop */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height, 84px);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-inline: 24px;
    max-height: 0;
    overflow: hidden;
  }
  .nav-links.is-open {
    max-height: 420px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  .nav-links.is-open li {
    opacity: 1;
    transform: none;
  }
  .nav-links.is-open li:nth-child(1) {
    transition-delay: 0.06s;
  }
  .nav-links.is-open li:nth-child(2) {
    transition-delay: 0.12s;
  }
  .nav-links.is-open li:nth-child(3) {
    transition-delay: 0.18s;
  }
  .nav-links.is-open li:nth-child(4) {
    transition-delay: 0.24s;
  }
  .nav-links.is-open li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .nav-link-item {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-cta-mobile {
    display: block;
    padding: 18px 0 22px;
  }
  .nav-cta-mobile .btn {
    width: 100%;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-media {
    order: -1;
    justify-self: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sobre-gallery {
    order: -1;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Phone */
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 44px 0 40px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .trust-divider {
    display: none;
  }
  .trust-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-media {
    width: 300px;
    margin: 0 auto;
  }
  .hero-photo-card {
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-photo-caption {
    left: -8px;
    bottom: -14px;
    max-width: 210px;
    text-align: left;
  }
  .hero-photo-caption strong {
    font-size: 0.8rem;
    white-space: normal;
  }
  .hero-photo-caption span {
    display: none;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  .quote-text {
    font-size: 1.1rem;
  }
  .quote-mark {
    font-size: 3.6rem;
  }
  .sobre-gallery {
    grid-template-columns: 1fr;
  }
  .sobre-gallery img {
    aspect-ratio: 16/10;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cta-content .btn {
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .nav-logo img {
    height: 44px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}
