/* ============================================
   ESORA IMMI — TEMPLATE 3: BOLD SHOWCASE
   Magazine-style full-bleed hero, dark theme accents,
   editorial typography, alternating layouts
   ============================================ */

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

:root {
  --primary: #1554A8;
  --primary-dark: #0D3D7E;
  --primary-darker: #082A5E;
  --primary-light: #2D6FCA;
  --primary-50: #EBF1FB;
  --primary-100: #D6E4F6;
  --primary-200: #B5CCED;
  --navy-deep: #051A36;
  --navy-mid: #0A2752;

  --white: #FFFFFF;
  --offwhite: #FAFBFD;
  --gray-50: #F5F7FB;
  --gray-100: #E8ECF4;
  --gray-200: #D5DCE8;
  --text-dark: #051A36;
  --text-body: #3A4866;
  --text-muted: #6B7795;
  --border-soft: rgba(10, 31, 61, 0.08);

  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 61, 0.16);
  --shadow-xl: 0 40px 100px rgba(8, 42, 94, 0.22);
  --shadow-blue: 0 16px 40px rgba(21, 84, 168, 0.28);

  --gradient-primary: linear-gradient(135deg, #1554A8 0%, #2D6FCA 100%);
  --gradient-deep: linear-gradient(135deg, #051A36 0%, #0A2752 50%, #1554A8 100%);
  --gradient-accent: linear-gradient(135deg, #1554A8, #051A36);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --serif: 'Roboto Serif', Georgia, serif;
  --sans: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--text-body); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.ai { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }

/* Typography */
.display { font-family: var(--serif); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--navy-deep); }
.display.italic em { font-style: italic; font-weight: 500; color: var(--primary); }
h1.display { font-size: clamp(2.8rem, 7vw, 6rem); }
h2.display { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3.display { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4.display { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--primary);
  padding: 8px 16px;
  background: var(--primary-50);
  border-radius: 100px;
  border: 1px solid var(--primary-100);
}
.eyebrow svg { color: var(--primary); }
.eyebrow.dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--primary-200); }
.eyebrow.dark svg { color: var(--primary-200); }

.lead { font-size: 1.125rem; line-height: 1.8; color: var(--text-body); font-weight: 400; }

/* Layout */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; position: relative; }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }

/* ============================================
   WORD-MASK ANIMATION (Visora-style)
   Each word slides up from below into a mask,
   left to right with stagger
   ============================================ */
