/* Enseada Guia — Porto de Galinhas */
:root {
  --ink: #0a1628;
  --ink-soft: #1a3348;
  --ocean: #0d9488;
  --ocean-dark: #0f766e;
  --ocean-light: #ccfbf1;
  --sun: #f59e0b;
  --sun-soft: #fff7ed;
  --cream: #faf6f0;
  --cream-dark: #ebe4d8;
  --white: #ffffff;
  --muted: #5c7280;
  --border: #d4dce3;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 20px rgba(10, 22, 40, 0.07);
  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
}

a { color: var(--ocean-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sun); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.main-nav ul { display: flex; gap: 1.5rem; list-style: none; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--ocean-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.75rem; }
  .site-header { position: relative; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill, 999px);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}

.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-dark); color: var(--white); }
.btn-outline { border-color: var(--ocean); color: var(--ocean-dark); background: transparent; }
.btn-outline:hover { background: var(--ocean-light); }
.btn-secondary { background: var(--cream-dark); color: var(--ink); border: none; }
.btn-accent { background: var(--sun); color: var(--ink); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(160deg, var(--ocean-light) 0%, var(--cream) 45%, var(--sun-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ocean-dark);
  margin-bottom: 0.75rem;
}

.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.hero-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }

.hero-facts { list-style: none; }
.hero-facts li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hero-facts li:last-child { border-bottom: none; }
.hero-facts strong { color: var(--ink); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}
.section-desc { color: var(--muted); }

/* Resort cards */
.resort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.resort-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.resort-visual {
  min-height: 140px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.resort-visual h3 { color: var(--white); margin: 0; font-size: 1.35rem; }

.bg-lagoon { background: linear-gradient(135deg, #0d9488, #115e59); }
.bg-beach { background: linear-gradient(135deg, #0284c7, #0369a1); }
.bg-family { background: linear-gradient(135deg, #ea580c, #c2410c); }
.bg-boutique { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.bg-spa { background: linear-gradient(135deg, #059669, #047857); }
.bg-allin { background: linear-gradient(135deg, #0891b2, #0e7490); }

.resort-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 0.35rem;
}

.resort-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.resort-body p { font-size: 0.95rem; color: var(--muted); flex: 1; }

.resort-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.resort-meta span {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  background: var(--cream);
  border-radius: var(--radius-pill, 999px);
  color: var(--ink-soft);
}

.resort-link { font-weight: 600; font-size: 0.9rem; margin-top: auto; }

/* Features */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .features-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-row { grid-template-columns: 1fr; }
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }

/* Content page */
.page-hero {
  padding: 2.5rem 0;
  background: var(--ocean-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--ocean-dark); }

.content-page { padding: 2.5rem 0 4rem; }
.content-page .container { max-width: 780px; }
.content-page h2 { margin-top: 2rem; }
.content-page ul, .content-page ol { margin: 0 0 1rem 1.25rem; }
.content-page li { margin-bottom: 0.4rem; }

.last-updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Guide layout */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
}

.guide-sidebar {
  position: sticky;
  top: 5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.guide-sidebar h3 { font-size: 1rem; }
.guide-sidebar ul { list-style: none; margin: 0.75rem 0 0; }
.guide-sidebar li { margin-bottom: 0.5rem; font-size: 0.92rem; }

.resort-detail {
  scroll-margin-top: 5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.resort-detail:last-child { border-bottom: none; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.comparison-table th { background: var(--cream-dark); font-weight: 600; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  background: var(--ocean-light);
  border: 1px solid var(--ocean);
  color: var(--ocean-dark);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Alerts */
.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.alert-info {
  background: var(--ocean-light);
  border: 1px solid rgba(13, 148, 136, 0.35);
  color: var(--ink-soft);
}

.alert-warning {
  background: var(--sun-soft);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.cta-band {
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  padding: 2.75rem 1.5rem;
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(250, 246, 240, 0.85); max-width: 520px; margin: 0 auto 1.25rem; }
.cta-band a.btn-primary { background: var(--sun); color: var(--ink); }
.cta-band a.btn-primary:hover { background: #fbbf24; color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 240, 0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a { color: rgba(250, 246, 240, 0.9); }
.site-footer a:hover { color: var(--sun); }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.92rem; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  z-index: 200;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p { margin: 0; font-size: 0.92rem; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 0.5rem; }

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-soft);
}

.category-chip.active,
.category-chip:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
}
