/* Gota Africana cluster styles only (29.09.2026): the pages now render inside the hub Layout,
   so the old Nav/Footer/Layout copies of gota-static.css are left out. Source: gota-static.css lines 4-160 + 214-243. */
/* Gota Africana — self-contained styles for the Gota Africana SEO cluster.
   Scoped under .gota so it never collides with the hub's own design system. */
.gota {
  --g-green-900: #14301f;
  --g-green-700: #1A3A2A;
  --g-green-500: #2D5A3D;
  --g-gold: #C8963C;
  --g-gold-2: #D4B960;
  --g-ink: #24303a;
  --g-muted: #5b6b63;
  --g-line: #e4e9e5;
  --g-bg-soft: #f5f8f5;
  color: var(--g-ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.7;
}
.gota img { max-width: 100%; height: auto; display: block; }
.gota-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.gota-hero {
  background: linear-gradient(135deg, #10281a, #24503a);
  color: #fff;
  padding: 56px 20px 60px;
}
.gota-hero__grid {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.gota-hero__kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-gold-2); font-weight: 700; margin-bottom: 14px;
}
.gota-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0 0 16px; color: #fff;
}
.gota-hero__lead { font-size: 1.05rem; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.gota-hero__img img {
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); margin: 0 auto;
}
.gota-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.gota-pricechip {
  display: inline-flex; flex-direction: column; line-height: 1.15;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 8px 14px; font-size: .82rem; color: rgba(255,255,255,.8);
}
.gota-pricechip b { font-size: 1.05rem; color: var(--g-gold-2); }

/* Sections */
.gota-section { padding: 44px 0; }
.gota-section--alt { background: var(--g-bg-soft); }
.gota-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--g-green-700); margin: 0 0 18px;
}
.gota-h3 { font-size: 1.12rem; color: var(--g-green-700); margin: 1.4em 0 .4em; }
.gota-prose p { margin: 0 0 1.05em; }
.gota-prose ul, .gota-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.gota-prose li { margin: .35em 0; }
.gota-prose strong { color: var(--g-green-900); }
.gota-lead { font-size: 1.08rem; color: var(--g-muted); }

/* Breadcrumbs */
.gota-crumbs { font-size: .82rem; color: var(--g-muted); padding: 16px 0 0; }
.gota-crumbs a { color: var(--g-green-500); text-decoration: none; }
.gota-crumbs a:hover { text-decoration: underline; }

/* Banners */
.gota-banner { margin: 8px auto; max-width: 1100px; padding: 0 20px; }
.gota-banner img { border-radius: 16px; width: 100%; object-fit: cover; }

/* Ingredient / feature cards */
.gota-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.gota-card {
  background: #fff; border: 1px solid var(--g-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(20,48,31,.05);
}
.gota-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gota-card__b { padding: 16px 18px; }
.gota-card__b h3 { margin: 0 0 6px; color: var(--g-green-700); font-size: 1.05rem; }
.gota-card__b p { margin: 0; font-size: .92rem; color: var(--g-muted); }

