/* ==========================================================================
   Vida Travels by Alyana — shared stylesheet
   Palette grounded in Salamanca's honey sandstone architecture + Spanish
   ironwork teal shutters, with a Filipino-red accent. Signature motif is
   the "visa stamp": a perforated circular seal used for badges, step
   markers, and dividers throughout the site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --cream:      #F7EDE0;
  --cream-alt:  #FBF6EC;
  --paper:      #FFFDF9;
  --gold:       #C89B5C;
  --gold-deep:  #9C7238;
  --teal:       #2E4A3D;
  --teal-deep:  #1D3129;
  --brick:      #B7472A;
  --brick-deep: #8F3720;
  --ink:        #211D17;
  --ink-soft:   #6B6455;
  --line:       rgba(33,29,23,0.14);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Work Sans', -apple-system, sans-serif;

  --radius: 4px;
  --max: 1120px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

h1, h2, h3, h4{
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3{ font-size: 1.35rem; }

p{ margin: 0 0 1em; }
.lede{ font-size: 1.15rem; color: var(--ink-soft); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: '';
  width: 22px; height: 1px;
  background: var(--brick);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

section{ padding: 88px 0; }
@media (max-width: 720px){ section{ padding: 56px 0; } }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------------------------------- header ---------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,237,224,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand{
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px dashed var(--brick);
  display: grid; place-items: center;
  font-size: 0.7rem;
  color: var(--brick);
  font-family: var(--body);
  font-weight: 700;
}

nav.primary-nav{ display: flex; align-items: center; gap: 30px; }
nav.primary-nav ul{
  list-style: none; display: flex; gap: 28px;
  margin: 0; padding: 0;
}
nav.primary-nav a{
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.primary-nav a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--brick);
  transition: right 0.2s ease;
}
nav.primary-nav a:hover::after, nav.primary-nav a[aria-current="page"]::after{ right: 0; }
nav.primary-nav a[aria-current="page"]{ color: var(--brick); }

.has-dropdown{ position: relative; }
.dropdown{
  position: absolute; top: 100%; left: -14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(33,29,23,0.12);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a{ display: block; padding: 10px 12px; border-radius: 3px; font-size: 0.92rem; }
.dropdown a:hover{ background: var(--cream-alt); }
.dropdown a::after{ display: none; }

.nav-toggle{
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 4px;
  width: 42px; height: 38px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ''; display: block; width: 18px; height: 2px; background: var(--ink);
  position: relative; transition: 0.2s;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

@media (max-width: 860px){
  nav.primary-nav{
    position: fixed; inset: 78px 0 0 0;
    background: var(--cream);
    flex-direction: column; align-items: flex-start;
    padding: 24px 28px; gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  nav.primary-nav.open{ transform: translateX(0); }
  nav.primary-nav ul{ flex-direction: column; width: 100%; gap: 0; }
  nav.primary-nav li{ width: 100%; border-bottom: 1px solid var(--line); }
  nav.primary-nav a{ display: block; padding: 16px 4px; }
  .dropdown{
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; padding-left: 12px;
  }
  .has-dropdown.open .dropdown{ display: block; }
  .nav-toggle{ display: inline-flex; }
}

/* ---------------------------------- buttons ---------------------------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--brick); color: var(--paper); }
.btn-primary:hover{ background: var(--brick-deep); }
.btn-ghost{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-teal{ background: var(--teal); color: var(--paper); }
.btn-teal:hover{ background: var(--teal-deep); }

/* ---------------------------------- stamp (signature element) --------- */
.stamp{
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 132px; height: 132px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  color: var(--brick);
  text-align: center;
  font-family: var(--body);
  transform: rotate(-8deg);
  flex-shrink: 0;
}
.stamp::before{
  content: '';
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.55;
}
.stamp b{
  font-family: var(--display);
  font-size: 1.5rem;
  display: block;
  font-weight: 600;
}
.stamp small{
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.stamp-mark{
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px dashed var(--teal);
  color: var(--teal);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ---------------------------------- hero -------------------------------- */
.hero{
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
}
.hero-flags{ font-size: 1.4rem; letter-spacing: 0.2em; margin-bottom: 18px; }
.hero-cta-row{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.passport-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(33,29,23,0.35);
  position: relative;
}
.passport-card .rule{
  border: none; border-top: 1px dashed var(--line); margin: 20px 0;
}
.passport-row{ display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; padding: 6px 0; }
.passport-row span:first-child{ color: var(--ink-soft); }
.passport-row span:last-child{ font-weight: 600; text-align: right; }
.passport-card .stamp{ position: absolute; top: -20px; right: -14px; }

/* ---------------------------------- cards ------------------------------- */
.grid{ display: grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.card:hover{
  box-shadow: 0 20px 40px -24px rgba(33,29,23,0.3);
  transform: translateY(-3px);
}
.card .stamp-mark{ margin-bottom: 18px; }
.card h3{ margin-bottom: 10px; }
.card .card-link{
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--brick);
}

.tinted{ background: var(--cream-alt); }
.section-teal{ background: var(--teal); color: var(--paper); }
.section-teal h2, .section-teal h3{ color: var(--paper); }
.section-teal .eyebrow{ color: var(--gold); }
.section-teal .eyebrow::before{ background: var(--gold); }

/* ---------------------------------- steps (passport stamps) ------------ */
.steps{ display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px){ .steps{ grid-template-columns: 1fr; } }
.step{ text-align: left; }
.step .stamp{ margin-bottom: 18px; }

/* ---------------------------------- pricing table ----------------------- */
.price-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.price-table th, .price-table td{
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.94rem;
}
.price-table th{
  font-family: var(--display);
  font-weight: 600;
  background: var(--cream-alt);
}
.price-table td:not(:first-child), .price-table th:not(:first-child){ text-align: center; }
.price-table tr:last-child td{ border-bottom: none; }
.check{ color: var(--teal); font-weight: 700; }
.price-table .highlight{ background: var(--cream-alt); }

.table-scroll{ overflow-x: auto; }

/* ---------------------------------- faq --------------------------------- */
.faq-item{ border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  font-family: var(--body);
  font-size: 1.4rem;
  color: var(--brick);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ margin-top: 14px; color: var(--ink-soft); }

/* ---------------------------------- socials ------------------------------ */
.social-row{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.social-pill{
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--paper);
}
.social-pill:hover{ border-color: var(--brick); color: var(--brick); }

/* ---------------------------------- footer ------------------------------ */
footer.site-footer{
  background: var(--teal-deep);
  color: rgba(255,253,249,0.82);
  padding: 64px 0 28px;
}
footer .footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,253,249,0.15);
}
@media (max-width: 720px){ footer .footer-grid{ grid-template-columns: 1fr; } }
footer h4{ color: var(--paper); font-size: 1rem; margin-bottom: 16px; }
footer a{ text-decoration: none; color: inherit; }
footer ul{ list-style: none; margin: 0; padding: 0; }
footer li{ margin-bottom: 10px; }
footer a:hover{ color: var(--gold); }
.footer-bottom{
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,253,249,0.55);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.2rem; color: var(--paper); margin-bottom: 14px; }

/* ---------------------------------- misc -------------------------------- */
.divider-stamps{
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold-deep);
  margin: 8px 0 40px;
}
.divider-stamps span{ width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.note-callout{
  border-left: 3px solid var(--gold);
  background: var(--cream-alt);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.avatar-placeholder{
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 25%, rgba(200,155,92,0.35), transparent 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  display: grid; place-items: center;
  color: rgba(255,253,249,0.75);
  font-family: var(--display);
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line);
}

.badge-row{ display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

.tag{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--paper);
}
