/* ===== Rooftop Travels & Tours — landing page ===== */
:root {
  --navy-900: #0B1240;
  --navy: #14215C;
  --blue: #3A62D6;
  --red: #E0262C;
  --orange: #FF8A3D;
  --ink: #0F1733;
  --muted: #55607F;
  --line: #E3E8F3;
  --bg: #FFFFFF;
  --tint: #F3F7FE;
  --grad-warm: linear-gradient(120deg, var(--red) 0%, #F2513A 55%, var(--orange) 100%);
  --grad-cool: linear-gradient(150deg, var(--blue) 0%, var(--navy) 55%, var(--navy-900) 100%);
  --radius: 20px;
  --shadow-sm: 0 2px 8px rgba(20, 33, 92, .06);
  --shadow: 0 18px 40px -12px rgba(20, 33, 92, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn--primary { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 24px -8px rgba(224, 38, 44, .55); }
.btn--primary:hover { box-shadow: 0 14px 30px -8px rgba(224, 38, 44, .65); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.45rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.brand__text small { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-top: .3rem; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: var(--orange); }

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .97rem; position: relative; padding: .5rem 0; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, #DCEAFB 0%, #F4F8FE 55%, #FFFFFF 100%);
}
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 65%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 1.4rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,38,44,.15); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 36rem; color: #44507A; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.8rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.hero__tags li { font-size: .85rem; font-weight: 600; color: var(--navy); padding: .35rem .85rem; border: 1px solid #CBD6EE; border-radius: 999px; background: rgba(255,255,255,.6); }

.hero__art { position: relative; }
.collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1; }
.collage figure { margin: 0; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); border: 5px solid #fff; background: var(--navy); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.collage figure:hover img { transform: scale(1.06); }
.collage__a { grid-row: 1 / 3; }
.collage__a img { object-position: 52% center; }
.float-card {
  position: absolute; left: -28px; bottom: 34px;
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .8rem 1.1rem; border-radius: 18px; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-warm); display: grid; place-items: center; flex: none; }
.float-card strong { display: block; color: var(--navy); font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.hero__plane {
  position: absolute; width: 46%; right: -8%; top: -20%;
  mix-blend-mode: multiply; pointer-events: none;
  animation: fly 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-10px, -12px) rotate(-2deg); } }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .8rem;
}

/* Services */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  grid-column: span 2;
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--feature { background: var(--grad-cool); border: 0; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem;
  color: #fff; background: var(--grad-warm); box-shadow: 0 10px 20px -8px rgba(224,38,44,.55);
}
.card__icon svg { width: 26px; height: 26px; }
.card p { margin: 0; }
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255,255,255,.8); }
.card__link { display: inline-block; margin-top: 1.1rem; color: var(--orange); font-weight: 700; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

/* Destinations */
.dest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 1.25rem; }
.dest__item { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); text-decoration: none; background: var(--navy); }
.dest__item--tall { grid-row: span 2; }
.dest__item--wide { grid-column: span 2; }
.dest__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.dest__item:hover img { transform: scale(1.06); }
.dest__item::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(11,18,64,.72), rgba(11,18,64,0)); }
.dest__label { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.dest__label strong { font-size: 1.35rem; font-weight: 800; }
.dest__label small { font-size: .9rem; opacity: .9; }
.dest__item:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.step { position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--tint); }
.step__num {
  display: inline-block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 1rem;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { margin: 0; }

/* CTA band */
.band { background: var(--grad-cool); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -260px;
  background: radial-gradient(circle, rgba(255,138,61,.35), rgba(255,138,61,0) 65%);
}
.band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3.5rem 0; }
.band h2 { color: #fff; margin: 0 0 .3rem; }
.band p { color: rgba(255,255,255,.8); margin: 0; }
.band__phones { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { display: grid; gap: 1rem; margin-top: 2rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.info__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-cool); }
.info__icon svg { width: 21px; height: 21px; }
.info strong { display: block; color: var(--navy); }
.info span, .info a { color: var(--muted); }
.info a { text-decoration: none; }
.info a:hover { color: var(--red); }

.form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 1rem; }
.form h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid #D5DCEC; background: #FAFBFE;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(58,98,214,.15); }
.form .is-invalid { border-color: var(--red); }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.ok { color: #0E7A4F; }
.form__status.err { color: #B3121A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 2.2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer .brand img { background: #fff; border-radius: 12px; padding: 4px; }

/* Floating call button (mobile) */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--grad-warm); box-shadow: 0 12px 28px -6px rgba(224,38,44,.6);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .hero__plane { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid, .contact { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; width: 100%; margin: 1rem auto 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--feature { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .dest { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .dest__item--tall { grid-row: span 2; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 20px 1.25rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
  .fab { display: grid; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .dest { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .dest__item--tall, .dest__item--wide { grid-row: auto; grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .float-card { left: 8px; bottom: 12px; }
  .hero__plane { width: 52%; right: -6%; top: -16%; }
  .band__phones, .band__phones .btn { width: 100%; }
}

.footer__mail { color: #fff; text-decoration: none; font-weight: 600; }
.footer__mail:hover { color: var(--orange); }
