/* ===== Brand: teal + sand + gold (inspired by the original Yo Amo Travel colors) ===== */
:root {
  --teal: #0b7f89;
  --teal-dark: #075e66;
  --teal-light: #e6f5f6;
  --gold: #e3a646;
  --peach: #f4c27a;
  --sand: #fdf6ec;
  --ink: #12252c;
  --muted: #5b6b70;
  --line: #e7e2d9;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(18, 37, 44, 0.09);
  --font-head: "DM Serif Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); }
h1 em { color: var(--teal); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .75rem; }
h3 { font-size: 1.4rem; margin-bottom: .4rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 700; color: var(--teal); margin-bottom: .75rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--teal); color: var(--white); text-decoration: none;
  padding: .9rem 1.7rem; border-radius: 999px; border: 2px solid var(--teal);
  cursor: pointer; font: inherit; font-weight: 600; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-small { padding: .55rem 1.2rem; }
.btn-block { width: 100%; }

/* ===== Header / logo ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; text-transform: uppercase; }
.logo-top { font-weight: 700; letter-spacing: .2em; font-size: .78rem; color: var(--gold); }
.logo-bottom { font-family: var(--font-head); font-size: 1.65rem; letter-spacing: .08em; color: var(--teal); }
.logo-light .logo-bottom { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--sand), var(--white)); padding-block: 4.5rem 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.25rem 0 2rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .92rem; font-weight: 500; }
.hero-badges li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: .45rem; }
.hero-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero-img-main { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-img-small {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover;
  border-radius: 22px; border: 6px solid var(--white); box-shadow: var(--shadow);
}
.hero-media::before {
  content: ""; position: absolute; right: -24px; top: -24px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--peach); opacity: .55; z-index: -1;
}

/* ===== Sections ===== */
.section { padding-block: 6rem; }
.section-sand { background: var(--sand); }
.section-teal { background: var(--teal-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.25rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.grid { display: grid; gap: 1.5rem; }
.four { grid-template-columns: repeat(4, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }

/* Services */
/* Services: informational, not clickable - no box, border or hover lift */
.service-card { display: grid; gap: 1rem; align-content: start; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service-body { padding: 0 .25rem; border-left: 3px solid var(--peach); padding-left: 1rem; }
.service-body h3 { margin-bottom: .35rem; }
.service-body p { color: var(--muted); font-size: .95rem; }

.favorites { margin-top: 3.5rem; text-align: center; color: var(--muted); }
.favorites p { font-weight: 600; color: var(--ink); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.favorites ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 0; }
.favorites li { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.favorites li:not(:last-child)::after { content: "·"; color: var(--gold); margin: 0 .7rem; }

/* Book online */
.book-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .25s, box-shadow .25s;
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.book-card p { color: var(--muted); flex: 1; margin-bottom: 1.25rem; }
.book-icon { font-size: 2rem; margin-bottom: .75rem; }
.link-arrow { color: var(--teal); font-weight: 600; }
.book-card-accent { background: var(--teal); border-color: var(--teal); color: var(--white); }
.book-card-accent p { color: rgba(255,255,255,.85); }
.book-card-accent .link-arrow { color: var(--peach); }
.book-card-wide { grid-column: 1 / -1; }
.book-card-split:hover { transform: none; box-shadow: none; }
.book-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.book-links a { text-decoration: none; }
.book-links a:hover { text-decoration: underline; }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.about-tag {
  position: absolute; bottom: 1.25rem; left: 1.25rem; background: var(--white); color: var(--teal-dark);
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
}
.about-tag::before { content: "✨ "; }
.about-text p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.1rem; }
.about-text .btn { margin-top: .75rem; }

/* Reviews */
.review { background: var(--white); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(18,37,44,.05); }
.stars { color: var(--gold); letter-spacing: .15em; margin-bottom: 1rem; }
.review blockquote { font-size: 1.05rem; flex: 1; margin-bottom: 1.5rem; }
.review figcaption { display: flex; align-items: center; gap: .85rem; font-size: .88rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-size: .98rem; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: grid; place-items: center; background: var(--peach); color: var(--ink); font-weight: 700;
}

/* Tips */
.tips { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.tips-intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.75rem; }
.tips-intro img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.accordion { display: grid; gap: .75rem; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.accordion details[open] { border-color: var(--teal); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion ul { padding: 0 1.3rem 1.2rem 2.5rem; color: var(--muted); display: grid; gap: .45rem; }
.accordion a { color: var(--teal); }

/* Contact */
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--peach); }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start; }
.contact-info > p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.contact-list li { display: grid; font-size: 1.1rem; }
.contact-list span { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.contact-list a, .social a { text-decoration: none; }
.contact-list a:hover, .social a:hover { color: var(--peach); }
.social { color: rgba(255,255,255,.75); }
.social a { color: var(--white); font-weight: 600; }
.contact-form { background: var(--white); color: var(--ink); padding: 2.25rem; border-radius: var(--radius); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .88rem; }
input, textarea {
  font: inherit; padding: .8rem .95rem; border: 1px solid #d5d9db; border-radius: 10px; width: 100%; background: #fbfbfa;
}
input:focus, textarea:focus { outline: 2px solid var(--teal); border-color: transparent; background: var(--white); }
.form-status { font-size: .95rem; min-height: 1.5em; }
.hidden-field { display: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status.error { color: #b91c1c; }
.form-status.success { color: var(--teal-dark); }

/* Footer */
.site-footer { background: #0b181d; color: #93a3a8; padding-block: 2.5rem; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-legal { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #1c2c32; font-size: .8rem; display: grid; gap: .3rem; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 1.25rem;
    background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .about, .tips, .contact { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero { padding-block: 3rem 3.5rem; }
  .hero-media { max-width: 520px; }
  .about-photo { max-width: 420px; }
  .three, .two { grid-template-columns: 1fr; }
  .section { padding-block: 4.5rem; }
}
@media (max-width: 560px) {
  .four, .field-row { grid-template-columns: 1fr; }
  .hero-media { padding: 0 0 1.75rem 1.75rem; }
  .contact-form { padding: 1.5rem; }
}

/* ===== Trip assistant chat ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; border: 0; cursor: pointer;
  background: var(--teal); color: var(--white); font: inherit; font-weight: 600;
  padding: .85rem 1.3rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(18,37,44,.25);
  transition: transform .2s, background .2s;
}
.chat-launcher:hover { background: var(--teal-dark); transform: translateY(-2px); }
.chat-launcher[hidden] { display: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 61; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 40px)); background: var(--white); border-radius: 20px;
  box-shadow: 0 20px 50px rgba(18,37,44,.28); display: flex; flex-direction: column; overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--teal); color: var(--white); padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.chat-head strong { display: block; font-size: 1.05rem; }
.chat-head span { font-size: .8rem; opacity: .85; }
.chat-close { background: none; border: 0; color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--sand); }
.chat-msg { max-width: 85%; padding: .65rem .9rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-assistant { background: var(--white); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(18,37,44,.06); }
.chat-user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-sent { align-self: center; font-size: .85rem; font-weight: 600; color: var(--teal-dark); background: var(--teal-light); padding: .35rem .8rem; border-radius: 999px; }
.chat-typing { display: flex; gap: 4px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: chat-dot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; max-height: 120px; padding: .65rem .8rem; border-radius: 12px; font-size: 16px; }
.chat-send { border: 0; background: var(--teal); color: var(--white); width: 44px; border-radius: 12px; cursor: pointer; font-size: 1.1rem; }
.chat-send:hover { background: var(--teal-dark); }
.chat-note { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 .75rem .6rem; }
@media (max-width: 700px) {
  .chat.search-in-view .chat-launcher { display: none; }
}
@media (max-width: 480px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .chat-launcher { right: 16px; bottom: 16px; }
}

/* ===== Trip search (homepage bar + chat start screen) ===== */
.trip-search {
  margin-top: 2.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 1rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end;
}
.trip-search > .ts-field { flex: 1 1 140px; }
.trip-search > .ts-airport { flex: 1.8 1 220px; }
.trip-search > .ts-small { flex: .6 1 90px; }
.trip-search.is-cruise > .ts-field[data-show="cruise"] { flex: 1.4 1 190px; }
.trip-search[hidden], .trip-search [hidden] { display: none; }
.ts-tabs { flex: 1 0 100%; display: flex; gap: .4rem; }
.ts-tab {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; padding: .45rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
}
.ts-tab[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.ts-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ts-field { display: grid; gap: .3rem; min-width: 0; }
.ts-field label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.trip-search input, .trip-search select,
.chat-search input, .chat-search select {
  font: inherit; font-size: 16px; padding: .7rem .8rem; border: 1px solid #d5d9db; border-radius: 10px;
  width: 100%; background: #fbfbfa; color: var(--ink); min-width: 0;
}
.trip-search input:focus, .trip-search select:focus,
.chat-search input:focus, .chat-search select:focus { outline: 2px solid var(--teal); border-color: transparent; background: var(--white); }
.ts-go { padding: .8rem 1.4rem; white-space: nowrap; }
@media (max-width: 700px) {
  .trip-search > .ts-field, .trip-search > .ts-small { flex: 1 1 40%; }
  .trip-search > .ts-airport, .trip-search.is-cruise > .ts-field[data-show="cruise"], .ts-go { flex: 1 0 100%; }
}

.chat-head-actions { display: flex; align-items: center; gap: .5rem; }
.chat-restart { background: none; border: 1px solid rgba(255,255,255,.6); color: var(--white); font: inherit; font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; cursor: pointer; }
.chat-restart:hover { background: rgba(255,255,255,.15); }
.chat-search { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); display: grid; gap: .7rem; max-height: 62%; overflow-y: auto; }
.chat-search[hidden], .chat-form[hidden] { display: none; }
.chat-search-title { font-weight: 600; }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.cs-field { display: grid; gap: .25rem; min-width: 0; }
.cs-field label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.cs-full { grid-column: 1 / -1; }
.cs-field[hidden] { display: none; }
.cs-check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.cs-check input { width: auto; }
.chat-start { border: 0; background: var(--teal); color: var(--white); font: inherit; font-weight: 600; padding: .8rem; border-radius: 12px; cursor: pointer; }
.chat-start:hover { background: var(--teal-dark); }
.chat-skip { border: 0; background: none; color: var(--teal); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; }
.chat-card { display: grid; gap: .2rem; min-width: 65%; }
.chat-card strong { margin-bottom: .15rem; }
.chat-card div { display: flex; justify-content: space-between; gap: .75rem; font-size: .88rem; }
.chat-card div span:first-child { opacity: .8; white-space: nowrap; flex-shrink: 0; }
.chat-card div span:last-child { text-align: right; }

/* ===== Free quote panel (opens the trip assistant) ===== */
.quote-start { background: var(--white); color: var(--ink); padding: 2.25rem; border-radius: var(--radius); display: grid; gap: 1.25rem; }
.quote-start-title { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.2; }
.quote-steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.quote-steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; gap: .25rem .85rem; color: var(--muted); }
.quote-steps li::before {
  content: counter(step); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-light); color: var(--teal-dark); font-weight: 700;
}
.quote-steps strong { color: var(--ink); display: block; }
.quote-fallback { color: var(--muted); }
.quote-fallback a { color: var(--teal); }
@media (max-width: 560px) { .quote-start { padding: 1.5rem; } }