/* Steps */
.gota-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; }
.gota-step { background:#fff; border:1px solid var(--g-line); border-radius:14px; padding: 20px; }
.gota-step__n { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center;
  border-radius:50%; background: var(--g-gold); color:#1b2a1f; font-weight:700; margin-bottom:10px; }
.gota-step h3 { margin:.2em 0 .4em; color: var(--g-green-700); font-size:1.05rem; }
.gota-step p { margin:0; font-size:.92rem; color: var(--g-muted); }

/* Checklist */
.gota-check { list-style:none; padding:0; margin:0; }
.gota-check li { position:relative; padding-left: 30px; margin:.5em 0; }
.gota-check li::before { content:"✓"; position:absolute; left:0; top:0; color: var(--g-green-500);
  font-weight:800; }
.gota-cross li::before { content:"✕"; color:#c0392b; }

/* Table */
.gota-table { width:100%; border-collapse:collapse; font-size:.95rem; background:#fff;
  border:1px solid var(--g-line); border-radius:12px; overflow:hidden; }
.gota-table td, .gota-table th { padding:.7rem .9rem; border-bottom:1px solid var(--g-line); text-align:left; }
.gota-table tr:last-child td { border-bottom:none; }
.gota-table td:first-child, .gota-table th:first-child { font-weight:700; color: var(--g-green-900); width:42%; }
.gota-pricetable td:last-child { font-weight:700; color: var(--g-green-700); }

/* Rating + reviews */
.gota-rating { display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--g-line); border-radius:14px; padding:18px 22px; }
.gota-rating__num { font-size:2.4rem; font-weight:800; color: var(--g-green-700); line-height:1; }
.gota-stars { color: var(--g-gold); letter-spacing:2px; font-size:1.2rem; }
.gota-reviews { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:20px; }
.gota-review { background:#fff; border:1px solid var(--g-line); border-radius:14px; padding:20px; }
.gota-review__head { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.gota-review__head img { width:52px; height:52px; border-radius:50%; object-fit:cover; }
.gota-review__meta b { display:block; color: var(--g-green-900); }
.gota-review__meta span { font-size:.82rem; color: var(--g-muted); }
.gota-review__stars { color: var(--g-gold); letter-spacing:1px; }
.gota-review p { margin:.5em 0 0; font-size:.94rem; color:#40504a; }

/* FAQ */
.gota-faq details { background:#fff; border:1px solid var(--g-line); border-radius:12px;
  padding: 4px 18px; margin-bottom:12px; }
.gota-faq summary { cursor:pointer; font-weight:600; color: var(--g-green-700); padding:14px 0; list-style:none; }
.gota-faq summary::-webkit-details-marker { display:none; }
.gota-faq summary::after { content:"+"; float:right; color: var(--g-gold); font-weight:700; }
.gota-faq details[open] summary::after { content:"–"; }
.gota-faq details > p { margin:0 0 14px; color: var(--g-muted); font-size:.95rem; }

/* Related */
.gota-related { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:16px; }
.gota-related a { display:block; background:#fff; border:1px solid var(--g-line); border-radius:14px;
  padding:18px 20px; text-decoration:none; color:inherit; transition:box-shadow .2s, transform .2s; }
.gota-related a:hover { box-shadow:0 8px 24px rgba(20,48,31,.1); transform:translateY(-2px); }
.gota-related strong { display:block; color: var(--g-green-700); margin-bottom:4px; }
.gota-related span { display:block; font-size:.9rem; color: var(--g-muted); }
.gota-related .go { color: #8a6418; font-weight:700; margin-top:8px; font-size:.9rem; }

@media (max-width: 820px) {
  .gota-hero__grid { grid-template-columns: 1fr; text-align:center; }
  .gota-hero__cta { justify-content:center; }
  .gota-hero__img { order:-1; max-width:280px; margin:0 auto; }
}
/* === CTA button — global fallback (hero anchors sit OUTSIDE the scoped GotaCTA
   component, so the scoped rule never reaches them). High specificity + !important
   also guards against hub `a{color}` / `.gota a{color}` rules bleeding into the
   button label (which was making text blend into the button). === */
a.gcta__btn,.gota a.gcta__btn{
  display:inline-block;padding:16px 34px;
  background:linear-gradient(135deg,#C8963C,#D4B960)!important;
  color:#1b2a1f!important;border:none;border-radius:14px;font-weight:700;
  text-decoration:none!important;text-transform:uppercase;letter-spacing:.4px;
  line-height:1.2;box-shadow:0 6px 24px rgba(200,150,60,.4);cursor:pointer;
}
a.gcta__btn:hover,.gota a.gcta__btn:hover{color:#1b2a1f!important;transform:translateY(-2px);box-shadow:0 10px 32px rgba(200,150,60,.55)}


/* ---- src/components/gota/GotaDisclaimer.astro ---- */

  .gdisc { padding:14px 18px; background:#F5F5F5; border-radius:8px; margin:24px 0; }
  .gdisc p { font-size:.82rem; color:#666; line-height:1.55; margin:0; }
  .gdisc--prominent { background:#F7F8F8; border:2px solid #FFB74D; border-radius:12px; padding:20px 24px; }
  .gdisc--prominent p { color:#A33A00; font-size:.9rem; }


/* ---- src/components/gota/GotaCTA.astro ---- */

  .gcta { background: linear-gradient(135deg, #1A3A2A, #2D5A3D); padding: 56px 20px; text-align: center; }
  .gcta--inline { background: transparent; padding: 30px 20px; }
  .gcta__inner { max-width: 620px; margin: 0 auto; }
  .gcta__title { color:#fff; font-size: clamp(1.3rem, 2.6vw, 1.85rem); margin:0 0 12px;
    font-family:'Playfair Display', Georgia, serif; }
  .gcta__sub { color: rgba(255,255,255,.85); margin:0 0 24px; }
  .gcta__sub strong { color:#D4B960; font-size:1.2rem; }
  .gcta__sub s { color: rgba(255,255,255,.72); }
  .gcta__btn { display:inline-block; padding:16px 34px;
    background: linear-gradient(135deg, #C8963C, #D4B960); color:#1b2a1f; border-radius:14px;
    font-size:1rem; font-weight:700; text-decoration:none; text-transform:uppercase; letter-spacing:.4px;
    box-shadow:0 6px 24px rgba(200,150,60,.4); transition: transform .2s, box-shadow .2s; margin-bottom:14px; }
  .gcta__btn:hover { transform: translateY(-2px); box-shadow:0 10px 32px rgba(200,150,60,.55); color:#1b2a1f; }
  .gcta__trust { font-size:.82rem; color: rgba(255,255,255,.65); margin:0; }
  .gcta__trust--dark { color:#5b6b63; }
  .gcta__alt { font-size:.82rem; color: rgba(255,255,255,.72); margin:14px 0 0; }
  .gcta__alt a { color:#D4B960; text-decoration: underline; }


/* ---- Layout.astro global ---- */

/* 375px: the course table turns into one card per row (label from data-label), no sideways scroll (30.09.2026) */
@media (max-width: 560px) {
  .gota-table--cards thead { display: none; }
  .gota-table--cards, .gota-table--cards tbody, .gota-table--cards tr { display: block; width: 100%; }
  .gota-table--cards { border: 0; background: transparent; }
  .gota-table--cards tr { background: #fff; border: 1px solid var(--g-line); border-radius: 12px; margin: 0 0 .7rem; padding: .35rem .9rem; }
  .gota-table--cards td { display: flex; justify-content: space-between; gap: .8rem; width: auto !important; padding: .4rem 0; text-align: right; border-bottom: 1px dashed var(--g-line); }
  .gota-table--cards tr td:last-child { border-bottom: 0; }
  .gota-table--cards td::before { content: attr(data-label); font-weight: 700; color: var(--g-green-900); text-align: left; flex-shrink: 0; }
}
