/* ==========================================================================
   La Nube Loca : shared stylesheet
   Travel + Beauty blog. Rebuilt fresh, mobile-first.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --coral: #FF6B57;          /* primary accent */
  --coral-deep: #E8503C;
  --sky: #5CC8F5;            /* travel support */
  --lilac: #B58BF2;          /* beauty support */
  --sun: #FFCE4A;
  --mint: #7FE0C3;

  --ink: #241F2B;            /* near-black text */
  --ink-soft: #6A6472;       /* muted text */
  --line: #ECE4DC;           /* hairline */

  --paper: #FFFBF6;          /* warm off-white body bg */
  --paper-tint: #F8F0E8;     /* alternate section */
  --card: #FFFFFF;
  --night: #211B2A;          /* dark hero / footer */
  --night-soft: #2E2739;

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* spacing */
  --wrap: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(60, 40, 40, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(60, 40, 40, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.2px; }
p  { margin: 0 0 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; position: relative; }
.section-tint { background: var(--paper-tint); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 246, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--coral-deep); }
.nav-cta { padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #fff !important; }
.nav-cta:hover { background: var(--coral); }
.nav-toggle { display: none; width: 28px; height: 22px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 0; width: 100%; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { content: ""; top: -8px; }
.nav-toggle span::after { content: ""; top: 8px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (dark) ---------- */
.hero {
  background: radial-gradient(1200px 500px at 78% -10%, #3a2f4d 0%, transparent 60%), var(--night);
  color: #fff; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero .split { align-items: center; }
.hero p { color: rgba(255,255,255,.82); }
.hero .eyebrow { color: var(--sun); }
.hi { color: var(--coral); font-style: italic; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 15px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.section .pill { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Hero art ---------- */
.hero-art {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--sky), var(--lilac) 55%, var(--coral));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.hero-art img { width: 52%; filter: brightness(0) invert(1) drop-shadow(0 22px 34px rgba(0,0,0,.28)); }

/* ---------- Pillar cards ---------- */
.pillar {
  border-radius: var(--radius); padding: 34px; color: #fff; position: relative; overflow: hidden;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow);
}
.pillar.travel { background: linear-gradient(160deg, #3AA0E8, #6E76F0); }
.pillar.beauty { background: linear-gradient(160deg, #E67BB4, #B58BF2); }
.pillar h3 { color: #fff; font-size: 1.7rem; }
.pillar p { color: rgba(255,255,255,.9); margin-bottom: 1.2rem; }
.pillar .btn-light { align-self: flex-start; }

/* ---------- Post cards ---------- */
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.thumb {
  aspect-ratio: 16/10; position: relative; display: flex; align-items: flex-start;
  padding: 14px;
}
.tag {
  background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700;
  font-size: .74rem; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card .meta { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin-bottom: .5rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--coral-deep); font-size: .92rem; }

/* ---------- Feature / about blocks ---------- */
.feature-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 5/4; background: linear-gradient(155deg, var(--sky), var(--lilac));
  display: flex; align-items: center; justify-content: center;
}
.feature-img img { width: 52%; filter: brightness(0) invert(1); }
.values { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 16px; }
.values li { position: relative; padding-left: 20px; }
.values li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.values b { font-family: var(--display); }

/* ---------- Newsletter band ---------- */
.band { background: var(--night); color: #fff; border-radius: var(--radius); padding: 46px 34px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.8); max-width: 46ch; margin: 0 auto 1.4rem; }
.subscribe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 480px; margin: 0 auto; }
.subscribe input {
  flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 0;
  font-family: var(--sans); font-size: 1rem;
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field textarea { min-height: 150px; resize: vertical; }

.contact-cards { display: grid; gap: 18px; }
.contact-card { background: #fff; border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); }
.contact-card b { font-family: var(--display); display: block; margin: 0 0 .2rem; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border-radius: var(--radius-sm); padding: 6px 22px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--coral-deep); }
.faq p { color: var(--ink-soft); padding-bottom: 8px; margin: 0; }

/* ---------- Page header (about/contact) ---------- */
.page-head { background: var(--paper-tint); padding: 58px 0; text-align: center; }
.page-head .eyebrow { color: var(--coral-deep); }
.page-head p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.72); padding: 54px 0 30px; }
.footer h4 { font-family: var(--display); color: #fff; margin: 0 0 14px; font-size: 1.1rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

/* ---------- Blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .5; z-index: 0; }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .section { padding: 90px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-block; margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ---------- Post content (single / generic page) ---------- */
.entry-content { font-size: 1.08rem; }
.entry-content h2 { margin-top: 1.8rem; }
.entry-content h3 { margin-top: 1.4rem; }
.entry-content a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--coral); }
.entry-content img { border-radius: var(--radius-sm); margin: 1.4rem 0; }
.entry-content ul, .entry-content ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote {
  margin: 1.6rem 0; padding: 4px 22px; border-left: 4px solid var(--coral);
  font-family: var(--display); font-size: 1.2rem; color: var(--ink);
}

/* ---------- Pagination ---------- */
.pagination { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink);
}
.pagination .page-numbers.current { background: var(--coral); color: #fff; }
.pagination a.page-numbers:hover { background: var(--ink); color: #fff; }
