/* ═══════════════════════════════════════════════════
   IRAWO STAR — GLOBAL STYLES
═══════════════════════════════════════════════════ */

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

/* Section base */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* Section header */
.section__header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}

.section__tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-primary);
}

.section__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  color: var(--c-white);
  margin-bottom: var(--sp-4);
  line-height: 1.05;
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--c-text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Glass card */
.glass-card {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.glass-card:hover {
  background: var(--c-glass-hover);
  border-color: rgba(21, 101, 192, 0.25);
  box-shadow: var(--shadow-glow);
}

/* Glow line divider */
[data-line] {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), transparent);
  border-radius: 1px;
  margin: var(--sp-6) 0;
}

/* ── CURSOR ─────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: #0d0d0d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out),
              height 0.35s var(--ease-out),
              border-color 0.35s;
}

body.cursor--hover .cursor__ring {
  width: 56px; height: 56px;
  border-color: var(--c-primary);
}

body.cursor--click .cursor__dot {
  width: 10px; height: 10px;
  background: var(--c-primary);
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(21, 101, 192, 0.35);
}

.btn--primary:hover {
  background: var(--c-dark-blue);
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.5);
  transform: translateY(-2px);
}

.btn--glass {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(20px);
  color: var(--c-white);
}

.btn--glass:hover {
  border-color: rgba(21, 101, 192, 0.4);
  background: var(--c-glass-hover);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-glass-border);
  color: var(--c-silver);
}

.btn--ghost:hover {
  border-color: var(--c-silver);
  color: var(--c-white);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

.btn--white {
  background: #ffffff;
  color: var(--c-primary);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  background: #f0f0f2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.25rem; font-size: var(--text-base); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--text-xs); }
.btn--full { width: 100%; justify-content: center; }

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Magnetic wrapper (JS handles the actual magnet) */
.btn--magnetic { will-change: transform; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--green { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge--red   { background: rgba(227, 27, 35, 0.15);  color: var(--c-accent); border: 1px solid rgba(227,27,35,0.3); }
.badge--blue  { background: var(--c-primary-dim); color: #60a5fa; border: 1px solid rgba(21,101,192,0.3); }
.badge--gray  { background: rgba(159,164,170,0.1); color: var(--c-dark-silver); border: 1px solid rgba(159,164,170,0.2); }

/* ── BOOKING SECTION ───────────────────────────── */
.booking-preview {
  position: relative;
}

.booking-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.booking-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
}

.booking-card__icon {
  font-size: 1.6rem;
}

.booking-card__title {
  font-size: 1.1rem;
  color: var(--c-white);
  font-weight: 600;
}

.booking-card__meta {
  color: var(--c-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-card__body {
  color: var(--c-text-dim);
  line-height: 1.7;
  font-size: var(--text-sm);
}

.booking-preview__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

/* ── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding: 0 var(--sp-8);
  height: var(--nav-h);
  transition: background var(--dur-base), backdrop-filter var(--dur-base), box-shadow var(--dur-base);
}

.nav.scrolled {
  background: rgba(249,249,249,0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav__logo img { width: 58px; height: 58px; object-fit: contain; }

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-primary {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1;
}

.nav__logo-secondary {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--c-primary);
  transition: width var(--dur-base) var(--ease-out);
}

.nav__link:hover,
.nav__link.active { color: #fff; }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active { color: #0d0d0d !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 18px;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav--open .nav__burger span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(249,249,249,0.97);
  backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  clip-path: circle(0% at 95% 4%);
  transition: clip-path 0.7s var(--ease-out);
  pointer-events: none;
}

.nav__mobile.open {
  clip-path: circle(150% at 95% 4%);
  pointer-events: all;
}

.nav__mobile-link {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: rgba(13,13,13,0.6);
  transition: color var(--dur-fast);
  letter-spacing: -0.03em;
}

.nav__mobile-link:hover { color: #0d0d0d; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 80, 0.80);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-6);
  opacity: 0; /* animated in */
}

.hero__tag-dot {
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,27,35,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(227,27,35,0); }
}

.hero__title {
  font-size: clamp(var(--text-4xl), 7vw, var(--text-7xl));
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-6);
  max-width: 900px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: #fff;
}

.hero__cycle-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
  padding-bottom: 0.08em;
}

.hero__cycle-text {
  display: inline-block;
}

.hero__cycle-text span {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-12);
  opacity: 0;
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--sp-8);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

.hero__scroll-track {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--c-primary);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { top: -50%; }
  100% { top: 100%; }
}

.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
}

.hero__stats {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-4) var(--sp-6);
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  opacity: 0;
}

.hero__stat { text-align: center; }
.hero__stat-num {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.15);
}

/* ── PAGE BANNER (inner pages) ──────────────────── */
.page-banner {
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-24);
  background: linear-gradient(160deg, #1565C0 0%, #1254a0 100%);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-6);
}

.page-banner__breadcrumb a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.page-banner__breadcrumb a:hover { color: #fff; }
.page-banner__breadcrumb .sep { color: rgba(255,255,255,0.3); }

.page-banner__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}

.page-banner__title span { color: var(--c-accent); }

.page-banner__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  line-height: 1.7;
}

/* ── CTA BANNER ─────────────────────────────────── */
.cta-banner {
  background: var(--c-bg-3);
  border-top: 1px solid var(--c-glass-border);
  text-align: center;
}

.cta-banner__content { max-width: 720px; margin: 0 auto; }

.cta-banner__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
