@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Quicksand:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0d74bb;
  --deep: #082033;
  --green: #1b8341;
  --orange: #ff810c;
  --soft: #eaf6fb;
  --sand: #fbfaf7;
  --white: #ffffff;
  --line: rgba(8, 32, 51, 0.12);
  --muted: rgba(8, 32, 51, 0.72);
  --shadow: 0 24px 60px rgba(8, 32, 51, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--deep);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

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

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

h1,
h2,
h3,
.logo,
.logo-title,
.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  color: var(--deep);
}

h1 {
  font-size: clamp(54px, 8.5vw, 112px);
}

h2 {
  font-size: clamp(42px, 6vw, 76px);
}

h3 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 129, 12, 0.12);
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(27, 131, 65, 0.26);
}

.btn-secondary {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
}

.btn-orange {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(255, 129, 12, 0.24);
}

.btn-blue {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(13, 116, 187, 0.22);
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: var(--deep);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 116, 187, 0.24);
}

.mark::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 18px;
  border: 3px solid #fff;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 22px 0;
  transform: rotate(-18deg);
  top: 14px;
  left: 8px;
}

.mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  background: var(--orange);
  border-radius: 999px;
  bottom: 14px;
  left: 11px;
}

.logo,
.logo-title {
  font-size: 30px;
}

.brand small {
  display: block;
  margin-top: -2px;
  opacity: 0.7;
  font-weight: 800;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 900;
}

nav a {
  opacity: 0.82;
}

