/* ---------- Base ---------- */
:root {
  --cream: #f8f3ea;
  --cream-soft: #f1e9db;
  --ink: #2c2721;
  --ink-soft: #5c5347;
  --teal: #4f9990;
  --teal-dark: #35706a;
  --teal-light: #a9d6d0;
  --tan: #b08e5f;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(44, 39, 33, 0.08);
  --shadow-lg: 0 24px 60px rgba(44, 39, 33, 0.16);
  --radius: 20px;
  --serif: 'Fraunces', serif;
  --sans: 'Jost', sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal-light); }
p { margin: 0 0 1em; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 120px 0; }
.section-alt { background: var(--cream-soft); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--teal-dark); display: inline-block; }
.eyebrow.center { justify-content: center; }
h2.center, p.center { text-align: center; }
h2.center::before { margin-inline: auto; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.section-sub { color: var(--ink-soft); max-width: 560px; margin: -0.8em auto 3em; }
.section-sub a { color: var(--teal-dark); font-weight: 500; border-bottom: 1px solid var(--teal-light); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px 15px 30px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
  cursor: pointer;
  border: none;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary-dark { background: var(--cream); color: var(--ink); }
.btn-primary-dark:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.7); padding-left: 26px; }
.btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }

/* ---------- Announce bar ---------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: .76rem;
  letter-spacing: .05em;
  padding: 9px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 234, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,39,33,.06);
  transition: box-shadow .3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 56px; height: 56px;
  object-fit: contain;
}
.brand-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 4px;
}
.main-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 32px; }
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  overflow: hidden;
}
.main-nav a span { display: inline-block; position: relative; }
.main-nav a span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: var(--teal-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover span::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,40,37,.5) 0%, rgba(26,40,37,.42) 45%, rgba(18,27,25,.82) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding-top: 60px; padding-bottom: 60px; }
.hero .eyebrow { color: var(--teal-light); }
.hero .eyebrow::before { background: var(--teal-light); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--white); line-height: 1.05; font-weight: 500; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.hero-in {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d) * .12s + .15s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-badge {
  position: absolute;
  right: 6%;
  bottom: 14%;
  z-index: 2;
  width: 118px; height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  animation: spin 30s linear infinite, heroIn 1s var(--ease) forwards;
  animation-delay: 0s, calc(var(--d) * .12s + .15s);
}
.hero-badge-num { font-family: var(--serif); font-size: 2rem; line-height: 1; animation: counterspin 30s linear infinite; }
.hero-badge-text { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; animation: counterspin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterspin { to { transform: rotate(-360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--white);
  animation: cue 1.8s infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-bottom: 1px solid rgba(248,243,234,.08);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: scroll-left 32s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
}
.marquee-track span { padding: 0 4px; }
.marquee-track i { color: var(--teal-light); font-style: normal; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--teal-dark); color: var(--white); padding: 52px 0; }
.trust-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; text-align: center; }
.trust-item { flex: 1; min-width: 140px; position: relative; }
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.trust-item strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.5vw, 2.8rem); font-weight: 500; }
.trust-item span { font-size: .82rem; letter-spacing: .04em; opacity: .9; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-reverse .split-text { order: 1; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.watermark {
  position: absolute;
  top: -46px;
  left: -18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 7rem;
  color: var(--ink);
  opacity: .06;
  z-index: -1;
  pointer-events: none;
}
.media-tag {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}
.check-list { list-style: none; padding: 0; margin: 1.5em 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: .7em;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ---------- Services (photo grid) ---------- */
.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin-top: 56px;
}
.service-photo-item { text-align: center; }
.service-photo-circle {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 22px;
}
.service-photo-circle img:first-child {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
}
.service-photo-item:hover .service-photo-circle img:first-child { transform: scale(1.05); }
.service-photo-badge {
  position: absolute;
  bottom: 0;
  right: 6%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-photo-badge img { width: 100%; height: 100%; object-fit: contain; }
.service-photo-item h3 { font-size: 1.2rem; margin: 0; }

.honor-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--cream);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.honor-badge svg { width: 14px; height: 14px; color: var(--teal-light); flex-shrink: 0; }

/* ---------- Precios (pestañas por categoría) ---------- */
.price-tabs { max-width: 640px; margin: 48px auto 0; }
.price-tabs-nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.price-tab-btn {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(44,39,33,.16);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s ease;
}
.price-tab-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.price-tab-btn.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

