/* ===============================
   KAOMI VIAJES — FULL PREMIUM
   Minimalista elegante (tipo Apple)
   =============================== */

:root{
  --primary:#f57c00;
  --dark:#0b0b0c;
  --muted:#666;
  --bg:#ffffff;
  --subtle:#f7f7f8;
  --card:#ffffff;
  --radius:22px;
  --shadow:0 18px 50px rgba(0,0,0,.08);
  --shadow-soft:0 10px 30px rgba(0,0,0,.06);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}

/* ===== Header glass + shrink ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom:1px solid rgba(0,0,0,.05);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled{
  background:rgba(255,255,255,.82);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:14px 16px;
  text-decoration:none;
}

.brand-circle{
  width:118px;
  height:auto;
  display:block;
  transition: transform .25s ease, opacity .25s ease;
}

.site-header.is-scrolled .brand-circle{
  transform: scale(.95);
}

/* ===== Hero ===== */
.hero{
  position:relative;
  height:88vh;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  overflow:hidden;
  background:#000;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
}

/* gradiente moderno */
.overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 55% at 50% 25%, rgba(245,124,0,.18), transparent 62%),
    linear-gradient(to bottom, rgba(0,0,0,.32), rgba(0,0,0,.72));
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  width:min(980px, calc(100% - 40px));
  text-align:center;
  padding:24px;
}

.hero h1{
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero p{
  margin: 0 auto 18px auto;
  max-width: 62ch;
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  color: rgba(255,255,255,.92);
}

.hero-ctas{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 8px;
}

.microcopy{
  margin-top: 14px;
  font-size:.95rem;
  color: rgba(255,255,255,.84);
}

.text-link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-brand{
  opacity: .88;
}

/* ===== Buttons (Apple-like) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  will-change: transform;
}

.btn-primary{
  background: var(--primary);
  color: #111;
  box-shadow: 0 14px 40px rgba(245,124,0,.35);
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(245,124,0,.45);
}

.btn-ghost{
  background: rgba(255,255,255,.06);
  color:#fff;
  border-color: rgba(255,255,255,.28);
}

.btn-ghost:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.45);
}

.btn-ghost-dark{
  background: transparent;
  color: var(--dark);
  border-color: rgba(0,0,0,.14);
}

.btn-ghost-dark:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.22);
}

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

.section.subtle{
  background: var(--subtle);
  border-top:1px solid rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.section h2{
  text-align:center;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  letter-spacing:-0.02em;
  margin-bottom: 14px;
}

.lead{
  text-align:center;
  color: var(--muted);
  max-width: 78ch;
  margin: 0 auto 28px auto;
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

/* ===== Cards ===== */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0,0,0,.08);
}

.card h3{
  font-size: 1.08rem;
  margin-bottom: 8px;
  letter-spacing:-0.01em;
}

.card p{
  color: var(--muted);
  line-height: 1.65;
}

/* ===== Quotes ===== */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.quote{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.quote:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.quote blockquote{
  color:#1b1b1c;
  line-height:1.7;
}

.quote figcaption{
  margin-top:10px;
  color: var(--muted);
  font-size:.95rem;
}

.trust{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:18px;
}

.inline-cta{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

/* ===== Instagram widget ===== */
.lightwidget-widget{
  width:100%;
  border:0;
  overflow:hidden;
  min-height:600px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background:#fff;
}

/* ===== FAQ ===== */
.faq{
  max-width: 860px;
  margin: 22px auto 0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

details{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

summary{
  cursor:pointer;
  font-weight: 800;
}

details p{
  margin-top:10px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.contact-card{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  text-decoration:none;
  color: var(--dark);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
footer{
  padding: 34px 20px;
  background: #0b0b0c;
  color: #fff;
  text-align:center;
  font-size: .95rem;
}

footer p{ opacity: .9; }

/* ===== Floating buttons ===== */
.float-actions{
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-btn{
  padding: 12px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.float-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.26);
}

/* ===== Animaciones (para main.js) ===== */
@media (prefers-reduced-motion: reduce){
  *{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

.fade-up{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.fade-up.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
  .quotes{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .section-head{ flex-direction:column; align-items:center; }
  .hero{ height: 80vh; min-height: 560px; }
  .float-actions{ right: 14px; bottom: 14px; }
}
/* Fix iOS: iframes dentro de elementos con transform no reciben taps */
.no-transform.fade-up{
  transform: none !important;
}
.no-transform.fade-up.is-visible{
  transform: none !important;
}
.lightwidget-widget{
  touch-action: manipulation;
}