:root {
  --bg: #f6efe5;
  --panel: rgba(255, 252, 245, 0.94);
  --panel-strong: #fff7eb;
  --line: rgba(69, 54, 34, 0.12);
  --text: #251d14;
  --muted: #6d6256;
  --green: #355738;
  --green-deep: #234227;
  --orange: #f08a21;
  --shadow: 0 18px 45px rgba(48, 33, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(246, 239, 229, 0.9) 0%, rgba(246, 239, 229, 0.98) 100%),
    url("./assets/landing/papagayo-hero-background.jpg") center top / cover fixed no-repeat;
}

.site-shell { min-height: 100vh; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0.88) 42%, rgba(247, 241, 232, 0.58) 100%),
    radial-gradient(circle at top left, rgba(240, 138, 33, 0.18), transparent 28%);
}

.hero-inner,
.section {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.brand-copy strong {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-actions a {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  box-shadow: 0 12px 25px rgba(240, 138, 33, 0.24);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: calc(720px - 120px);
  padding: 12px 0 60px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.eyebrow.small { margin-bottom: 8px; }

.hero-copy h1,
.section-head h2,
.service-copy h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  line-height: .96;
}

.hero-copy h1 {
  font-size: clamp(52px, 8vw, 118px);
  max-width: 780px;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,.8);
  color: var(--text);
}

.btn.primary {
  background: var(--green);
  border-color: transparent;
  color: #fff;
}

.btn.ghost {
  background: rgba(255,255,255,.54);
}

.hero-card,
.product-card,
.service-cards article,
.cta-section,
.footer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  border-radius: 34px;
  display: grid;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-card-copy {
  padding: 22px 24px 18px;
}

.hero-card-copy strong {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  color: var(--green-deep);
}

.hero-card-copy span {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-weight: 700;
}

.hero-card-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.service-copy h2,
.cta-copy h2 {
  font-size: clamp(34px, 4vw, 62px);
}

.section-head p,
.service-copy p,
.cta-copy p,
.service-list li,
.service-cards span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border-radius: 28px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #fff;
}

.product-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.product-copy h3 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-meta span {
  color: var(--muted);
  font-size: 15px;
}

.product-meta strong {
  color: var(--green-deep);
  font-size: 24px;
}

.service-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.service-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.service-list li { margin-bottom: 6px; }

.service-cards {
  display: grid;
  gap: 16px;
}

.service-cards article {
  border-radius: 24px;
  padding: 20px;
}

.service-cards strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 28px;
  color: var(--green-deep);
}

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  border-radius: 34px;
  padding: 28px 30px;
  margin-bottom: 28px;
}

.site-footer {
  padding-top: 0;
  padding-bottom: 60px;
}

.footer-card {
  border-radius: 34px;
  padding: 28px 30px;
}

.footer-card h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.footer-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.footer-lines p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .hero-content,
  .catalog-grid,
  .service-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .hero-inner,
  .section {
    width: min(100%, calc(100% - 24px));
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 15vw, 78px);
  }

  .hero-lead,
  .section-head p,
  .service-copy p,
  .cta-copy p,
  .service-list li,
  .service-cards span {
    font-size: 17px;
  }
}