.price-tab-panel { display: none; }
.price-tab-panel.is-active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.price-panel-intro { color: var(--ink-soft); font-size: .92rem; text-align: center; margin-bottom: 6px; }
.honor-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: var(--cream);
  font-size: .74rem;
  font-weight: 500;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.honor-badge-inline svg { width: 14px; height: 14px; color: var(--teal-light); flex-shrink: 0; }

.price-list { margin: 20px 0 10px; border-top: 1px solid rgba(44,39,33,.14); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44,39,33,.14);
}
.price-name { color: var(--ink-soft); font-size: .92rem; }
.price-value { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--teal-dark); white-space: nowrap; }
.price-note { font-size: .8rem; color: var(--ink-soft); font-style: italic; margin: 24px 0 20px; }

/* ---------- Tech section ---------- */
.tech-section { background: var(--ink); color: var(--cream); }
.tech-section h2 { color: var(--cream); }
.tech-section .eyebrow { color: var(--teal-light); }
.tech-section .eyebrow::before { background: var(--teal-light); }
.tech-section p:not(.eyebrow) { color: rgba(248,243,234,.78); }
.tech-section .check-list li { color: rgba(248,243,234,.85); }
.tech-section .check-list li::before { color: var(--teal-light); }

/* ---------- Full-bleed banner ---------- */
.banner {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  overflow: hidden;
}
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,40,37,.55) 0%, rgba(26,40,37,.05) 45%, transparent 70%);
}
.banner figcaption {
  position: absolute;
  left: 6%;
  bottom: 32px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  max-width: 480px;
  line-height: 1.3;
}

/* ---------- Instagram slideshow ---------- */
.ig-slideshow {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
}
.ig-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.ig-slide.is-active { opacity: 1; }
.ig-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.ig-slideshow-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
  background: linear-gradient(0deg, rgba(20,18,15,.55) 0%, transparent 35%, transparent 70%, rgba(20,18,15,.25) 100%);
  transition: background .3s ease;
}
.ig-slideshow:hover .ig-slideshow-overlay { background: linear-gradient(0deg, rgba(20,18,15,.68) 0%, rgba(20,18,15,.1) 45%, rgba(20,18,15,.35) 100%); }
.ig-slideshow-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.ig-slideshow:hover .ig-slideshow-cta { transform: translateY(-3px) scale(1.03); }
.ig-slideshow-cta svg { width: 20px; height: 20px; color: var(--teal-dark); }
.ig-slideshow-dots {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.ig-slideshow-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .3s ease, transform .3s ease;
}
.ig-slideshow-dots span.is-active { background: var(--white); transform: scale(1.3); }

/* ---------- Contact ---------- */
.info-block { margin-bottom: 22px; }
.info-block h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-dark); margin-bottom: .3em; font-weight: 600; }
.info-block p { color: var(--ink-soft); margin: 0; }
.info-block a:hover { color: var(--teal-dark); }
.map-media iframe {
  width: 100%;
  aspect-ratio: 4/5;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding: 90px 24px 70px;
  border-bottom: 1px solid rgba(248,243,234,.1);
}
.footer-cta-text .eyebrow { color: var(--teal-light); }
.footer-cta-text .eyebrow::before { background: var(--teal-light); }
.footer-cta-line { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-style: italic; margin-bottom: .8em; line-height: 1.15; }
.footer-cta-img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  justify-self: end;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(248,243,234,.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.1rem; }
.footer-links { display: flex; gap: 24px; font-size: .9rem; }
.footer-links a { position: relative; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { padding: 22px 24px; text-align: center; font-size: .8rem; color: rgba(248,243,234,.6); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(8deg); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-media { order: 1; }
  .split-reverse .split-text { order: 2; }
  .section { padding: 80px 0; }
  .hero-badge { display: none; }
  .watermark { display: none; }
  .service-photo-grid { gap: 36px 20px; }
  .service-photo-badge { width: 38px; height: 38px; padding: 7px; }
  .ig-slideshow { aspect-ratio: 4 / 5; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-cta-img { justify-self: center; max-width: 260px; }
  .banner figcaption { left: 5%; right: 5%; max-width: none; }
}

@media (max-width: 900px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(44,39,33,.08);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 560px) {
  .trust-inner { justify-content: flex-start; }
  .trust-item + .trust-item::before { display: none; }
  .hero { min-height: 100vh; }
  .service-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .service-photo-item h3 { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in, .marquee-track, .hero-badge, .scroll-cue span, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
