:root {
  --bg: #edf4f4;
  --surface: #ffffff;
  --text: #223136;
  --muted: #5f6f74;
  --primary: #426266;
  --primary-dark: #2f4b4f;
  --accent-start: #8b6f53;
  --accent-end: #c2a98a;
  --border: #d8e4e4;
  --shadow: 0 14px 40px rgba(34, 49, 54, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-height: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(237, 244, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.topbar.scrolled {
  box-shadow: 0 8px 24px rgba(34, 49, 54, 0.08);
  border-color: rgba(66, 98, 102, 0.12);
  background: rgba(237, 244, 244, 0.98);
}

.topbar-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--primary-dark);
}

.brand img {
  margin-top: 5px;
  width: 255px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.34rem 0.52rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: rgba(66, 98, 102, 0.12);
  color: var(--primary-dark);
  outline: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(66, 98, 102, 0.2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 8px 24px rgba(139, 111, 83, 0.25);
}

.btn-secondary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(66, 98, 102, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
}

main {
  padding-top: 0.6rem;
}

section {
  padding-block: clamp(2.6rem, 4vw, 4.5rem);
}

.hero {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.hero-grid {
  display: grid;
  gap: 1.35rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  font-size: 0.79rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.18;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
  max-width: 65ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.2rem;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-points li {
  background: #f7fbfb;
  border: 1px solid #e6efef;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
}

.section-head {
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  gap: 0.9rem;
  grid-auto-rows: 1fr;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(66, 98, 102, 0.12);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
}

.faq p {
  margin-top: 0.6rem;
}

.breadcrumbs {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.4rem;
}

.testimonials {
  display: grid;
  gap: 0.9rem;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.rating {
  color: #b08d58;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.cta {
  background: linear-gradient(135deg, rgba(139, 111, 83, 0.12), rgba(194, 169, 138, 0.18));
  border-top: 1px solid rgba(139, 111, 83, 0.25);
  border-bottom: 1px solid rgba(139, 111, 83, 0.25);
}

.map-wrap iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer {
  background: #1f2f33;
  color: #d9e5e5;
  margin-top: 1.5rem;
}

.footer .container {
  padding-block: 2.4rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer h3 {
  color: #f2f8f8;
  margin-bottom: 0.6rem;
}

.footer p,
.footer a {
  color: #d9e5e5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.copyright {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(217, 229, 229, 0.18);
  padding-top: 0.95rem;
  font-size: 0.84rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1fb65a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(20, 114, 58, 0.32);
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  transition: opacity 0.72s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-up {
  transform: translateY(24px);
}

.reveal-down {
  transform: translateY(-24px);
}

.fade-out {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
} 

@media (max-width: 900px) {
  .brand img {
    width: 175px; 
    height: 52px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-block: 0.45rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    width: 100%;
    display: none;
    background: #f8fcfc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.56rem 0.65rem;
  }
}

@media (min-width: 980px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
