/* =========================================================
   Porta John Rental – Landing Page Styles
   Palette: deep navy + safety orange (high-contrast CTA)
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --orange: #ff7a00;
  --orange-dark: #e66a00;
  --yellow: #ffd23f;
  --white: #ffffff;
  --off: #f5f7fa;
  --text: #1c2431;
  --muted: #5b6676;
  --line: #e3e8ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .12);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .22);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 2.5rem; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .6rem;
}
.eyebrow--light { color: var(--yellow); }
.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 800; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 0; line-height: 1.1; padding: .9rem 1.5rem; font-size: 1rem;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(180deg, #ff8a1f, var(--orange));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 122, 0, .38), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { background: linear-gradient(180deg, #ff9333, var(--orange-dark)); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 122, 0, .45); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--xl { padding: 1.2rem 2.4rem; font-size: 1.3rem; }
.btn--xxl { padding: 1.35rem 3rem; font-size: clamp(1.4rem, 4vw, 2rem); }
.btn--block { width: 100%; }
.btn--header { padding: .55rem 1.2rem .55rem .9rem; }
.btn--header__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn--header__text small { font-size: .65rem; font-weight: 600; opacity: .9; text-transform: uppercase; letter-spacing: .08em; }

/* Pulse animation on primary CTAs */
@keyframes pulse-ring {
  0%   { box-shadow: 0 8px 22px rgba(255,122,0,.38), 0 0 0 0 rgba(255,122,0,.55); }
  70%  { box-shadow: 0 8px 22px rgba(255,122,0,.38), 0 0 0 18px rgba(255,122,0,0); }
  100% { box-shadow: 0 8px 22px rgba(255,122,0,.38), 0 0 0 0 rgba(255,122,0,0); }
}
.pulse { animation: pulse-ring 2.2s infinite; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe0f5; font-size: .85rem; font-weight: 600; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar__phone { color: var(--yellow); font-weight: 800; }
.topbar__phone:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; }
.logo__icon svg { display: block; }
.logo__text { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.logo__text span { color: var(--orange); }
.nav { display: flex; gap: 1.6rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; display: block; background: var(--navy); }
.hero__bg img { width: 100%; height: 100%; display: block; }
.hero__bg img { object-fit: cover; object-position: center 60%; }
.hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.78) 45%, rgba(11,31,58,.35) 100%),
    linear-gradient(180deg, rgba(11,31,58,.2), rgba(11,31,58,.6));
}
.hero__content { position: relative; z-index: 1; padding: 4.5rem 0 5rem; max-width: 760px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.02; margin: 1rem 0 1.2rem; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #dbe6f5; max-width: 620px; margin-bottom: 2rem; }
.hero__sub strong { color: var(--white); }
.hero__cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__cta-note { display: flex; flex-direction: column; line-height: 1.3; }
.hero__cta-note strong { font-size: 1.05rem; color: var(--yellow); }
.hero__cta-note span { color: #cfe0f5; font-size: .9rem; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .95rem; color: #e8f0fb; }

/* Geo greeting banner */
.geo-banner {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px); border-radius: 999px; padding: .5rem 1.1rem .5rem .8rem;
  font-weight: 600; font-size: .95rem; color: var(--white);
  opacity: 0; transform: translateY(-8px); transition: opacity .5s ease, transform .5s ease;
}
.geo-banner.is-visible { opacity: 1; transform: none; }
.geo-banner__sub { font-weight: 600; color: #dbe6f5; }
.geo-banner__sub::before { content: '·'; margin-right: .6rem; opacity: .6; }
.geo-banner__dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .4; } }