.split-anim { display: block; }
.split-anim .split-word {
  display: inline-block;
  transform: translateY(-26px);
  opacity: 0;
  filter: blur(2px);
  transition:
    transform 0.7s cubic-bezier(.34, 1.18, .55, 1),
    opacity 0.55s ease-out,
    filter 0.55s ease-out;
  will-change: transform, opacity, filter;
}
.split-anim.is-visible .split-word {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.85s cubic-bezier(.22,.78,.32,1) 0.4s, transform 0.85s cubic-bezier(.22,.78,.32,1) 0.4s; }
.is-visible .fade-up,
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.55s; }
.fade-up.delay-2 { transition-delay: 0.7s; }
.fade-up.delay-3 { transition-delay: 0.85s; }
.fade-up.delay-4 { transition-delay: 1s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 100px; cursor: pointer; transition: all 0.4s cubic-bezier(.2,.7,.3,1); border: 1.5px solid transparent; position: relative; overflow: hidden; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline-dark:hover { background: var(--navy-deep); color: #fff; }
.btn .ai { font-size: 1em; transition: transform 0.3s ease; }
.btn:hover .ai { transform: translate(3px, -3px); }

/* ============================================
   HEADER
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: all 0.4s ease; }
.header.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--border-soft); }
.header.hero-mode { background: transparent; }
.header.hero-mode .nav-menu a, .header.hero-mode .nav-phone { color: #fff; }
.header.hero-mode .burger span { background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.header.hero-mode .logo .logo-dark { display: none; }
.header.hero-mode .logo .logo-light { display: block; }
.logo .logo-light { display: none; }
.header.scrolled .logo .logo-dark { display: block; }
.header.scrolled .logo .logo-light { display: none; }
.nav-menu { display: flex; gap: 40px; list-style: none; font-size: 0.92rem; font-weight: 500; transition: color 0.3s ease; }
.nav-menu a { color: var(--navy-deep); position: relative; padding: 6px 0; transition: color 0.3s ease; }
.nav-menu a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--primary); transition: color 0.3s ease; }
.nav-phone svg { color: var(--primary); }
.header.hero-mode .nav-phone svg { color: var(--primary-200); }
.nav-btn { padding: 12px 24px; font-size: 0.78rem; }
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 26px; height: 2px; background: var(--navy-deep); transition: all 0.3s ease; }
@media (max-width: 980px) { .nav-menu, .nav-phone { display: none; } .burger { display: flex; } }

/* ============================================
   HERO — Full-bleed magazine cover
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-deep);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,26,54,0.35) 0%, rgba(5,26,54,0.5) 60%, rgba(5,26,54,0.95) 100%),
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(21,84,168,0.4), transparent 70%);
  z-index: 2;
}

/* Decorative big number/year */
.hero-corner-info {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 5;
  font-weight: 600;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 0 0 100px;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--primary-200);
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 36px;
}
.hero h1 { color: #fff; margin-bottom: 32px; font-weight: 800; }
.hero h1 em { font-weight: 500; font-style: italic; color: var(--primary-200); }
.hero-meta {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 32px;
}
.hero-meta-item { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.hero-meta-item strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 2px; }

.hero-side {
  padding-bottom: 0;
}
.hero-side p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-down::after {
  content: "";
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .hero-corner-info { display: none; }
}

/* ============================================
   SECTION HEAD — magazine style
   ============================================ */
.section-head { margin-bottom: 80px; }
.section-head.center { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; margin-bottom: 80px; }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head h2 { margin-bottom: 0; }
.section-head .desc { margin-top: 24px; font-size: 1.05rem; color: var(--text-muted); max-width: 720px; }
.section-head.center .desc { margin-left: auto; margin-right: auto; }

.section-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;     /* default: left-aligned, matches left-aligned titles */
  gap: 16px;
  width: 100%;
  text-align: left;
}
.section-num::before {
  display: none;                    /* left-aligned: no leading line */
}
.section-num::after {
  content: "";
  height: 1px;
  background: var(--gray-200);
  flex: 0 1 60px;
  max-width: 60px;
}
/* Centered inside section-head.center (Countries, Process, Gallery) */
.section-head.center .section-num {
  justify-content: center;
  text-align: center;
}
.section-head.center .section-num::before {
  display: block;
  content: "";
  height: 1px;
  background: var(--gray-200);
  flex: 0 1 60px;
  max-width: 60px;
}
/* In dark sections, lines should be lighter */
.detail.greece .section-num::after,
.detail.greece .section-num::before,
.form-section .section-num::after,
.form-section .section-num::before {
  background: rgba(255,255,255,0.20);
}

/* ============================================
   AIRPLANE SECTION — Visora EXACT match
   Same as templates 1 & 2 with same color tokens
   ============================================ */
.airplane-section {
  position: relative;
  background: linear-gradient(180deg, var(--offwhite) 0%, var(--primary-50) 60%, var(--primary-100) 100%);
  padding: 130px 0 0;
  overflow: hidden;
}
.airplane-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, var(--offwhite), transparent);
  pointer-events: none;
}
.airplane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 5;
}
.airplane-left { position: relative; padding-bottom: 60px; }
.airplane-left .eyebrow { margin-bottom: 28px; }
.airplane-left h2 { margin-bottom: 28px; }
.airplane-left .lead { margin-bottom: 36px; max-width: 480px; color: var(--text-muted); }
.airplane-wrap {
  margin-top: 60px;
  margin-left: -30px;
  position: relative;
}
.airplane-wrap img {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(8, 42, 94, 0.18));
  will-change: transform;
  animation: airplaneFloat 6s ease-in-out infinite;
}
@keyframes airplaneFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -12px) rotate(-1.5deg); }
}

/* RIGHT: 3 feature rows stacked with horizontal dividers */
.airplane-right {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  border-radius: var(--radius-md);
}
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(10, 31, 61, 0.12);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row:first-child { padding-top: 0; }
.feature-icon {
  width: 72px; height: 72px;
  background: var(--white);
  border: 1px solid var(--primary-100);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 1.7rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(21, 84, 168, 0.06);
  flex-shrink: 0;
}
.feature-row:hover .feature-icon { background: var(--primary); color: #fff; transform: scale(1.05); box-shadow: var(--shadow-blue); }
.feature-content h4 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px;
}
.feature-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 980px) {
  .airplane-grid { grid-template-columns: 1fr; gap: 40px; }
  .airplane-wrap { margin-left: 0; }
}

