:root {
  --navy: #0a1e3c;
  --navy-soft: #163253;
  --navy-muted: #40516a;
  --gold: #ae8955;
  --gold-deep: #8f6d3f;
  --gold-pale: #e4d7c5;
  --ivory: #faf8f3;
  --paper: #fffdf9;
  --line: #ded5c7;
  --shadow: 0 18px 45px rgba(10, 30, 60, 0.09);
  --shadow-hover: 0 24px 55px rgba(10, 30, 60, 0.16);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 8% 1%, rgba(174, 137, 85, 0.12), transparent 25rem),
    radial-gradient(circle at 100% 40%, rgba(10, 30, 60, 0.06), transparent 30rem),
    var(--ivory);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  stroke-width: 1.7;
}

.page-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 18px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 58px 0 42px;
  text-align: center;
}

.brand-mark {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(174, 137, 85, 0.7);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(10, 30, 60, 0.18), inset 0 0 0 5px var(--ivory);
  color: var(--gold-pale);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 11vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-statement {
  max-width: 740px;
  margin: 22px auto 0;
  color: var(--navy-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.18rem, 4.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
}

.hero-support {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--navy-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.hero-divider {
  display: flex;
  align-items: center;
  width: min(100%, 350px);
  margin-top: 32px;
}

.hero-divider::before,
.hero-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.hero-divider span {
  width: 8px;
  height: 8px;
  margin: 0 14px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.services {
  padding-bottom: 68px;
}

.section-heading {
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.65rem);
  line-height: 1.2;
}

.cards-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(174, 137, 85, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 105px;
  height: 105px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(220deg, rgba(174, 137, 85, 0.13), transparent 70%);
  content: "";
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(174, 137, 85, 0.72);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-pale);
  font-size: 1.45rem;
}

.card-copy {
  flex: 1;
}

.card-copy h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.card-copy p {
  margin: 0;
  color: var(--navy-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.card-link {
  display: flex;
  width: 100%;
  min-height: 48px;
  margin-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease;
}

.card-link svg {
  color: var(--gold-deep);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--gold-deep);
}

.card-link:hover svg,
.card-link:focus-visible svg {
  transform: translate(2px, -2px);
}

.card-link:focus-visible,
.social-links a:focus-visible {
  outline: 3px solid rgba(174, 137, 85, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}

.service-card--featured {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--ivory);
}

.service-card--featured::before {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at top right, rgba(174, 137, 85, 0.33), transparent 68%);
}

.service-card--featured .card-icon {
  border: 1px solid rgba(250, 248, 243, 0.25);
  background: var(--gold);
  color: var(--navy);
}

.service-card--featured .card-copy p {
  color: #e5e0d6;
}

.service-card--featured .card-link {
  border-color: rgba(250, 248, 243, 0.25);
  color: var(--ivory);
}

.service-card--featured .card-link svg {
  color: var(--gold-pale);
}

.featured-label {
  display: inline-flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 8px;
  color: var(--gold-pale);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.featured-label svg {
  font-size: 0.95rem;
}

.service-card--banner {
  min-height: 0;
  grid-column: 1 / -1;
}

.hospede-oculto-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  object-fit: contain;
}

.site-footer {
  margin: 0 -18px;
  padding: 42px 22px 26px;
  border-radius: 28px 28px 0 0;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-monogram {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-pale);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

.social-links {
  display: flex;
  margin: 26px auto 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(228, 215, 197, 0.5);
  border-radius: 999px;
  color: var(--ivory);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.copyright {
  margin: 30px 0 0;
  color: #c8c4bc;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.reveal-ready .service-card {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-ready .service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.reveal-ready .service-card.is-visible:hover,
.reveal-ready .service-card.is-visible:focus-within {
  transform: translateY(-5px);
}

@media (min-width: 700px) {
  .page-shell {
    padding: 0 30px;
  }

  .hero {
    padding: 82px 0 58px;
  }

  .hero-support {
    font-size: 1rem;
  }

  .services {
    padding-bottom: 88px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

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

  .service-card {
    padding: 30px;
  }

  .service-card--featured {
    min-height: 285px;
    grid-column: 1 / -1;
  }

  .service-card--featured .card-copy {
    max-width: 680px;
  }

  .site-footer {
    margin: 0;
    padding: 50px 30px 30px;
  }
}

@media (min-width: 980px) {
  .service-card {
    min-height: 325px;
  }

  .service-card--banner {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .service-card {
    opacity: 1;
    transform: none;
  }
}