/* ---------- Stats strip ---------- */
.stats { background: var(--navy-2); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 1.4rem .5rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat span { font-size: .85rem; color: #b8cbe6; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--off); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.section__head--light p { color: #b8cbe6; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__tag {
  align-self: flex-start; background: var(--orange); color: var(--white);
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 6px;
}
.card__tag--alt { background: var(--navy); }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__list { list-style: none; color: var(--text); font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.card__list li { padding-left: 1.3rem; position: relative; margin: .25rem 0; }
.card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.card .btn { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--orange) 0%, #ff9a3c 100%); color: var(--white); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.6rem 0; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { opacity: .95; font-weight: 600; margin-top: .3rem; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why__badge {
  position: absolute; bottom: -1.2rem; right: -1rem; background: var(--navy); color: var(--white);
  padding: 1rem 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.why__badge strong { font-size: 1.3rem; color: var(--yellow); }
.why__badge span { font-size: .85rem; color: #b8cbe6; }
.why__text h2 { margin-bottom: 1.6rem; }
.feat { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.feat__ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.5rem; }
.feat h3 { margin-bottom: .2rem; }
.feat p { color: var(--muted); font-size: .97rem; }
.why__text .btn { margin-top: .6rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius); background: var(--off); border: 1px solid var(--line); }
.step__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(255,122,0,.35);
}
.step p { color: var(--muted); margin-top: .4rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: 12px; margin: 0; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem;
  background: linear-gradient(transparent, rgba(11,31,58,.85)); font-weight: 600; font-size: .9rem;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.review__stars { color: var(--orange); font-size: 1.2rem; letter-spacing: .1em; margin-bottom: .8rem; }
.review p { font-size: 1.02rem; color: var(--text); margin-bottom: 1rem; }
.review footer { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.3rem; box-shadow: 0 2px 8px rgba(11,31,58,.05); }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); font-weight: 800; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { color: var(--muted); padding-bottom: 1.2rem; }
.faq__item p a { color: var(--orange); font-weight: 600; }
.faq__note { color: var(--muted); margin-bottom: 1rem; font-weight: 600; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; color: var(--white); text-align: center; overflow: hidden; }
.final-cta__bg { display: block; position: absolute; inset: 0; background: url('../img/event-red-960.webp') center / cover no-repeat; }
.final-cta__bg::after { content: ''; position: absolute; inset: 0; background: rgba(11,31,58,.86); }
.final-cta__inner { position: relative; z-index: 1; padding: 5.5rem 0; max-width: 820px; }
.final-cta h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.final-cta p { color: #cfe0f5; font-size: 1.15rem; margin-bottom: 2rem; }
.final-cta__small { font-size: .9rem !important; margin-top: 1.2rem !important; margin-bottom: 0 !important; opacity: .8; }

/* ---------- Footer ---------- */
.footer { background: #071429; color: #9fb4d1; font-size: .93rem; padding-bottom: 5.5rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding: 3rem 0 2rem; }
.footer__brand p { margin-top: .6rem; max-width: 340px; }
.footer .logo__text { color: var(--white); }
.footer__col { display: flex; flex-direction: column; gap: .45rem; }
.footer__col h4 { color: var(--white); margin-bottom: .4rem; font-size: 1rem; }
.footer__col a:hover { color: var(--white); }
.footer__phone { color: var(--yellow) !important; font-weight: 800; font-size: 1.15rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: none; align-items: center; gap: .9rem; padding: .75rem 1.1rem;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #ff8a1f, var(--orange)); color: var(--white);
  box-shadow: 0 -8px 30px rgba(11,31,58,.3);
}
.sticky-call__ring {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--orange);
  display: grid; place-items: center; flex-shrink: 0; animation: pulse-ring 2.2s infinite;
}
.sticky-call__ring .ico { width: 24px; height: 24px; }
.sticky-call__text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; line-height: 1.05; }
.sticky-call__text small { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .95; }

/* ---------- Floating desktop call button ---------- */
.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.05rem;
  padding: .9rem 1.4rem .9rem 1rem; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .15s ease, background .15s ease;
}
.float-call:hover { background: var(--orange); transform: translateY(-3px); }
.float-call .ico { width: 22px; height: 22px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .why { grid-template-columns: 1fr; gap: 3rem; }
  .why__media img { aspect-ratio: 16 / 10; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }
  .nav { display: none; }
  .btn--header { padding: .5rem .9rem .5rem .75rem; font-size: .9rem; flex-shrink: 0; }
  .btn--header .ico { width: 1.1em; height: 1.1em; }
  .header__inner { gap: .5rem; }
  .logo__text { font-size: 1.1rem; }
  .geo-banner { border-radius: 16px; align-items: flex-start; font-size: .9rem; }
  .geo-banner__dot { margin-top: .35rem; }
  .geo-banner__sub { display: none; }
  .hero { min-height: auto; }
  .hero__content { padding: 3.2rem 0 3.5rem; }
  .hero__cta .btn--xl { width: 100%; font-size: 1.2rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 3.5rem 0; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cta-band__inner { justify-content: center; text-align: center; }
  .cta-band .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .why__badge { right: 0; bottom: -1rem; }
  .sticky-call { display: flex; }
  .float-call { display: none; }
  .btn--xxl { width: 100%; }
  .center .btn { width: 100%; white-space: normal; }
  .final-cta__inner { padding: 4rem 0; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 1; }
  .logo__text { font-size: 1rem; }
  .logo__icon svg { width: 32px; height: 32px; }
  .btn--header { font-size: .82rem; padding: .45rem .75rem .45rem .65rem; }
}

/* ---------- Clickable images = call ---------- */
.img-call { display: block; position: relative; width: 100%; height: 100%; cursor: pointer; min-width: 0; }
.card, .card__img, .gallery__item, .why__media, .step { min-width: 0; }
.img-call img { width: 100%; height: 100%; object-fit: cover; }
.img-call::after {
  content: '📞 Tap to Call'; position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: var(--white); font-weight: 800; font-size: .8rem;
  padding: .4rem .8rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.3);
  pointer-events: none; opacity: .92;
}
.card__img .img-call img, .gallery__item .img-call img { width: 100%; height: 100%; object-fit: cover; }
.why__media .img-call::after { top: 16px; left: 16px; }
.hero__bg, .final-cta__bg { cursor: pointer; }
.hero__bg::after, .final-cta__bg::after { pointer-events: none; }
.hero__content, .final-cta__inner { pointer-events: none; }
.hero__content a, .hero__content .btn, .final-cta__inner a, .final-cta__inner .btn { pointer-events: auto; }
