:root {
  --navy: #12162a;
  --navy-soft: #1c2138;
  --gold: #f39a1e;
  --gold-dark: #d9830c;
  --gold-text: #f5a640;
  --cream: #fdf5ec;
  --ink: #1f2233;
  --muted: #4a4e5e;
  --line: #e6dccf;
  --white: #ffffff;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
  --fs-body: 0.9375rem;
  --fs-small: 0.8125rem;
  --lh-body: 1.7;
  --section-y: clamp(4rem, 3rem + 4vw, 6.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-title, .section-title, .card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.accent-line {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-bottom: 1.75rem;
  background: var(--gold);
}

.display-title {
  font-size: var(--fs-display);
  color: var(--white);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}

.lead-text {
  max-width: 50rem;
  margin: 0 auto;
  color: var(--muted);
}

.section {
  padding: var(--section-y) 0;
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.btn {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.7rem 2rem;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-dark-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-dark-navy.active,
.btn-dark-navy:active {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}

.btn-dark-navy:hover,
.btn-dark-navy:focus-visible {
  background: var(--gold);
  color: var(--white);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #25d366;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-whatsapp svg {
  width: 62%;
  height: 62%;
  fill: var(--white);
}

.btn-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-sm {
  width: 1.75rem;
  height: 1.75rem;
}

.topbar {
  background: var(--cream);
  font-size: var(--fs-small);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.topbar-label {
  font-weight: 600;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-dark);
}

.topbar-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--gold);
}

.topbar-wa {
  width: 1.25rem;
  height: 1.25rem;
  fill: #25d366;
}

.topbar-divider {
  width: 1px;
  height: 1rem;
  margin: 0 0.5rem;
  background: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--cream);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(18, 22, 42, 0.08);
}

.navbar {
  padding: 0.9rem 0;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  width: auto;
  height: 3.25rem;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--gold-dark);
}

.navbar-toggler {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border: 0;
  border-radius: 0;
  background: var(--navy);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(243, 154, 30, 0.45);
}

.toggler-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
}

.offcanvas {
  background: var(--navy);
  color: var(--white);
}

.offcanvas-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  margin: 0;
}

.offcanvas .nav-link {
  color: var(--white);
  font-size: 1.125rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  color: var(--gold-text);
}

.offcanvas .nav-cta {
  margin-top: 1.5rem;
  background: var(--gold);
  width: 100%;
}

.drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: var(--fs-small);
}

.drawer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.drawer-contact a:hover {
  color: var(--gold-text);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 70vh, 40rem);
  padding: 5rem 0;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 22, 42, 0.94) 0%, rgba(18, 22, 42, 0.82) 40%, rgba(18, 22, 42, 0.25) 75%, rgba(18, 22, 42, 0.1) 100%);
}

.hero-content {
  max-width: 34rem;
}

.hero .display-title {
  margin-bottom: 1.5rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.section-intro {
  margin-bottom: 3.5rem;
}

.team-photo {
  margin: 0 0 4rem;
  overflow: hidden;
}

.team-photo img {
  display: block;
  width: 100%;
  transition: transform 1.2s var(--ease);
}

.team-photo:hover img {
  transform: scale(1.02);
}

.about-cards {
  margin-bottom: 3rem;
}

.info-card p {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.75;
  margin: 0;
}

.info-icon {
  width: 4rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.services-photo {
  display: block;
  width: 100%;
  aspect-ratio: 678 / 760;
  object-fit: cover;
}

.services-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.services-accordion .accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.services-accordion .accordion-button {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--white);
  padding: 1.25rem 0;
  background: transparent;
  box-shadow: none;
}

.services-accordion .accordion-button:not(.collapsed) {
  color: var(--gold-text);
}

.services-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.services-accordion .accordion-button::after {
  content: "+";
  background-image: none;
  width: auto;
  height: auto;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--white);
  transform: none;
  transition: none;
}

.services-accordion .accordion-button:not(.collapsed)::after {
  content: "\2212";
  color: var(--white);
}

.services-accordion .accordion-body {
  padding: 0 0 1.5rem;
}

