:root {
  --navy: #13284f;
  --navy-deep: #0c1c3a;
  --gold: #b8924a;
  --gold-light: #d8b97a;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e4e0d6;
  --tint: #f8f5ee;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(19, 40, 79, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8em;
}

.eyebrow-light {
  color: var(--gold-light);
}

.script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  color: var(--gold-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

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

.btn-gold:hover {
  box-shadow: 0 8px 20px rgba(184, 146, 74, 0.35);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

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

.btn-gold:hover {
  background: #a07c38;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-block {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(19, 40, 79, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-script {
  font-family: "Great Vibes", cursive;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
}

.brand-script-light {
  color: var(--gold-light);
}

.brand-text {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gold);
  padding-left: 12px;
}

.brand-name {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.55em 1.3em;
  border-radius: 999px;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184, 146, 74, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 120px 0 150px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-swoosh {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 100%;
  height: 120px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  opacity: 0.7;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.2s 0.5s ease-out forwards;
}

.hero-fade {
  opacity: 0;
  animation: fade-up 0.8s ease-out forwards;
}

.hero-fade:nth-child(2) { animation-delay: 0.12s; }
.hero-fade:nth-child(3) { animation-delay: 0.24s; }
.hero-fade:nth-child(4) { animation-delay: 0.36s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.hero h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 0.4em;
}

.hero h1 .script {
  font-size: 1.35em;
  display: inline-block;
  margin-top: 0.1em;
}

.hero-lead {
  max-width: 600px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
.section {
  padding: 96px 0;
}

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

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

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.prose p {
  color: var(--muted);
}

.prose strong {
  color: var(--navy);
}

/* Mission */
.mission {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.55;
  color: var(--white);
}

/* Values & Promise */
.values {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 0;
}

.values li {
  position: relative;
  padding: 0.75em 0 0.75em 1.8em;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

.promise-card {
  background: var(--tint);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
  align-self: center;
}

.promise-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
}

/* Experience */
.stat-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}

.stat {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-num {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.8em;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Services */
.group-title {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.group-title:first-of-type {
  margin-top: 0;
}

.group-lead {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.card-num {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4em;
}

.card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card-sm {
  padding: 22px;
}

.card-sm h4 {
  font-size: 0.98rem;
}

.card-accent {
  border-top: 3px solid var(--gold);
}

/* Value proposition */
.vp-lead {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
}

.vp-body {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 2em;
}

.vp-tagline {
  display: inline-block;
  margin: 0;
  padding-top: 1.2em;
  border-top: 1px solid var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

/* Contact */
.contact-details {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.contact-item {
  margin-bottom: 1.4rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3em;
}

address {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--navy);
}

.contact-phone {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--gold);
}

.contact-whatsapp {
  display: inline-block;
  margin-top: 0.4em;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1da851;
  text-decoration: none;
}

.contact-whatsapp:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--tint);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.2);
}

.contact-form.submitted :invalid {
  border-color: #c0392b;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  min-height: 1.4em;
}

.form-status.info { color: var(--navy); }
.form-status.success { color: #2e7d4f; }
.form-status.error { color: #c0392b; }

/* Scroll reveal (only hidden when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards .reveal:nth-child(5) { transition-delay: 0.32s; }
.cards .reveal:nth-child(6) { transition-delay: 0.40s; }
.cards .reveal:nth-child(7) { transition-delay: 0.48s; }
.cards .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 100px; /* room for the WhatsApp button */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tag {
  margin: 0;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pop 0.5s 1.2s ease-out both;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.6s 2s ease-out infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-label {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.whatsapp-float:hover .whatsapp-label,
.whatsapp-float:focus-visible .whatsapp-label {
  opacity: 1;
  transform: none;
}

/* Uses `scale` (not transform) so the held end state doesn't block the hover transform */
@keyframes wa-pop {
  from { opacity: 0; scale: 0.5; }
  to { opacity: 1; scale: 1; }
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .two-col,
  .stat-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 88px 0 96px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .brand-text {
    display: none;
  }

  .cards-4,
  .cards-5 {
    grid-template-columns: 1fr;
  }

  .promise-card,
  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .hero-fade { animation: none; opacity: 1; }
  .hero-swoosh { animation: none; stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float, .whatsapp-float::before { animation: none; }
}
