/* ===== Tranqui Tech · estilos ===== */
:root {
  --brand: #17736E;
  --brand-dark: #115a56;
  --accent: #E8935A;
  --accent-dark: #d97f44;
  --ocean: #10323B;
  --sand: #F7F1E6;
  --brand-soft: #DDF0EE;
  --muted: #4A6168;
  --white: #ffffff;
  --line: #e4dccd;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 50, 59, .06), 0 4px 16px rgba(16, 50, 59, .06);
  --gutter: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.i18n-pending body { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ocean);
  background: var(--sand);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  background: var(--ocean);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 22px; height: 22px; flex: none; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, transform .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }

.btn-wa { background: var(--accent); color: var(--ocean); }
.btn-wa:hover { background: var(--accent-dark); color: var(--ocean); }

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

.btn-ghost { color: var(--sand); border-color: rgba(247, 241, 230, .4); }
.btn-ghost:hover { color: var(--white); border-color: var(--sand); }

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

[hidden] { display: none !important; }

/* ===== Encabezado ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 50, 59, .96);
  backdrop-filter: saturate(140%) blur(8px);
  color: var(--sand);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sand);
  margin-right: auto;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand:hover { color: var(--white); }

.wordmark, .footer-brand { display: inline-flex; align-items: baseline; gap: 6px; }
.wm-tranqui { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.wm-tech { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .3em; color: #5cc3b9; }

.main-nav { display: none; gap: 24px; }
.main-nav a { color: var(--sand); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--accent); }
@media (min-width: 860px) { .main-nav { display: flex; } }

.lang-switch {
  display: inline-flex;
  background: rgba(247, 241, 230, .1);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sand);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--sand); color: var(--ocean); }

/* ===== Portada ===== */
.hero {
  position: relative;
  background: var(--ocean);
  color: var(--sand);
  padding: 56px 0 104px;
  overflow: hidden;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 500;
  font-size: .95rem;
  color: #a9d9d4;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 4rem);
  color: var(--sand);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); display: inline-block; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #d9e3e1; max-width: 640px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { font-size: .95rem; color: #b7c8c6; margin: 16px auto 28px; max-width: 520px; }
.hero-note a { color: var(--sand); }
.hero-book-note { font-size: .95rem; color: #d9e3e1; margin: 14px auto 0; }
.hero-book-note + .hero-note { margin-top: 4px; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.js-book-link { font-weight: 700; }
.hero-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 115, 110, .35);
  border: 1px solid rgba(92, 195, 185, .35);
  font-size: .9rem;
}
.hero-waves {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 60px;
}

/* ===== Secciones ===== */
.section { padding: 64px 0; scroll-margin-top: 64px; }
.section-alt { background: var(--white); }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 32px; }
.subhead { margin-top: 48px; font-size: 1.3rem; }

/* Tarjetas de servicios */
.cards-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 14px;
}
.card-icon svg { width: 26px; height: 26px; }

.tip-box {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  font-weight: 500;
}

/* Precios */
.price-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.price-row:first-child { border-top: 0; }
.price-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.price-row > div { flex: 1 1 280px; }
.price-row > div p { margin: 0; color: var(--muted); font-size: .98rem; }
.price {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
  white-space: nowrap;
}
.price span { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.price-row-free { background: var(--brand-soft); }
.price-row-free .price { color: var(--ocean); }

.table-wrap { overflow-x: auto; margin: 16px 0 0; }
.travel-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-width: 320px;
}
.travel-table th, .travel-table td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); }
.travel-table thead th {
  border-top: 0;
  background: var(--ocean);
  color: var(--sand);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
}
.travel-table tbody th { font-weight: 600; }
.travel-table td { font-family: var(--font-head); font-weight: 600; color: var(--brand); white-space: nowrap; }
.fine-print { margin-top: 20px; font-size: .95rem; color: var(--muted); }

/* Paquetes */
.packs-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .packs-grid { grid-template-columns: repeat(3, 1fr); } }
.pack {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--brand);
}
.pack-tag {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ocean);
  font-weight: 700;
  font-size: .82rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pack h3 { font-size: 1.35rem; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}
.pack-price {
  margin: auto 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ocean);
}
.pack-price span { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--muted); }
.pack-note { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.pack .btn { width: 100%; }

/* Zonas */
.zones-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } }
.zone { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.zone p { margin: 0; color: var(--muted); }

/* Sobre Migue */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .about { grid-template-columns: 300px 1fr; gap: 48px; } }
.about-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 20%;
  margin: 0 auto;
  box-shadow: 0 0 0 6px var(--brand-soft), var(--shadow);
}
.about-photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  border: 2px dashed rgba(23, 115, 110, .4);
}
.about-photo-placeholder img { width: 120px; border-radius: 24px; }
.brand-line {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brand);
  margin-top: 8px;
}

/* Olman */
.olman { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .olman { grid-template-columns: 300px 1fr; gap: 48px; } }
.olman-figure {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}
.olman-figure img {
  width: 100%;
  border-radius: 24px;
  background: var(--sand);
  box-shadow: 0 0 0 6px var(--brand-soft), var(--shadow);
}
.ai-label {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ocean);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.olman-audio {
  margin: 24px 0 0;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px;
}
.olman-audio figcaption { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.olman-audio audio { width: 100%; }

/* Llamado final */
.final-cta {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { font-size: 1.15rem; margin-bottom: 24px; }

/* Pie */
.site-footer { background: var(--ocean); color: #c9d6d4; padding: 48px 0 96px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { color: var(--sand); margin-bottom: 8px; }
.footer-safe { font-size: .92rem; color: #a9bcb9; }
.footer-title { font-size: 1rem; color: var(--sand); margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 4px; }
.footer-list a {
  display: inline-block;
  padding: 8px 0;
  color: #c9d6d4;
  text-decoration: none;
}
.footer-list a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(247, 241, 230, .12); margin-top: 32px; padding-top: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ocean);
  box-shadow: 0 6px 20px rgba(16, 50, 59, .35);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); color: var(--ocean); }
.wa-float svg { width: 32px; height: 32px; }