.services-accordion ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--fs-small);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.services-accordion li + li {
  margin-top: 1rem;
}

.services-accordion-full {
  margin-top: 1rem;
}

.services-accordion-full .accordion-button {
  padding: 1.5rem 0;
}

.services-accordion-full .accordion-button:not(.collapsed) {
  color: var(--white);
}

.services-accordion-full .accordion-button:hover {
  color: var(--gold-text);
}

.services-accordion-full .accordion-body {
  padding-bottom: 2rem;
}

.contact-details {
  font-style: normal;
  font-size: var(--fs-small);
  margin-bottom: 2.5rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-label {
  display: block;
  font-weight: 600;
}

.contact-label-inline {
  font-weight: 600;
  margin-right: 0.35rem;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--gold-dark);
}

.directions {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.directions p {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.directions strong {
  color: var(--ink);
}

.form-panel {
  height: 100%;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--cream);
}

.form-panel-embed {
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
}

.jotform-frame {
  display: block;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 720px;
  border: 0;
  transition: height 0.2s ease;
  background: transparent;
}

.hero-page {
  min-height: clamp(22rem, 50vh, 30rem);
}

.hero-page .display-title {
  margin-bottom: 0;
}

.section-flush-bottom {
  padding-bottom: 0;
}

.section-flush-bottom .about-cards {
  margin-bottom: 0;
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.feature-band {
  background: linear-gradient(180deg, var(--cream) 0, var(--cream) 50%, var(--white) 50%, var(--white) 100%);
}

.feature-photo {
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
}

.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 666;
  object-fit: cover;
}

.feature-band + .section {
  padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}

.page-header {
  padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0;
}

.page-header .section-title {
  margin-bottom: 0.75rem;
}

.legal-content {
  max-width: 50rem;
}

.legal-meta {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0;
}

.legal-section {
  padding-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.legal-content p,
.legal-content ul {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-heading {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.legal-address {
  font-style: normal;
  font-size: var(--fs-small);
  line-height: 1.8;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
}

.legal-address a {
  text-decoration: none;
}

.legal-address a:hover {
  color: var(--gold-dark);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small);
  padding: 4rem 0 2rem;
}

.site-footer a {
  text-decoration: none;
}

.footer-top {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-heading {
  display: inline-block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-heading:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gold-text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 2rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-divider {
  width: 1px;
  height: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@media (min-width: 992px) {
  .navbar-nav {
    gap: 1.75rem;
  }

  .header-actions {
    margin-left: 1.5rem;
  }

  .nav-cta {
    margin-left: 0.5rem;
  }

  .navbar-expand-lg .offcanvas {
    background: transparent;
    color: var(--ink);
  }

  .navbar-expand-lg .offcanvas .nav-link {
    color: var(--ink);
    font-size: var(--fs-small);
    padding: 0.5rem 0;
    border: 0;
  }

  .navbar-expand-lg .offcanvas .nav-link:hover,
  .navbar-expand-lg .offcanvas .nav-link.active {
    color: var(--gold-dark);
  }

  .navbar-expand-lg .offcanvas .nav-cta {
    margin-top: 0;
    width: auto;
    background: var(--navy);
  }

  .navbar-expand-lg .offcanvas .nav-cta:hover {
    background: var(--gold);
  }

  .info-card p {
    text-align: justify;
  }

  .services-accordion ul {
    text-align: justify;
  }

  .services-accordion-full .accordion-body {
    padding-left: 30%;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 2.75rem;
  }

  .offcanvas {
    max-width: 20rem;
  }

  .offcanvas-body {
    display: flex;
    flex-direction: column;
  }

  .services-photo {
    aspect-ratio: 16 / 10;
  }

  .feature-photo img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575.98px) {
  .jotform-frame {
    height: 880px;
  }

  .hero {
    min-height: 32rem;
    padding: 4rem 0;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(18, 22, 42, 0.7) 0%, rgba(18, 22, 42, 0.92) 100%);
  }

  .team-photo {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .team-photo:hover img {
    transform: none;
  }
}
