/* ============================================================
   HOLIDAYTIME — Design System
   Refined Mediterranean Travel Platform
   Palette: Deep navy + warm turquoise + orange CTA
   Type: Playfair Display (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --blue-950: #05102b; --blue-900: #0a1f4e; --blue-800: #0f2d6b;
  --blue-700: #1a3d8f; --blue-600: #1e4db7; --blue-500: #2563eb;
  --blue-400: #3b82f6; --blue-300: #93c5fd; --blue-200: #bfdbfe;
  --blue-100: #dbeafe; --blue-50:  #eff6ff;

  --teal-600: #0d9488; --teal-500: #14b8a6; --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;

  --orange-700: #c2410c; --orange-600: #ea580c; --orange-500: #f97316;
  --orange-400: #fb923c; --orange-100: #ffedd5;

  --gray-950: #0c0e13; --gray-900: #111827; --gray-800: #1f2937;
  --gray-700: #374151; --gray-600: #4b5563; --gray-500: #6b7280;
  --gray-400: #9ca3af; --gray-300: #d1d5db; --gray-200: #e5e7eb;
  --gray-100: #f3f4f6; --gray-50: #f9fafb; --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --radius-xl: 16px; --radius-2xl: 24px; --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --shadow-blue: 0 4px 14px rgba(30,77,183,.28);
  --shadow-cta: 0 4px 14px rgba(249,115,22,.38);

  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-smooth: cubic-bezier(0.4,0,0.2,1);
  --dur-fast: 150ms; --dur-normal: 250ms; --dur-slow: 400ms;

  --max-w: 1200px;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --header-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--gray-900);background:var(--gray-50);-webkit-font-smoothing:antialiased;line-height:1.6}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font:inherit}
ul,ol{list-style:none}
input,select,textarea{font:inherit}

/* ── Layout ─────────────────────────────────────────────────── */
.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 var(--pad)}
.section{padding:5rem 0}
.section--lg{padding:7rem 0}
.section--sm{padding:3rem 0}
.section--white{background:var(--white)}
.section--navy{background:var(--blue-900);color:var(--white)}
.section--light{background:var(--blue-50)}

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.15;font-weight:600}
.display{font-size:clamp(2.25rem,5.5vw,4rem);line-height:1.05;letter-spacing:-0.02em}
.heading-1{font-size:clamp(1.75rem,3.5vw,2.5rem)}
.heading-2{font-size:clamp(1.375rem,3vw,2rem)}
.heading-3{font-size:1.25rem}
.eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--orange-500);display:flex;align-items:center;gap:.5rem}
.eyebrow::before{content:'';display:block;width:20px;height:2px;background:var(--orange-500);border-radius:2px;flex-shrink:0}
.text-muted{color:var(--gray-500)}
.text-white{color:var(--white)}
.text-blue{color:var(--blue-600)}
.text-center{text-align:center}

