/* ===== SUGAR MEDICAL SPAIN — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --sun: #F5A623;
  --coral: #E85D75;
  --sky: #4ABECC;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --ink: #1A1A2E;
  --muted: #6B7280;
  --light-border: #F0E8DF;
  --gradient-hero: linear-gradient(135deg, #FFF0E8 0%, #FFF8F0 50%, #EBF8FA 100%);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


html { scroll-behavior: smooth; font-size: 16px; }


body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}


/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,240,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
}

.nav-logo span { color: var(--coral); }

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--coral); }

.nav-cta {
  background: var(--coral); color: #fff;
  padding: 10px 22px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: #d04060; transform: translateY(-1px); }


/* FOOTER */
footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 48px 24px 28px;
  font-size: 0.82rem; line-height: 1.7;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}

footer h4 {
  font-family: 'Playfair Display', serif;
  color: #fff; font-size: 1rem; margin-bottom: 14px;
}

footer a { color: rgba(255,255,255,0.6); text-decoration: none; display: block; margin-bottom: 8px; }

footer a:hover { color: var(--sun); }

.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4);
}


/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral) 0%, #c94060 100%);
  color: #fff; padding: 16px 36px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(232,93,117,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,93,117,0.45); }


.btn-secondary {
  display: inline-block;
  border: 2px solid var(--coral); color: var(--coral);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover { background: var(--coral); color: #fff; }


/* DISCLAIMER BAR */
.disclaimer-bar {
  background: #FFF3CD; border-bottom: 1px solid #FFE082;
  padding: 8px 24px; text-align: center;
  font-size: 0.78rem; color: #856404;
}


/* PAGE WRAPPER */
.page-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }

.page-content h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 24px; }

.page-content h2 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }

.page-content p, .page-content li { color: var(--muted); margin-bottom: 12px; }

.page-content ul { padding-left: 20px; }

.page-content a { color: var(--coral); }


/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}


/* ADVERTORIAL LABEL */
.advertorial-label {
  background: #fff8f0;
  border-bottom: 1px solid #f0e8df;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a7a60;
  padding: 5px 16px;
  font-weight: 700;
}


/* NAV extended — more items */
@media (min-width: 769px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.84rem; }
  .nav-logo { flex-shrink: 0; white-space: nowrap; }
  .nav-cta { flex-shrink: 0; white-space: nowrap; }
}


/* ===== AWARENESS BLOCK ===== */
.awareness-section { padding: 80px 24px; background: var(--ink); }

.awareness-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow-tag {
  display: inline-block; background: rgba(232,93,117,0.2); color: var(--coral);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}

.awareness-section .section-title { color: #fff; }

.awareness-section .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 48px; }

.awareness-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; margin-bottom: 48px;
}

.aw-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 28px 20px;
  display: flex; flex-direction: column; gap: 8px;
}

.aw-icon { font-size: 26px; }

.aw-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--coral); line-height: 1.1; }

.aw-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; line-height: 1.4; }

.aw-text { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin: 0; }

.aw-cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 28px 36px;
}

.aw-cta-text { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.85); margin: 0; max-width: 500px; }


/* ===== DIAB QTY SELECTOR ===== */
.dp-qty-selector { display: flex; gap: 12px; margin-bottom: 24px; }

.dp-qty-opt { flex: 1; cursor: pointer; }

.dp-qty-opt input { display: none; }

.dp-qty-box {
  border: 2px solid rgba(255,255,255,0.15); border-radius: 12px;
  padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.2s;
  position: relative; overflow: hidden;
}

.dp-qty-opt.dp-active .dp-qty-box { border-color: var(--coral); background: rgba(232,93,117,0.08); }

.dp-qty-opt.dp-best .dp-qty-box { border-color: var(--sun); padding-top: 28px; }

