:root {
  --moss: #3e4f3c;
  --cream: #f4efe6;
  --ink: #1a1a1a;
  --accent: #c69749;
  --paper: #fffaf0;
  --line: rgba(26, 26, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.08;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  text-decoration: none;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.92rem;
}

.navlinks a {
  text-decoration: none;
  color: rgba(26, 26, 26, 0.72);
}

.hero {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 64px);
  background: var(--moss);
  color: var(--cream);
}

.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  letter-spacing: 0;
}

.hero p {
  margin: 0 0 24px;
  max-width: 720px;
  color: rgba(244, 239, 230, 0.84);
  font-size: 1.08rem;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-img, .post-cover {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 78px) clamp(18px, 5vw, 64px);
}

.article {
  max-width: 780px;
}

.article h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.article p, .article li {
  font-size: 1.04rem;
}

.article-figure {
  margin: 34px 0;
}

.article-figure img {
  width: 100%;
  display: block;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 10px;
  color: rgba(26, 26, 26, 0.66);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pull-cta {
  margin: 34px 0;
  padding: 22px;
  border: 1px solid rgba(62, 79, 60, 0.22);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
}

.pull-cta h2, .pull-cta h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.pull-cta p {
  margin: 0;
}

.pull-cta .btn.secondary {
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.22);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.fact {
  padding: 18px;
  border-radius: 8px;
  background: var(--moss);
  color: var(--cream);
}

.fact strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  width: 100%;
  display: block;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figcaption {
  margin-top: 8px;
  color: rgba(26, 26, 26, 0.66);
  font-size: 0.9rem;
}

.idea-post {
  max-width: 960px;
}

.idea-page {
  background:
    radial-gradient(circle at top left, rgba(198, 151, 73, 0.22), transparent 34rem),
    linear-gradient(180deg, #f4efe6 0%, #fffaf0 46%, #f4efe6 100%);
}

.idea-page .topbar {
  background: rgba(255, 250, 240, 0.9);
}

.idea-page .hero {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.92), rgba(62,79,60,0.9)),
    var(--ink);
}

.idea-page .hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.idea-page .hero-img {
  aspect-ratio: 1085 / 1450;
  max-height: 640px;
  object-fit: cover;
}

.idea-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(198, 151, 73, 0.16);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.idea-showcase {
  margin: 34px 0;
  display: grid;
  gap: 18px;
}

.idea-showcase img {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  height: auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.idea-showcase figcaption {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(26, 26, 26, 0.66);
  font-size: 0.92rem;
  line-height: 1.45;
}

.idea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.idea-actions .btn.secondary {
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.22);
}

.idea-note {
  margin: 34px 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
}

.idea-note h2 {
  margin-top: 0;
}

.idea-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.idea-mini-card {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.idea-mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(94vw, 920px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: var(--ink);
}

.lightbox button {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card {
  display: block;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.card.idea-card img {
  aspect-ratio: 1085 / 1450;
  object-fit: cover;
}

.card h2, .card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
  color: rgba(26, 26, 26, 0.72);
}

.cta-band {
  margin-top: 42px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.btn.whatsapp {
  background: #25d366;
  color: white;
}

.btn.secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 239, 230, 0.32);
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.table th, .table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.calc-panel {
  display: grid;
  gap: 18px;
}

.calc-panel label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.calc-panel input, .calc-panel select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
}

.result {
  padding: 22px;
  border-radius: 8px;
  background: var(--moss);
  color: var(--cream);
}

.footer {
  padding: 32px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: rgba(244, 239, 230, 0.72);
  text-align: center;
}

@media (max-width: 820px) {
  .hero-grid, .grid, .grid.two, .fact-strip, .photo-grid, .idea-columns {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .navlinks {
    justify-content: flex-start;
  }
}