/* ============================================
   ICON CARD (image 4 style) — used in countries + why
   Rounded white card with filled blue circle icon
   that has an outer halo ring,
   and a horizontal divider line under the title
   ============================================ */
.icon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(.22,.78,.32,1);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.icon-card::before {
  /* Diagonal corner stripe — the "vệt dài" highlight from top-left
     fading out toward the center, like a folded paper / light wash */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(10, 31, 61, 0.10) 0%,
    rgba(10, 31, 61, 0.055) 14%,
    rgba(10, 31, 61, 0.025) 28%,
    rgba(10, 31, 61, 0.008) 42%,
    transparent 60%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.icon-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-xl);
}

/* The filled circle icon with outer halo ring (image 4 pattern) */
.card-icon {
  position: relative;
  width: 64px; height: 64px;
  margin-bottom: 28px;
  z-index: 2;
}
.card-icon::before {
  /* outer halo ring */
  content: "";
  position: absolute;
  inset: -10px;
  background: var(--primary-50);
  border-radius: 50%;
  z-index: 1;
}
.card-icon::after {
  /* inner filled circle */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(21, 84, 168, 0.30);
  z-index: 2;
}
.card-icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px; height: 28px;
  color: #fff;
  z-index: 3;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 18px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

/* THE LONG DIVIDER UNDER TITLE — "vạch bao dài" */
.card-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(10, 31, 61, 0.10);
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
}

.card-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 2;
  flex: 1;
}

.card-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.card-price { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.card-price small { display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--navy-deep); letter-spacing: 0.08em; text-transform: uppercase; transition: gap 0.3s ease, color 0.3s ease; }
.card-link:hover { gap: 12px; color: var(--primary); }

/* Country card variant with image */
.icon-card .card-img {
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-top: 24px;
  margin-bottom: -32px;
  height: 200px;
  overflow: hidden;
}
.icon-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.icon-card:hover .card-img img { transform: scale(1.05); }

/* ============================================
   COUNTRIES — alternating asymmetric layout
   ============================================ */
.countries { background: var(--white); padding: 130px 0; }
.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .countries-grid { grid-template-columns: 1fr; } }

/* ============================================
   WHY SECTION — Big stats + icon cards
   ============================================ */
