/* K-Tours Taxco — Secuencia Gráfica (Plantilla estándar)
   - Responsive
   - Smooth fade-in animations
   - Modern, clean UI
*/

:root{
  --bg:#070a0f;
  --card:#0c1220;
  --card2:#0b1326;
  --text:#eaf2ff;
  --muted:#b7c6e3;
  --line:rgba(255,255,255,.10);
  --accent:#0ea5a4;
  --accent2:#f43f5e;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --container: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(14,165,164,.20), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(244,63,94,.18), transparent 55%),
    linear-gradient(180deg, #05070c, #070a0f 35%, #060913);
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--container), calc(100% - 40px)); margin:0 auto}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#fff; color:#000; border-radius:10px; z-index:9999}

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

.topbar{
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  font-size:14px;
  color:var(--muted);
}
.topbar__left{display:flex; align-items:center; gap:10px}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(14,165,164,.15);
}
.topbar__right{display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.toplink{
  padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  transition: .2s transform ease, .2s background ease;
}
.toplink:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(7,10,15,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand__logo{
  width:46px; height:46px; object-fit:contain;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  padding:8px;
  border:1px solid var(--line);
}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{font-size:13px; color:var(--muted)}

.nav{display:flex; gap:16px; align-items:center}
.nav a{
  padding:10px 12px;
  color:var(--muted);
  border-radius:999px;
  transition:.2s background ease, .2s color ease, .2s transform ease;
}
.nav a:hover{background: rgba(255,255,255,.06); color:var(--text); transform: translateY(-1px)}

.nav__toggle{
  display:none;
  width:44px; height:44px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
  align-items:center; justify-content:center;
  gap:5px;
}
.nav__toggle span{
  display:block; width:18px; height:2px; background: var(--text); border-radius:999px;
}
.nav__toggle span:nth-child(4){display:none}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(14,165,164,1), rgba(244,63,94,.92));
  color:#081018;
  font-weight:800;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(14,165,164,.18);
  transition: .22s transform ease, .22s filter ease;
}
.btn:hover{transform: translateY(-2px); filter:brightness(1.02)}
.btn:active{transform: translateY(0)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
  box-shadow:none;
}
.btn--sm{padding:10px 14px; font-size:14px}

.link{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.22);
}
.link:hover{color: var(--text)}

.hero{
  position:relative;
  padding: 54px 0 26px;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:stretch;
}
.hero__copy h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.5px;
}
.accent{color: var(--accent)}
.hero__copy p{
  margin:0 0 16px;
  color: var(--muted);
  font-size: 16.5px;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 18px 0 10px}
.hero__chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.chip{
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  color: var(--muted);
  font-size:14px;
}

.heroCard{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroCard__top{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px 0;
  gap:10px;
}
.pill{
  padding:8px 12px;
  border-radius:999px;
  background: rgba(14,165,164,.18);
  border:1px solid rgba(14,165,164,.25);
  color: var(--text);
  font-weight:700;
  font-size:13px;
}
.pill--soft{
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  color: var(--muted);
  font-weight:600;
}
.heroCard__images{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  padding:14px;
}
.imgBtn{
  border:0; padding:0; background:transparent; cursor:pointer;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  transition: .2s transform ease, .2s filter ease;
}
.imgBtn:hover{transform: translateY(-2px); filter:brightness(1.03)}
.imgBtn img{
  width:100%; height:120px; object-fit:cover;
}
.heroCard__bottom{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  padding: 0 14px 14px;
}
.mini{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: 16px;
  padding:10px 12px;
}
.mini__k{font-size:12px; color: var(--muted)}
.mini__v{font-weight:800; font-size:13px}

.hero__glow{
  position:absolute; inset:auto -20% -50% -20%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(14,165,164,.18), transparent 60%);
  filter: blur(30px);
  pointer-events:none;
}
.hero__wave{
  position:absolute; left:0; right:0; bottom:-1px; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.03));
  pointer-events:none;
}

