/* =========================================================
   InnEsposende — Coastal Minimal design system
   ========================================================= */

@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{
  /* Brand blue sampled directly from the InnEsposende logo */
  --navy: #0b6699;
  --navy-deep: #063a56;
  --navy-light: #18a0d8;
  --sand: #f7f2e9;
  --sand-dark: #ece2cf;
  --white: #ffffff;
  --coral: #b3562f;
  --coral-dark: #8a4321;
  --ink: #1f2c33;
  --muted: #5c6b73;
  --line: #e2d9c8;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -25px rgba(6,58,86,0.35);
  --shadow-sm: 0 8px 20px -12px rgba(6,58,86,0.3);
  --container: 1180px;
  --font-head: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 88px 0; }
@media (max-width: 720px){ section{ padding: 56px 0; } }

.eyebrow{
  display:inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}
.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ color: var(--muted); font-size: 17px; }
.section-head h2{ font-size: clamp(28px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-coral{ background: var(--coral); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-coral:hover{ background: var(--coral-dark); }
.btn-navy{ background: var(--navy); color: var(--white); }
.btn-navy:hover{ background: var(--navy-deep); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color: inherit; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.btn-sm{ padding: 10px 20px; font-size: 14px; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(247,242,233,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.logo{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-deep);
  letter-spacing: .01em;
  display:flex; align-items:center; gap:10px;
}
.logo img{ height: 44px; width:auto; display:block; }
.site-footer .logo img{ height: 60px; }
@media (max-width: 480px){ .logo img{ height:38px; } }
.logo .mark{
  width:34px;height:34px;border-radius:50%;
  background: var(--navy);
  color:var(--sand);
  display:flex;align-items:center;justify-content:center;
  font-size:16px; font-weight:700;
}
.logo span.sub{ display:block; font-family: var(--font-body); font-size:10px; letter-spacing:.16em; color: var(--coral-dark); font-weight:700; text-transform:uppercase; }
.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{
  font-size: 15px; font-weight:600; color: var(--navy-deep);
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ border-color: var(--coral); }
.header-actions{ display:flex; align-items:center; gap:16px; }
.lang-switch{ display:flex; align-items:center; gap:2px; font-size:12px; font-weight:700; letter-spacing:.02em; }
.lang-switch a{ padding:5px 7px; border-radius:6px; color:var(--muted); }
.lang-switch a.active{ background:var(--sand-dark); color:var(--navy-deep); }
.lang-switch a:hover{ color:var(--navy-deep); }
@media (max-width: 480px){ .lang-switch a{ padding:4px 5px; } }
.icon-link{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14px; color:var(--navy-deep); }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--navy-deep); margin:5px 0; transition: .2s; }

@media (max-width: 940px){
  .nav-links{
    position: fixed; inset: 84px 0 0 0; background: var(--sand);
    flex-direction: column; align-items:flex-start; gap:0;
    padding: 10px 24px 30px;
    transform: translateY(-8px);
    opacity:0; visibility:hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    border-top: 1px solid var(--line);
  }
  .nav-links.open{ opacity:1; visibility:visible; transform: translateY(0); }
  .nav-links a{ width:100%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .header-actions .icon-link.whatsapp-text{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex; align-items:flex-end;
  color: var(--white);
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,58,86,.32) 0%, rgba(6,58,86,.42) 45%, rgba(4,32,48,.92) 100%);
}
.hero-content{ position:relative; z-index:2; padding-bottom: 72px; max-width: 720px; }
.hero-content .eyebrow{ color: #f2c9a8; }
.hero-content h1{ color: var(--white); font-size: clamp(36px, 6vw, 60px); }
.hero-content p{ font-size: 19px; color: #eef1f2; max-width: 560px; }
.hero-stats{ display:flex; gap:34px; margin-top: 36px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family: var(--font-head); font-size: 26px; }
.hero-stats div span{ font-size: 13px; color: #d9dfe2; text-transform:uppercase; letter-spacing:.08em; }

.page-hero{
  position:relative; color:var(--white); padding: 150px 0 90px; overflow:hidden;
}
.page-hero-media{ position:absolute; inset:0; }
.page-hero-media img{ width:100%; height:100%; object-fit:cover; }
.page-hero-media::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,58,86,.62), rgba(4,32,48,.9)); }
.page-hero-content{ position:relative; z-index:2; max-width: 640px; }
.page-hero-content h1{ color:var(--white); font-size: clamp(32px,5vw,48px); }
.page-hero-content p{ color:#e7ebec; font-size:18px; }
.breadcrumb{ font-size:13px; color:#cfd8dc; margin-bottom:18px; letter-spacing:.03em; }
.breadcrumb a:hover{ color:var(--white); }

/* ---------- Cards / Grids ---------- */
.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.feature-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-card .ico{
  width:48px;height:48px;border-radius:12px;
  background: var(--sand-dark); color: var(--navy);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px; font-size:22px;
}
.feature-card h3{ font-size: 19px; margin-bottom:8px; }
.feature-card p{ color: var(--muted); font-size:15px; margin:0; }

.band-navy{ background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3{ color: var(--white); }
.band-navy .section-head p{ color: #c9d3d9; }

/* ---------- Room cards ---------- */
.room-card{
  background: var(--white); border-radius: var(--radius-lg);
  overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; height:100%;
}
.room-card .room-media{ position:relative; aspect-ratio: 4/3; overflow:hidden; }
.room-card .room-media img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.room-card:hover .room-media img{ transform: scale(1.06); }
.room-card .tag{
  position:absolute; top:14px; left:14px; background: var(--white);
  color: var(--navy); font-size:12px; font-weight:700; padding:6px 12px;
  border-radius:999px; letter-spacing:.03em;
}
.room-card .room-body{ padding: 24px; display:flex; flex-direction:column; gap:12px; flex:1; }
.room-card h3{ font-size:21px; margin:0; }
.room-card .meta{ display:flex; gap:14px; flex-wrap:wrap; font-size:13px; color:var(--muted); font-weight:600; }
.room-card .meta span{ display:flex; align-items:center; gap:6px; }
.room-card ul.feat{ margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.room-card ul.feat li{ font-size:14px; color: var(--ink); padding-left:20px; position:relative; }
.room-card ul.feat li::before{ content:'✓'; position:absolute; left:0; color: var(--coral-dark); font-weight:700; }
.room-card .price-row{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px dashed var(--line); }
.room-card .price{ font-family: var(--font-head); font-size:24px; color: var(--navy-deep); }
.room-card .price small{ font-family: var(--font-body); font-size:12px; color:var(--muted); font-weight:600; display:block; }

/* ---------- Amenities ---------- */
.amenity-list{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
@media (max-width: 900px){ .amenity-list{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px){ .amenity-list{ grid-template-columns: repeat(2,1fr); } }
.amenity{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 16px; display:flex; align-items:center; gap:12px; font-weight:600; font-size:14.5px;
}
.amenity .dot{ width:34px;height:34px;flex:none; border-radius:50%; background:var(--sand-dark); display:flex;align-items:center;justify-content:center; color:var(--coral-dark); font-size:16px; }

/* ---------- Gallery ---------- */
.gallery{ display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.gallery a{ border-radius: var(--radius-sm); overflow:hidden; display:block; height:100%; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.gallery a:hover img{ transform: scale(1.08); }
.gallery .tall{ grid-row: span 2; }
@media (max-width: 900px){ .gallery{ grid-template-columns: repeat(3,1fr); grid-auto-rows: 130px; } }
@media (max-width: 620px){ .gallery{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 120px; } .gallery .tall{ grid-row: span 1; } }

/* ---------- Testimonials ---------- */
.testi-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; display:flex; flex-direction:column; gap:14px;
}
.testi-card .stars{ color: var(--coral); letter-spacing:2px; font-size:15px; }
.testi-card p{ color: var(--ink); font-size:15.5px; margin:0; }
.testi-card .who{ font-weight:700; color: var(--navy-deep); font-size:14px; margin-top:auto; }
.testi-card .who span{ display:block; font-weight:500; color:var(--muted); font-size:12.5px; }

/* ---------- Split section ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap:32px; } }
.split .media{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); }
.split .media img{ width:100%; height:100%; object-fit:cover; }
.check-list{ display:flex; flex-direction:column; gap:12px; margin: 20px 0; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; }
.check-list li::before{ content:'✓'; flex:none; width:24px;height:24px;border-radius:50%; background:var(--coral); color:var(--white); font-size:13px; font-weight:700; display:flex;align-items:center;justify-content:center; margin-top:2px; }

/* ---------- Table ---------- */
.compare-table{ width:100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td{ padding: 16px 18px; text-align:left; border-bottom:1px solid var(--line); font-size:14.5px; }
.compare-table thead th{ background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight:600; font-size:16px; }
.compare-table tbody tr:last-child td{ border-bottom:none; }
.compare-table td.yes{ color:#1c7a4c; font-weight:700; }
.compare-table td.no{ color:#a44; }
.compare-table tbody tr.highlight td{ background: #fbf3ea; font-weight:600; }
.table-scroll{ overflow-x:auto; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); padding: 22px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; gap:16px; cursor:pointer; font-weight:600; font-size:17px; color:var(--navy-deep); font-family: var(--font-head); }
.faq-q .plus{ flex:none; width:26px;height:26px;border-radius:50%; border:1px solid var(--line); display:flex;align-items:center;justify-content:center; transition: transform .2s ease; font-size:15px; color:var(--coral-dark); }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a{ max-height: 300px; }
.faq-a p{ padding-top:12px; color: var(--muted); margin:0; font-size:15px; }

/* ---------- CTA band ----------
   Photo + darkening gradient are both painted as CSS backgrounds (not an
   <img> element), so the box height is always just padding + text — never
   the photo's own dimensions — and the gradient is baked in from the start
   for guaranteed readability. The image URL for each instance is set inline
   via style="background-image: ..., url(...)" on the .cta-band element. */
.cta-band{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; color:var(--white);
  padding: 52px 40px; text-align:center;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:#e9eef0; max-width:520px; margin:0 auto 26px; }
.cta-band .btn-row{ justify-content:center; }

/* ---------- Info blocks (location/practical) ---------- */
.info-card{ background:var(--white); border:1px solid var(--line); border-radius: var(--radius-md); padding:26px; }
.info-card h3{ font-size:18px; display:flex; align-items:center; gap:10px; }
.info-card h3 .dot{ width:36px;height:36px;border-radius:50%; background:var(--sand-dark); color:var(--coral-dark); display:flex;align-items:center;justify-content:center; font-size:16px; }
.info-card p{ color:var(--muted); font-size:14.5px; margin:0; }
.map-frame{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); border:none; width:100%; height:420px; }

/* ---------- Guide pages (stage guides / town guide) ---------- */
.route-steps{ display:flex; flex-direction:column; margin: 8px 0; }
.route-step{ display:flex; gap:20px; padding:16px 0; border-bottom:1px solid var(--line); }
.route-step:last-child{ border-bottom:none; }
.route-step .km{ flex:none; width:64px; font-family:var(--font-head); font-weight:700; color:var(--coral-dark); font-size:15px; padding-top:1px; }
.route-step .place{ font-weight:700; color:var(--navy-deep); font-size:16px; margin-bottom:2px; }
.route-step .desc{ color:var(--muted); font-size:14.5px; margin:0; }
.dot-list{ display:flex; flex-direction:column; gap:12px; margin: 20px 0; }
.dot-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; }
.dot-list li::before{ content:''; flex:none; width:8px;height:8px;border-radius:50%; background:var(--coral); margin-top:8px; }
.guide-card{ background:var(--white); border:1px solid var(--line); border-radius: var(--radius-md); overflow:hidden; display:flex; flex-direction:column; transition: transform .15s ease, box-shadow .15s ease; }
.guide-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.guide-card .guide-media{ aspect-ratio: 4/2.6; overflow:hidden; }
.guide-card .guide-media img{ width:100%; height:100%; object-fit:cover; }
.guide-card .guide-body{ padding:22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.guide-card .badge{ align-self:flex-start; margin-bottom:12px; }
.guide-card h3{ font-size:19px; margin-bottom:8px; }
.guide-card p{ color:var(--muted); font-size:14.5px; margin:0 0 18px; }
.guide-card .btn{ margin-top:auto; align-self:flex-start; }

/* ---------- Legal pages ---------- */
.legal-content{ max-width:760px; margin:0 auto; }
.legal-content h2{ margin-top:44px; font-size:23px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content h3{ margin-top:26px; font-size:17px; }
.legal-content p{ color:var(--muted); font-size:15.5px; line-height:1.7; }
.legal-content ul, .legal-content ol{ color:var(--muted); font-size:15.5px; line-height:1.7; padding-left:22px; margin:14px 0; }
.legal-content li{ margin-bottom:8px; }
.legal-content a{ color:var(--navy); text-decoration:underline; text-underline-offset:2px; }
.legal-content strong{ color:var(--navy-deep); }
.legal-updated{ font-size:13px; color:var(--muted); margin:8px 0 40px; }
.legal-box{ background:var(--sand); border:1px solid var(--line); border-radius: var(--radius-md); padding:20px 24px; margin:20px 0; }
.legal-box p{ margin:0 0 6px; font-size:14.5px; }
.legal-box p:last-child{ margin-bottom:0; }
.legal-toc{ display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 8px; }
.legal-toc a{ font-size:13.5px; font-weight:600; padding:8px 14px; border-radius:999px; background:var(--sand-dark); color:var(--navy-deep); text-decoration:none; }
.legal-toc a:hover{ background:var(--navy); color:var(--white); }

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:500;
  max-width:560px; margin:0 auto;
  background:var(--navy-deep); color:#e7ebec;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding:22px 24px; display:none;
}
.cookie-banner.show{ display:block; }
.cookie-banner p{ margin:0 0 16px; font-size:14px; line-height:1.6; color:#dfe6e9; }
.cookie-banner a{ color:#f2c9a8; text-decoration:underline; }
.cookie-banner .btn-row{ gap:10px; }
.cookie-banner .btn-decline{ background:transparent; border:1px solid rgba(255,255,255,.45); color:#fff; }
.cookie-banner .btn-decline:hover{ background:rgba(255,255,255,.1); }
@media (max-width:480px){ .cookie-banner{ padding:18px; } .cookie-banner .btn-row{ flex-direction:column; } .cookie-banner .btn-row .btn{ width:100%; text-align:center; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-deep); color:#cfd8dc; padding: 72px 0 28px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width: 820px){ .footer-top{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .footer-top{ grid-template-columns: 1fr; } }
.site-footer h4{ color:var(--white); font-family: var(--font-body); font-size:14px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:18px; }
.site-footer .logo{ color: var(--white); }
.site-footer .logo .mark{ background: var(--coral); color:var(--white); }
.site-footer p{ color:#a9b6bd; font-size:14.5px; }
.site-footer ul{ display:flex; flex-direction:column; gap:11px; }
.site-footer a{ color:#c3ced4; font-size:14.5px; transition: color .15s; }
.site-footer a:hover{ color: var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:13px; color:#8697a0; flex-wrap:wrap; gap:10px; }
.footer-legal{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding-top:18px; margin-top:18px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; }
.footer-legal a{ color:#93a2aa; }
.footer-legal a:hover{ color:var(--white); }
.footer-legal a.footer-lre{ display:inline-flex; align-items:center; gap:7px; }
.footer-legal a.footer-lre img{ height:20px; width:auto; display:block; border-radius:3px; }
.social-row{ display:flex; gap:12px; }
.social-row a{ width:36px;height:36px;border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex;align-items:center;justify-content:center; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  display:none; gap:10px; padding:12px 16px;
  background: rgba(247,242,233,.97); border-top:1px solid var(--line);
  backdrop-filter: blur(8px);
}
@media (max-width: 720px){ .mobile-cta{ display:flex; } body{ padding-bottom: 74px; } }
.mobile-cta .btn{ flex:1; padding:13px 10px; font-size:14px; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.small-note{ font-size:13px; color:var(--muted); }
.badge{ display:inline-block; background:var(--sand-dark); color:var(--navy); font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:.03em; }