.why {
  background: var(--gray-50);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.why-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: end;
}
.why-intro p { font-size: 1.08rem; line-height: 1.85; color: var(--text-body); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-grid .icon-card { background: var(--white); }
@media (max-width: 980px) { .why-intro { grid-template-columns: 1fr; gap: 24px; } .why-grid { grid-template-columns: 1fr; } }

/* ============================================
   DETAIL SECTIONS — full-bleed magazine spread
   Alternating: image takes 60% on one side
   ============================================ */
.detail { position: relative; padding: 130px 0; overflow: hidden; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.detail-text .eyebrow { margin-bottom: 24px; }
.detail-text h2 { margin-bottom: 28px; }
.detail-text > p { font-size: 1.05rem; color: var(--text-body); margin-bottom: 32px; line-height: 1.85; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-bottom: 40px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.96rem; line-height: 1.7; color: var(--text-body); }
.feature-list .checkdot { flex-shrink: 0; width: 22px; height: 22px; background: var(--primary); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; margin-top: 2px; box-shadow: 0 4px 10px rgba(21, 84, 168, 0.25); }
.feature-list li strong { color: var(--navy-deep); font-weight: 700; }

.detail-visual { position: relative; }
.detail-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-photo.main { aspect-ratio: 4/5; }

.detail-stat-card {
  position: absolute;
  background: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 18px;
}
.detail-stat-card .num-big { font-family: var(--serif); font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.detail-stat-card .lbl { font-size: 0.78rem; line-height: 1.4; color: var(--text-muted); max-width: 130px; }

.detail.malta { background: var(--white); }
.detail.malta .detail-stat-card { bottom: -30px; left: -30px; }

.detail.greece { background: var(--navy-deep); color: rgba(255,255,255,0.9); }
.detail.greece .detail-text { order: 2; }
.detail.greece .detail-visual { order: 1; }
.detail.greece h2 { color: #fff; }
.detail.greece .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--primary-200); }
.detail.greece .eyebrow svg { color: var(--primary-200); }
.detail.greece > .container > .detail-grid > .detail-text > p { color: rgba(255,255,255,0.75); }
.detail.greece .feature-list li { color: rgba(255,255,255,0.85); }
.detail.greece .feature-list li strong { color: #fff; }
.detail.greece .detail-stat-card { bottom: -30px; right: -30px; }

.detail.cyprus { background: var(--gray-50); }
.detail.cyprus .detail-stat-card { top: -30px; right: -30px; }

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 50px; }
  .detail.greece .detail-text { order: 2; }
  .detail.greece .detail-visual { order: 1; }
  .detail-stat-card { position: relative !important; inset: auto !important; margin-top: 20px; }
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-section {
  position: relative;
  background: var(--gradient-deep);
  color: #fff;
  padding: 130px 0;
  overflow: hidden;
}
.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--form-bg, url('../images/form-bg.jpg'));
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}
.form-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(21,84,168,0.5), transparent 60%);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 5;
}
.form-info .eyebrow { margin-bottom: 28px; }
.form-info h2 { color: #fff; margin-bottom: 28px; }
.form-info > p { color: rgba(255,255,255,0.78); margin-bottom: 36px; font-size: 1.05rem; line-height: 1.8; }
.form-perks { list-style: none; display: grid; gap: 14px; }
.form-perks li { display: flex; gap: 12px; align-items: center; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.form-perks .checkdot { flex-shrink: 0; width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; }

.form-card {
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-xl);
}
.form-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; }
.form-card .sub { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 28px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-deep); margin-bottom: 8px; }
.form-row label .req { color: #D33; margin-left: 4px; }
.form-row input, .form-row select {
  width: 100%;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 0.98rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--offwhite);
  color: var(--text-dark);
  transition: all 0.3s ease;
}
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-50); }
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231554A8' d='M6 8L0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 14px; padding: 18px 32px; }
.form-card .legal { margin-top: 18px; font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

@media (max-width: 980px) { .form-grid { grid-template-columns: 1fr; gap: 50px; } .form-card { padding: 32px 24px; } }

/* ============================================
   PROCESS — vertical timeline
   ============================================ */
.process { background: var(--white); padding: 130px 0; position: relative; }
.process-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 47px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-100), var(--primary), var(--primary-100));
}
.process-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.step-num-circle {
  width: 96px; height: 96px;
  background: #fff;
  border: 2px solid var(--primary-100);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.4s ease;
}
.process-step:hover .step-num-circle { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.05); }
.step-content {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--border-soft);
  transition: all 0.4s ease;
}
.process-step:hover .step-content { background: #fff; box-shadow: var(--shadow-md); border-color: var(--primary-100); }
.step-content h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; }
.step-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 720px) { .process-timeline::before { left: 30px; } .process-step { grid-template-columns: 60px 1fr; gap: 20px; } .step-num-circle { width: 60px; height: 60px; font-size: 1.2rem; } }

/* ============================================
   ABOUT — split with image left, text + stats right
   ============================================ */
.about { background: var(--gray-50); padding: 130px 0; position: relative; overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.av-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.av-main img { width: 100%; height: 100%; object-fit: cover; }
.av-accent {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 10px solid var(--gray-50);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}
.av-accent img { width: 100%; height: 100%; object-fit: cover; }
.av-stat-badge {
  position: absolute;
  top: 30px; left: -30px;
  background: var(--primary);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-blue);
  text-align: center;
  z-index: 3;
}
.av-stat-badge strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.av-stat-badge span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

.about-text .eyebrow { margin-bottom: 24px; }
.about-text h2 { margin-bottom: 28px; }
.about-text > p { font-size: 1.05rem; line-height: 1.85; color: var(--text-body); margin-bottom: 36px; }
.about-features { display: grid; gap: 22px; margin-bottom: 40px; }
.about-feat { display: flex; gap: 18px; align-items: flex-start; }
.about-feat .ai-wrap {
  width: 52px; height: 52px;
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 84, 168, 0.08);
}
.about-feat h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; }
.about-feat p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.7; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.about-stat .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 800; color: var(--navy-deep); line-height: 1; }
.about-stat .n small { font-size: 1.3rem; color: var(--primary); }
.about-stat .l { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 50px; } .av-stat-badge { left: 20px; } .av-accent { width: 45%; right: -20px; bottom: -20px; } }