nav a:hover {
  opacity: 1;
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Base layout */

section {
  padding: 86px 0;
}

.hero {
  padding: 82px 0 70px;
  background: #fff;
  overflow: hidden;
}

.hero-grid,
.product-feature,
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-copy,
.product-copy,
.bio-copy {
  display: grid;
  gap: 24px;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 720px;
  color: var(--muted);
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.in-short {
  border-left: 6px solid var(--orange);
  background: #fff;
  border-radius: 0 24px 24px 0;
  padding: 22px 24px;
  box-shadow: 0 12px 32px rgba(8, 32, 51, 0.07);
  font-weight: 750;
  color: rgba(8, 32, 51, 0.82);
}

/* Hero visual */

.hero-card {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  padding: 26px;
  background-image: url("https://images.unsplash.com/photo-1502680390469-be75c86b636f?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.guide-mockup {
  position: absolute;
  width: min(78%, 365px);
  right: 28px;
  bottom: 28px;
  border-radius: 24px;
  background: var(--deep);
  color: #fff;
  padding: 28px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 28px 70px rgba(8, 32, 51, 0.34);
}

.guide-mockup h2,
.guide-mockup h3 {
  color: #fff;
}

.guide-mockup h2 {
  font-size: 64px;
}

.badge,
.guide-mockup .badge {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.floating-note {
  position: absolute;
  left: 26px;
  bottom: 46px;
  width: 224px;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(8, 32, 51, 0.16);
  font-weight: 900;
}

/* Section headers */

.section-head {
  display: grid;
  gap: 16px;
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  color: var(--muted);
  font-weight: 650;
  font-size: 18px;
}

/* Product */

.product-feature {
  grid-template-columns: 0.88fr 1.12fr;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.cover,
.cover-preview {
  min-height: 560px;
  border-radius: 28px;
  background: var(--blue);
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover h2,
.cover-preview h2 {
  color: #fff;
  font-size: clamp(52px, 7vw, 84px);
}

.cover span,
.cover-preview span {
  font-weight: 900;
}

.price-grid,
.card-grid,
.guide-grid,
.check-grid,
.stat-grid {
  display: grid;
  gap: 18px;
}

.price-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid,
.guide-grid,
.check-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card,
.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 32, 51, 0.06);
  display: grid;
  gap: 14px;
}

.price-card {
  background: var(--sand);
}

.price-card strong {
  font-size: 26px;
}

.card h3 {
  font-size: 36px;
}

.card p {
  color: var(--muted);
  font-weight: 650;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
  font-weight: 850;
}

.check::before {
  content: "✓";
  color: #fff;
  background: var(--green);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 15px;
}

/* Guide cards */

.guide-img,
.guide-card-image {
  height: 210px;
  border-radius: 24px;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-weight: 900;
}

/* Travel stories */

.story-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: start;
}

.rss-panel {
  background: var(--sand);
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  display: grid;
  gap: 18px;
  position: sticky;
  top: 100px;
  box-shadow: none;
}

.rss-panel h3,
.rss-panel p {
  color: var(--deep);
}

.rss-panel p {
  opacity: 0.78;
  font-weight: 650;
}

.rss-panel .eyebrow {
  background: rgba(13, 116, 187, 0.1);
  color: var(--blue);
}

.rss-code {
  display: none;
}

.story-list {
  display: grid;
  gap: 18px;
}

.story-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(8, 32, 51, 0.06);
}

.story-image {
  min-height: 220px;
  height: 100%;
  border-radius: 20px;
  background-image: url("https://images.unsplash.com/photo-1528150177508-7cc0c36cda5c?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.story-image[style] {
  background-size: cover !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
}

.story-content {
  display: grid;
  gap: 10px;
  align-content: center;
}

.story-content small {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-content p {
  color: var(--muted);
  font-weight: 650;
}

/* Pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}

.pagination a,
.pagination span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
  background: #fff;
  color: var(--deep);
}

.pagination a:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.pagination .is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.pagination .page-status {
  background: var(--soft);
}

/* About */

.portrait,
.portrait-card {
  border-radius: 32px;
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 560px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.portrait-inner {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 22px;
  display: grid;
  gap: 10px;
}

.bio-copy p {
  color: var(--muted);
  font-weight: 650;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  background: var(--soft);
  border: 1px solid rgba(13, 116, 187, 0.13);
  border-radius: 22px;
  padding: 18px;
}

.stat .display {
  font-family: "Bebas Neue", sans-serif;
  font-size: 44px;
  color: var(--blue);
}

.stat p {
  font-size: 14px;
  font-weight: 800;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(8, 32, 51, 0.05);
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
}

/* CTA */

.cta-band {
  background: var(--deep);
  color: #fff;
  border-radius: 38px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  opacity: 0.82;
  font-weight: 650;
  max-width: 650px;
}

/* Newsletter */

.newsletter {
  background: var(--blue);
  color: #fff;
  padding: 86px 0;
  text-align: center;
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(52px, 7vw, 86px);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  font-size: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-form {
  margin: 32px auto 12px;
  display: grid;
  grid-template-columns: minmax(220px, 460px) auto;
  gap: 12px;
  justify-content: center;
}

.newsletter input {
  border: 0;
  border-radius: 8px;
  padding: 18px 20px;
  font: inherit;
  font-size: 18px;
}

.newsletter .small {
  font-size: 14px;
  opacity: 0.7;
}

/* Footer */

footer {
  padding: 72px 0 40px;
  background: var(--deep);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 750;
}

.footer-grid h3 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 18px;
}

.footer-grid a {
  display: block;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: #fff;
}

.social-dots {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-dots a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 54px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 750;
}

.footer-bottom a {
  display: inline;
  margin-left: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive */

@media (max-width: 980px) {
  nav ul {
    display: none;
  }

  .hero-grid,
  .product-feature,
  .about-grid,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 520px;
  }

  .card-grid,
  .guide-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .rss-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  section,
  .hero {
    padding: 60px 0;
  }

  .nav-actions .btn,
  .floating-note {
    display: none;
  }

  .guide-mockup {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    min-height: 390px;
  }

  .price-grid,
  .stat-grid,
  .newsletter-form,
  .footer-grid,
  .story-row {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 240px;
  }

  .pagination {
    justify-content: center;
  }

  .pagination a,
  .pagination span {
    width: 100%;
    text-align: center;
  }

  .cta-band {
    padding: 28px;
    border-radius: 28px;
  }
}
/* Fix product page visual alignment */
.product-feature {
  align-items: start;
}

/* Make the guide cover start at the top of the product block */
.cover,
.cover-preview {
  align-self: start;
}

/* Improve product hero spacing on the France guide page */
.hero .product-feature {
  align-items: start;
}

/* Optional: give the product visual a stronger cover-like feel */
.cover,
.cover-preview {
  min-height: 560px;
  box-shadow: 0 18px 45px rgba(8, 32, 51, 0.12);
}
/* Real guide images */

.guide-cover-real {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(8, 32, 51, 0.14);
}

.guide-cover-real img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.guide-visual-stack {
  display: grid;
  gap: 18px;
  align-self: start;
}

.guide-spread-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(8, 32, 51, 0.08);
}

.guide-spread-preview img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.guide-photo-card {
  position: relative;
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background-image: url("/assets/south-west-france-surf.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 36px rgba(8, 32, 51, 0.08);
}

.guide-photo-card::after {
  content: "South West France · surf travel";
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .guide-visual-stack {
    max-width: 520px;
    margin: 0 auto;
  }
}
/* Homepage hero: align visual to the top */
.hero-grid {
  align-items: start;
}

/* Make the hero image start at the same vertical level as the copy */
.hero-card {
  align-self: start;
  margin-top: 0;
}

/* Keep the guide cover nicely positioned inside the hero image */
.hero-card .guide-mockup {
  right: 28px;
  bottom: 28px;
}

/* Optional: on large screens, align the visual a tiny bit lower than the eyebrow */
@media (min-width: 981px) {
  .hero-card {
    margin-top: 8px;
  }
}
/* Fix homepage hero note overlapping with guide cover */
.hero-card {
  isolation: isolate;
}

.hero-card .floating-note {
  z-index: 2;
  left: 22px;
  bottom: 26px;
  width: 205px;
  max-width: 38%;
  font-size: 15px;
  line-height: 1.35;
}

.hero-card .guide-mockup {
  z-index: 3;
  right: 26px;
  bottom: 26px;
  width: min(56%, 320px) !important;
}

/* On slightly smaller desktop screens, hide the note to keep the visual clean */
@media (max-width: 1180px) {
  .hero-card .floating-note {
    display: none;
  }

  .hero-card .guide-mockup {
    width: min(70%, 340px) !important;
  }
}

/* Mobile/tablet: keep it simple */
@media (max-width: 980px) {
  .hero-card .floating-note {
    display: none;
  }

  .hero-card .guide-mockup {
    width: calc(100% - 48px) !important;
    right: 24px;
    left: 24px;
    bottom: 24px;
  }
}