.section{padding: 54px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.section__head{max-width:780px; margin-bottom:22px}
.section__head h2{
  font-size: clamp(26px, 2.6vw, 36px);
  margin:0 0 10px;
  letter-spacing:-.3px;
}
.section__head p{margin:0; color: var(--muted)}

.grid{display:grid; gap:16px}
.cards{
  grid-template-columns: repeat(3, 1fr);
}
.card{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  overflow:hidden;
}
.card__media img{
  width:100%;
  height: 190px;
  object-fit:cover;
}
.card__body{padding:14px 14px 16px}
.card__body h3{margin:0 0 6px; font-size:18px}
.card__body p{margin:0 0 12px; color:var(--muted); font-size:14.5px}
.card__actions{display:flex; gap:12px; align-items:center}

.note{
  margin-top:18px;
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(14,165,164,.12);
  border:1px solid rgba(14,165,164,.25);
}
.note__icon{font-size:20px}
.note__text{color: var(--text)}

.masonry{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.tile{
  border:0; padding:0; background:transparent; cursor:pointer;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 44px rgba(0,0,0,.25);
  transition: .2s transform ease, .2s filter ease;
}
.tile:hover{transform: translateY(-2px); filter:brightness(1.03)}
.tile img{width:100%; height: 220px; object-fit:cover}

.videoCard{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:16px;
  align-items:stretch;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.videoFrame{background:#000}
.videoFrame iframe{width:100%; height:100%; min-height: 360px; border:0}
.videoCard__side{padding:16px}
.videoCard__side h3{margin:0 0 8px; font-size:22px}
.videoCard__side p{margin:0 0 14px; color: var(--muted)}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.badge{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  color: var(--muted);
  font-size:13px;
}

.socialGrid{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap:16px;
}
.socialCard{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
  padding:16px;
}
.socialCard__head{display:flex; gap:12px; align-items:center; margin-bottom:12px}
.socialIcon{
  width:42px; height:42px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(14,165,164,.18);
  border:1px solid rgba(14,165,164,.25);
  font-weight:900;
}
.embed iframe{width:100%; max-width:100%; border-radius:16px}
.muted{color: var(--muted)}

.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.contactCard, .mapCard{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
  padding:16px;
}
.mapCard{padding:0; overflow:hidden}
.mapHead{padding:16px; display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.mapFrame iframe{width:100%; height: 420px; border:0}

.form{display:grid; gap:12px}
label{display:grid; gap:6px; color: var(--muted); font-size:14px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(14,165,164,.55); box-shadow: 0 0 0 6px rgba(14,165,164,.15)}
.hint{color: var(--muted); font-size:13px; margin:10px 0 0}
.contactActions{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}

.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding: 26px 0 36px;
  background: rgba(255,255,255,.02);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.footer__brand{display:flex; gap:12px; align-items:center}
.footer__brand img{
  width:50px; height:50px; object-fit:contain;
  border-radius:16px;
  background: rgba(255,255,255,.06);
  padding:8px;
  border:1px solid var(--line);
}
.footer__name{font-weight:900}
.footer__tag{color: var(--muted); font-size:13px}
.footer__links{display:grid; gap:8px; color: var(--muted)}
.footer__links a:hover{color: var(--text)}
.footer__legal{color: var(--muted); font-size:14px}
.footer__legal a{text-decoration:underline; text-underline-offset:4px; text-decoration-color: rgba(255,255,255,.25)}

.fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  background: rgba(14,165,164,.92);
  color:#041316;
  font-weight:900;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 50px rgba(14,165,164,.25);
  transition: .22s transform ease, .22s filter ease;
}
.fab:hover{transform: translateY(-2px); filter:brightness(1.02)}
.fab__icon{font-size:18px}
.fab__text{font-size:14px}

.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.78);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:80;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(1100px, 100%);
  max-height: 86vh;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 90px rgba(0,0,0,.55);
}
.lightbox__close{
  position:absolute;
  top:16px; right:16px;
  width:46px; height:46px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor:pointer;
}

.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: .7s opacity ease, .7s transform ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .heroCard__images{grid-template-columns: repeat(3, 1fr)}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .masonry{grid-template-columns: repeat(2, 1fr)}
  .socialGrid{grid-template-columns: 1fr}
  .videoCard{grid-template-columns: 1fr}
  .footer__inner{grid-template-columns: 1fr}
  .nav__toggle{display:inline-flex}
  .nav{
    position:fixed;
    top: 68px;
    right: 20px;
    left: 20px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background: rgba(7,10,15,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav.is-open{display:flex}
  .nav a{padding:12px 14px}
}

@media (max-width: 520px){
  .container{width: calc(100% - 28px)}
  .topbar__inner{gap:10px}
  .topbar__right{gap:10px}
  .heroCard__images{grid-template-columns: 1fr; }
  .imgBtn img{height: 160px}
  .heroCard__bottom{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr}
  .masonry{grid-template-columns: 1fr}
  .tile img{height: 210px}
  .mapFrame iframe{height: 360px}
  .fab{right:14px; left:14px; justify-content:center}
}