/* ============================================
   GALLERY — clients
   ============================================ */
.gallery { background: var(--white); padding: 130px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.client-card { background: var(--gray-50); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.5s ease; border: 1px solid transparent; }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.client-img { aspect-ratio: 1; position: relative; overflow: hidden; }
.client-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.client-card:hover .client-img img { transform: scale(1.07); }
.client-flag { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.96); color: var(--primary); padding: 5px 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; border-radius: 100px; z-index: 2; }
.client-body { padding: 18px 20px; }
.client-body h4 { font-family: var(--serif); font-size: 1.02rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.client-body .meta { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; }
.client-body .meta::before { content: "◆ "; color: var(--primary); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 100px 0 30px; position: relative; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo img { height: 60px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 42px; height: 42px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.05rem; transition: all 0.3s ease; }
.footer-socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.footer-col h5 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h5::after { content: ""; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-col a { transition: color 0.3s ease, padding 0.3s ease; display: inline-block; }
.footer-col a:hover { color: var(--primary-200); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; font-size: 0.92rem; line-height: 1.6; }
.footer-contact li .ai { color: var(--primary-200); font-size: 1.15em; margin-top: 4px; flex-shrink: 0; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-bottom .badges { display: flex; gap: 18px; }
.footer-bottom .badges a { color: rgba(255,255,255,0.45); }
.footer-bottom .badges a:hover { color: var(--primary-200); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile nav drawer */
.nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-md); padding: 30px; gap: 22px; z-index: 99; }
.header.hero-mode .nav-menu.open a { color: var(--navy-deep); }

/* ============================================
   ⭐ RESPONSIVE — comprehensive mobile + tablet
   ============================================ */

/* Section-num: prevent line wrap of small text */
.section-num { white-space: nowrap; }

/* ============================================
   TABLET — 980px and below
   ============================================ */
@media (max-width: 980px) {
  .container, .container-narrow { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-head, .section-head.center { margin-bottom: 50px; }
  .section-num { font-size: 0.78rem; letter-spacing: 0.24em; }
}

/* ============================================
   MOBILE — 760px and below
   ============================================ */
@media (max-width: 760px) {
  .container, .container-narrow { padding: 0 20px; }

  /* Typography scaling */
  h1.display { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2.display { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  h3.display { font-size: 1.2rem; }
  .lead { font-size: 1rem; }

  /* Section spacing */
  .section { padding: 70px 0; }

  /* HEADER mobile fixes */
  .header { padding: 14px 0; }
  .nav-btn { display: none; }            /* hide CTA on mobile - burger handles it */
  .nav-cta { gap: 14px; }
  .logo img { height: 36px; }
  .burger { padding: 8px; margin-right: -8px; }
  .burger span { width: 22px; }

  /* HERO mobile */
  .hero { min-height: auto; padding: 0; }
  .hero-content { padding: 110px 0 80px; }
  .hero-corner-info { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-tag { font-size: 0.65rem; padding: 8px 16px; letter-spacing: 0.2em; }
  .hero-meta { gap: 18px; padding: 22px 0; flex-wrap: wrap; }
  .hero-meta-item { font-size: 0.78rem; flex: 1 1 30%; }
  .hero-meta-item strong { font-size: 0.95rem; }
  .hero-side p { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { font-size: 0.74rem; padding: 14px 22px; flex: 1 1 auto; justify-content: center; }
  .scroll-down { display: none; }

  /* AIRPLANE SECTION mobile */
  .airplane-section { padding: 70px 0 0; }
  .airplane-grid { gap: 40px; }
  .airplane-left { padding-bottom: 30px; }
  .airplane-left .lead { font-size: 0.98rem; }
  .airplane-wrap { margin: 30px -20px 0 -20px; padding: 0 20px; }
  .airplane-wrap img { max-width: 100%; }
  .airplane-right .feature-row { padding: 22px 0; gap: 18px; }
  .airplane-right .feature-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .feature-content h4 { font-size: 1.05rem; }
  .feature-content p { font-size: 0.88rem; }

  /* ICON CARD mobile */
  .icon-card { padding: 28px 24px 24px; border-radius: var(--radius-md); }
  .card-icon { width: 56px; height: 56px; margin-bottom: 22px; }
  .card-icon svg { width: 24px; height: 24px; }
  .card-title { font-size: 1.15rem; margin-bottom: 14px; }
  .card-divider { margin: 0 0 16px; }
  .card-desc { font-size: 0.92rem; }
  .icon-card .card-img { width: calc(100% + 48px); margin-left: -24px; margin-right: -24px; margin-bottom: -24px; height: 160px; }
  .card-foot { margin-top: 18px; padding-top: 16px; }

  /* COUNTRIES mobile */
  .countries-grid { gap: 20px; }

  /* WHY mobile */
  .why-intro { gap: 20px; margin-bottom: 40px; }
  .why-intro p { font-size: 1rem; }
  .why-grid { gap: 20px; }

  /* DETAIL mobile */
  .detail { padding: 70px 0; }
  .detail-grid { gap: 40px; }
  .detail-text > p { font-size: 1rem; margin-bottom: 24px; }
  .feature-list { gap: 12px; margin-bottom: 28px; }
  .feature-list li { font-size: 0.92rem; }
  .feature-list .checkdot { width: 20px; height: 20px; font-size: 0.65rem; }
  .detail-photo.main { aspect-ratio: 4/3; }
  .detail-stat-card { padding: 18px 22px; gap: 14px; }
  .detail-stat-card .num-big { font-size: 1.8rem; }
  .detail-stat-card .lbl { font-size: 0.72rem; }

  /* FORM mobile */
  .form-section { padding: 70px 0; }
  .form-info p { font-size: 0.98rem; }
  .form-card { padding: 28px 22px; }
  .form-card h3 { font-size: 1.35rem; }
  .form-row input, .form-row select { padding: 13px 16px; font-size: 0.96rem; }

  /* PROCESS mobile */
  .process { padding: 70px 0; }
  .process-timeline::before { left: 28px; }
  .process-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-num-circle { width: 56px; height: 56px; font-size: 1.1rem; }
  .step-content { padding: 20px 22px; }
  .step-content h4 { font-size: 1.05rem; }
  .step-content p { font-size: 0.88rem; }

  /* ABOUT mobile */
  .about { padding: 70px 0; }
  .about-grid { gap: 50px; }
  .about-visual { max-width: 90%; margin: 0 auto; }
  .av-stat-badge { top: 16px; left: -12px; padding: 14px 18px; }
  .av-stat-badge strong { font-size: 1.5rem; }
  .av-stat-badge span { font-size: 0.62rem; }
  .av-accent { width: 50%; right: -16px; bottom: -16px; border-width: 6px; }
  .about-text > p { font-size: 0.98rem; }
  .about-feat .ai-wrap { width: 46px; height: 46px; font-size: 1.05rem; }
  .about-feat h4 { font-size: 1.02rem; }
  .about-feat p { font-size: 0.9rem; }
  .about-stats { gap: 18px; padding-top: 24px; }
  .about-stat .n { font-size: 1.8rem; }
  .about-stat .n small { font-size: 1rem; }
  .about-stat .l { font-size: 0.7rem; }

  /* GALLERY mobile */
  .gallery { padding: 70px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
  .client-body { padding: 14px 16px; }
  .client-body h4 { font-size: 0.92rem; }
  .client-body .meta { font-size: 0.72rem; }
  .client-flag { padding: 4px 10px; font-size: 0.62rem; }

  /* FOOTER mobile */
  footer { padding: 60px 0 24px; }
  .footer-grid { gap: 36px; margin-bottom: 36px; }
  .footer-brand .logo img { height: 50px; }
  .footer-col h5 { font-size: 0.98rem; margin-bottom: 16px; }
  .footer-bottom { font-size: 0.78rem; }
}

/* ============================================
   SMALL MOBILE — 420px and below
   ============================================ */
@media (max-width: 420px) {
  .container, .container-narrow { padding: 0 16px; }

  h1.display { font-size: 1.95rem; line-height: 1.1; }
  h2.display { font-size: 1.6rem; }

  .hero-meta { flex-direction: column; gap: 14px; align-items: flex-start; padding: 20px 0; }
  .hero-meta-item { flex: 1 1 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .nav-cta .btn { display: none; }
  .logo img { height: 32px; }

  .icon-card .card-img { height: 140px; }

  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }

  /* About visual stack */
  .av-accent { width: 45%; right: -8px; bottom: -8px; border-width: 5px; }
  .av-stat-badge { padding: 12px 14px; }
  .av-stat-badge strong { font-size: 1.3rem; }
}