/* ── Buttons ────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.6875rem 1.5rem;border-radius:var(--radius-md);font-size:.9375rem;font-weight:500;line-height:1;transition:all var(--dur-normal) var(--ease-out);white-space:nowrap;cursor:pointer}
.btn-primary{background:var(--blue-600);color:var(--white);box-shadow:var(--shadow-blue)}
.btn-primary:hover{background:var(--blue-700);transform:translateY(-1px);box-shadow:0 6px 20px rgba(30,77,183,.38)}
.btn-cta{background:var(--orange-500);color:var(--white);box-shadow:var(--shadow-cta);font-weight:600}
.btn-cta:hover{background:var(--orange-600);transform:translateY(-2px);box-shadow:0 6px 24px rgba(249,115,22,.48)}
.btn-outline{background:transparent;color:var(--blue-600);border:1.5px solid var(--blue-400)}
.btn-outline:hover{background:var(--blue-50);border-color:var(--blue-600)}
.btn-white{background:var(--white);color:var(--blue-800);box-shadow:var(--shadow-md)}
.btn-white:hover{background:var(--blue-50);transform:translateY(-1px)}
.btn-ghost{background:rgba(255,255,255,.12);color:var(--white);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2)}
.btn-ghost:hover{background:rgba(255,255,255,.22)}
.btn-lg{padding:.875rem 2rem;font-size:1rem;border-radius:var(--radius-lg)}
.btn-sm{padding:.5rem 1rem;font-size:.875rem}
.btn-full{width:100%}

/* ── Cards ──────────────────────────────────────────────────── */
.card{background:var(--white);border-radius:var(--radius-xl);box-shadow:var(--shadow-sm);border:1px solid var(--gray-200);overflow:hidden;transition:box-shadow var(--dur-normal) var(--ease-out),transform var(--dur-normal) var(--ease-out)}
.card:hover{box-shadow:var(--shadow-xl);transform:translateY(-4px)}
.card__img{position:relative;overflow:hidden;aspect-ratio:4/3}
.card__img img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-slow) var(--ease-out)}
.card:hover .card__img img{transform:scale(1.06)}
.card__badge{position:absolute;top:.625rem;left:.625rem;padding:.25rem .625rem;border-radius:var(--radius-full);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.badge-blue{background:var(--blue-600);color:var(--white)}
.badge-orange{background:var(--orange-500);color:var(--white)}
.badge-teal{background:var(--teal-500);color:var(--white)}
.badge-dark{background:rgba(0,0,0,.5);color:var(--white);backdrop-filter:blur(4px)}
.card__body{padding:1.25rem}
.card__footer{padding:.875rem 1.25rem;border-top:1px solid var(--gray-100);display:flex;align-items:center;justify-content:space-between}
.card__title{font-family:var(--font-display);font-size:1.0625rem;font-weight:600;margin-bottom:.375rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
.card__meta{display:flex;align-items:center;gap:.625rem;font-size:.8125rem;color:var(--gray-500);margin-bottom:.625rem;flex-wrap:wrap}
.card__meta-item{display:flex;align-items:center;gap:.25rem}
.card__price{font-family:var(--font-display)}
.card__price .from{font-size:.6875rem;font-family:var(--font-body);color:var(--gray-500);display:block;margin-bottom:.125rem}
.card__price .amount{font-size:1.375rem;font-weight:700;color:var(--blue-700)}
.card__price .per{font-size:.8125rem;color:var(--gray-500);font-family:var(--font-body);font-weight:400}

/* Stars */
.stars{display:flex;gap:1px;color:#f59e0b}
.stars .empty{color:var(--gray-300)}
.rating-count{font-size:.8125rem;color:var(--gray-500);margin-left:.25rem}

/* ── Section header ─────────────────────────────────────────── */
.section-hd{margin-bottom:2.5rem}
.section-hd h2{font-size:clamp(1.625rem,3.5vw,2.25rem);margin:.625rem 0 .75rem}
.section-hd p{font-size:1.0625rem;color:var(--gray-500);max-width:520px}
.section-hd.centered{text-align:center}
.section-hd.centered p{margin:0 auto}
.section-hd.centered .eyebrow{justify-content:center}
.section-hd.centered .eyebrow::before{display:none}

/* ── Grids ──────────────────────────────────────────────────── */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}

/* ── Form ───────────────────────────────────────────────────── */
.form-group{display:flex;flex-direction:column;gap:.25rem}
.form-label{font-size:.8125rem;font-weight:500;color:var(--gray-700)}
.form-input,.form-select{height:44px;padding:0 1rem;border:1.5px solid var(--gray-300);border-radius:var(--radius-md);font-size:.9375rem;color:var(--gray-900);background:var(--white);width:100%;transition:border-color var(--dur-fast),box-shadow var(--dur-fast)}
.form-input:focus,.form-select:focus{outline:none;border-color:var(--blue-500);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.form-input::placeholder{color:var(--gray-400)}
.form-input--lg,.form-select--lg{height:52px;font-size:1rem;padding:0 1.25rem;border-radius:var(--radius-lg)}

/* ── Pills ──────────────────────────────────────────────────── */
.pill{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:var(--radius-full);font-size:.8125rem;font-weight:500}
.pill-blue{background:var(--blue-100);color:var(--blue-800)}
.pill-orange{background:var(--orange-100);color:var(--orange-600)}
.pill-teal{background:var(--teal-100);color:var(--teal-600)}
.pill-gray{background:var(--gray-100);color:var(--gray-700)}

/* ── Divider ────────────────────────────────────────────────── */
.divider{height:1px;background:var(--gray-200)}

/* ── Animations ─────────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(20px);transition:opacity var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out)}
.reveal.in{opacity:1;transform:none}
.reveal-d1{transition-delay:80ms}
.reveal-d2{transition-delay:160ms}
.reveal-d3{transition-delay:240ms}
.reveal-d4{transition-delay:320ms}

/* ── Responsive ─────────────────────────────────────────────── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  :root{--header-h:60px}
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .section{padding:3.5rem 0}
  .section--lg{padding:5rem 0}
  .hide-mob{display:none!important}
}
@media(min-width:769px){.show-mob{display:none!important}}
