:root {
  --navy: #0b1e3f;
  --navy-deep: #071428;
  --gold: #c9a34b;
  --gold-soft: #e0c070;
  --cream: #fdfcf9;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --line: rgba(201, 163, 75, 0.35);
  --white: #ffffff;
  --whatsapp: #25d366;
  --radius: 16px;
  --header: 84px;
  --shadow: 0 18px 40px rgba(11, 30, 63, 0.12);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(7, 20, 40, 0.28);
}

.header__inner {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 58px;
  width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 0.2rem 0.45rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.lang {
  display: flex;
  align-items: center;
  margin-left: 0.4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.15rem 0.35rem;
}

.lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: 700 0.8rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  border-radius: 999px;
}

.lang__btn.is-active {
  background: var(--gold);
  color: var(--navy);
}

.lang__divider {
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  border-radius: 8px;
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero h1,
.section__head h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.7rem;
  line-height: 1.15;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.hero__tagline {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--gold);
}

.motto {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__text {
  max-width: 38rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.portrait {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  background: var(--navy);
  border-radius: 22px;
}

.portrait img {
  position: relative;
  width: 100%;
  border-radius: 22px;
  border: 2px solid var(--gold);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.portrait__caption {
  text-align: center;
  margin: 1.6rem 0 0;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
}

.swoosh {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0.4rem 0 0.2rem;
}

.swoosh span:first-child {
  width: min(280px, 50%);
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
}

.swoosh span:last-child {
  width: min(220px, 40%);
  height: 4px;
  background: var(--navy);
  border-radius: 99px;
}

.section {
  padding: 4.2rem 0;
}

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}

.section__head--left {
  text-align: left;
  margin-left: 0;
}

.section__head--light h2,
.section__head--light .section__intro {
  color: var(--white);
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section__intro {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__icon {
  width: 42px;
  height: 42px;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

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

.band {
  background: var(--navy);
  color: var(--white);
  padding: 4.2rem 0;
}

.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.pills li {
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 1.15rem 1rem;
  text-align: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.pills__mark {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 0.7rem;
}

.motto {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  margin: 2rem 0 0;
}

.section--contact {
  padding-bottom: 5rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.details__label {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

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

.form {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #d9d3c6;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.form__honeypot {
  position: absolute;
  left: -9999px;
}

.form__status {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.form__status.is-ok {
  color: #1f7a3a;
}

.form__status.is-error {
  color: #9b1c1c;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: inherit;
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--full {
  width: 100%;
}

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

.footer {
  background: var(--navy);
  color: var(--white);
  border-top: 2px solid var(--gold);
  padding: 2.2rem 0 5.5rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer__brand img {
  height: 52px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 0.15rem 0.4rem;
}

.footer__motto {
  margin: 0.7rem 0 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
}

.footer__legal {
  text-align: right;
  color: rgba(255, 255, 255, 0.86);
}

.footer__legal p {
  margin: 0.25rem 0;
}

.footer__legal a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.footer__legal a:hover {
  text-decoration: underline;
}

.whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp svg {
  width: 30px;
  height: 30px;
}

.whatsapp::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  to {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: var(--header) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 0.6rem 1rem 1.2rem;
    border-bottom: 2px solid var(--gold);
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid rgba(201, 163, 75, 0.18);
  }

  .lang {
    margin: 0.9rem 0 0;
    align-self: flex-start;
  }

  .hero__grid,
  .cards,
  .contact,
  .pills,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .pills {
    display: grid;
  }

  .hero__grid {
    display: grid;
    gap: 2.2rem;
  }

  .contact {
    display: grid;
  }

  .footer__inner {
    display: grid;
    text-align: center;
  }

  .footer__legal {
    text-align: center;
  }

  .footer__brand img {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 74px;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .pills {
    grid-template-columns: 1fr;
  }
}

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

  .whatsapp::after,
  .menu-toggle__bar {
    animation: none;
    transition: none;
  }
}