.dp-qty-num { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.dp-qty-price { font-size: 1.3rem; font-weight: 700; color: #fff; }

.dp-qty-note { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

.dp-best-tag {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--sun); color: var(--ink);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 0; text-align: center;
}

@media(max-width:768px){.cf-row{grid-template-columns:1fr;}}

@media(max-width:480px) {
  .awareness-grid { grid-template-columns: 1fr; }
}


/* ===== MOVED FROM index.html inline <style> ===== */

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(74,190,204,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(232,93,117,0.1); color: var(--coral);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 em { font-style: normal; color: var(--coral); }

.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 32px; max-width: 460px;
}

.hero-badges {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px;
}

.hero-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.83rem; color: var(--muted); font-weight: 500;
}

.hero-badge svg { flex-shrink: 0; }


/* PRODUCT CAROUSEL */
.product-gallery {
  position: relative;
}

.gallery-main {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  aspect-ratio: 4/3; background: #f8f5f2;
}

.gallery-main img {
  width: 100%; height: 100%; object-fit: contain;
  background: #f8f5f2;
  transition: opacity 0.4s;
}

.gallery-thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  justify-content: center;
}

.gallery-thumb {
  width: 60px; height: 60px; border-radius: 10px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.2s;
}

.gallery-thumb.active { border-color: var(--coral); }

.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: #f8f5f2; }


/* SECTION TITLES */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center; color: var(--muted); font-size: 1rem;
  max-width: 560px; margin: 0 auto 48px;
}


/* STATS */
.stats-section { background: var(--white); padding: 60px 24px; }

.stats-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.stat-card {
  text-align: center; padding: 36px 24px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--light-border);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--coral); line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 0.88rem; color: var(--muted); }


/* HOW IT WORKS */
.how-section { padding: 80px 24px; background: var(--cream); }

.how-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.how-card {
  padding: 32px 24px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--light-border);
  position: relative;
}

.how-number {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sun));
  color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.how-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }

.how-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }


/* BENEFITS */
.benefits-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #FFF0E8 0%, #FFF8F0 100%);
}

.benefits-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.benefits-img { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.1); }

.benefits-img img { width: 100%; display: block; }

.benefit-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}

.benefit-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(232,93,117,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

.benefit-item h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }

.benefit-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }


/* TESTIMONIALS */
.reviews-section { padding: 80px 24px; background: var(--white); }

.reviews-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.review-card {
  padding: 28px 24px; border-radius: 16px;
  background: var(--cream); border: 1px solid var(--light-border);
}

.stars { color: var(--sun); font-size: 1rem; margin-bottom: 12px; }

.review-text { font-size: 0.88rem; color: var(--ink); line-height: 1.7; margin-bottom: 16px; }

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

.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sky));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

.reviewer-name { font-weight: 600; font-size: 0.85rem; }

.reviewer-location { font-size: 0.78rem; color: var(--muted); }


/* ORDER FORM */
.order-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--ink) 0%, #2A2A4E 100%);
}

.order-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
}

.order-section .section-title { color: #fff; }

.order-section .section-sub { color: rgba(255,255,255,0.6); }

.order-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 40px;
  margin-top: 8px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.form-field { display: flex; flex-direction: column; }

.form-field label {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  margin-bottom: 6px; font-weight: 500;
}

.form-field input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 12px 14px;
  color: #fff; font-size: 0.92rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-field input::placeholder { color: rgba(255,255,255,0.3); }

.form-field input:focus { outline: none; border-color: var(--coral); }

.form-field.full { grid-column: 1/-1; }

.form-privacy {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-bottom: 20px; text-align: left;
}

.form-privacy a { color: rgba(255,255,255,0.5); }


/* BLOG CARDS SECTION */
.blog-section { padding: 80px 24px; background: var(--cream); }

.blog-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px;
}

.blog-card {
  border-radius: 16px; overflow: hidden;
  background: var(--white); border: 1px solid var(--light-border);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.4s; }

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.blog-tag { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral); margin-bottom: 10px; }

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600; line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; flex: 1; }

.blog-read-more { margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--coral); }


@media (max-width: 768px) { .blog-grid-4 { grid-template-columns: 1fr; } }


/* from blog.html */

.blog-hero {
  background: var(--gradient-hero);
  padding: 70px 24px 50px; text-align: center;
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px;
}

.blog-hero p { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }


.blog-listing { padding: 64px 24px; }

.blog-listing-inner { max-width: 1100px; margin: 0 auto; }

.blog-grid-4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

.blog-card-large {
  border-radius: 16px; overflow: hidden;
  background: var(--white); border: 1px solid var(--light-border);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card-large:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.blog-card-large .blog-card-img { aspect-ratio: 16/9; overflow: hidden; }

.blog-card-large .blog-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.4s; }

.blog-card-large:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-large .blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-card-large h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px;
}

.blog-card-large p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; flex: 1; }



/* from blog/bananas-diabetes.html */

.article-hero {
  background: var(--gradient-hero);
  padding: 60px 24px 0;
}

.article-hero-inner { max-width: 780px; margin: 0 auto; }

.article-hero .blog-tag { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral); margin-bottom: 12px; display: block; }

.article-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.25; margin-bottom: 16px; }

.article-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 32px; }

.article-hero-img { border-radius: 16px 16px 0 0; overflow: hidden; max-height: 420px; }

.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-body { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }

.article-body p { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 20px; }

.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 36px 0 14px; }

.article-body h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; }

.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 20px; }

.article-body li { font-size: 0.97rem; line-height: 1.7; color: #374151; margin-bottom: 8px; }

.info-box { background: rgba(74,190,204,0.08); border-left: 3px solid var(--sky); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 28px 0; }

.info-box p { margin: 0; font-size: 0.9rem; }

.disclaimer-article { background: #FFF3CD; border: 1px solid #FFE082; border-radius: 10px; padding: 16px 20px; margin-top: 40px; font-size: 0.8rem; color: #856404; line-height: 1.6; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--coral); font-size: 0.9rem; font-weight: 500; text-decoration: none; margin-bottom: 40px; }

.back-link:hover { text-decoration: underline; }

.article-cta { background: linear-gradient(135deg, #FFF0E8, #FFF8F0); border: 1px solid var(--light-border); border-radius: 16px; padding: 36px; text-align: center; margin: 48px 0; }

.article-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 10px; }

.article-cta p { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }



/* from blog/haskaps-diabetes.html */

.article-hero { background: var(--gradient-hero); padding: 60px 24px 0; }

.article-body ul { padding-left: 22px; margin-bottom: 20px; }

.nutrient-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }

.nutrient-table th { background: var(--cream); padding: 10px 14px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--light-border); }

.nutrient-table td { padding: 10px 14px; border-bottom: 1px solid var(--light-border); color: #374151; }



/* from blog/huevos-diabetes.html */

.article-hero { background: var(--gradient-hero); padding: 60px 24px 0; }

.recipe-box { background: var(--white); border: 1px solid var(--light-border); border-radius: 16px; padding: 28px; margin: 32px 0; }

.recipe-box h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 16px; }



/* from blog/semillas-negras.html */

.article-hero { background: var(--gradient-hero); padding: 60px 24px 0; }

.warning-box { background: rgba(245,166,35,0.08); border-left: 3px solid var(--sun); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 28px 0; }

.warning-box p { margin: 0; font-size: 0.9rem; }



/* from pages/contact.html */

.contact-form-wrap { background: var(--white); border-radius: 16px; padding: 36px; border: 1px solid var(--light-border); margin-top: 24px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.cf-field { display: flex; flex-direction: column; }

.cf-field label { font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }

.cf-field input, .cf-field select, .cf-field textarea { border: 1px solid var(--light-border); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s; }

.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--coral); }

.cf-field.full { grid-column: 1/-1; }

.cf-privacy { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }

.cf-privacy a { color: var(--coral); }



/* from thank-you.html */

.thanks-wrap {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  background: var(--gradient-hero);
}

.thanks-box {
  max-width: 540px; text-align: center;
  background: var(--white); border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--light-border);
}

.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sun));
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

.thanks-box h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; margin-bottom: 16px;
}

.thanks-box p { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }

.thanks-box .btn-secondary { margin-top: 24px; }
/* ===== FAQ SECTION ===== */
.faq-section { padding: 80px 20px; background: var(--bg); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.faq-q {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--coral); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-item[open] .faq-q { background: var(--bg); }
.faq-a { padding: 0 24px 20px; color: var(--text); opacity: 0.85; line-height: 1.7; font-size: 0.96rem; }
.faq-a a { color: var(--coral); text-decoration: underline; }
@media (max-width: 600px) {
  .faq-q { padding: 16px 18px; font-size: 0.95rem; }
  .faq-a { padding: 0 18px 16px; }
}

/* 4 карточки блога — сетка 2×2 */
.blog-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .blog-grid--2col { grid-template-columns: 1fr; }
}
