/* Apteka-Sildenafil.pl — palette: deep teal + coral accents + warm cream */
:root {
  --teal-900: #0a3a3d;
  --teal-700: #12585e;
  --teal-500: #1d8a93;
  --teal-300: #8cc9cf;
  --teal-100: #d7ebee;
  --teal-50:  #eef6f7;

  --coral-500: #e56a4a;
  --coral-300: #f2a88d;
  --coral-100: #fbe3d8;

  --sand-50:  #faf7f2;
  --sand-100: #eee8dc;
  --sand-300: #c9beaa;
  --sand-600: #6d6659;
  --ink-900:  #1b2326;
  --white:    #ffffff;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(10, 58, 61, 0.08);
  --shadow-md: 0 12px 30px rgba(10, 58, 61, 0.12);
  --transition: 0.25s ease;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header { background: var(--white); border-bottom: 1px solid var(--sand-100); position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--teal-900); color: var(--teal-100); font-size: 0.82rem; padding: 8px 0; }
.topbar a { color: var(--coral-300); }
.topbar strong { color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--teal-900); }
.logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, var(--teal-700), var(--coral-500)); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; box-shadow: var(--shadow-sm); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--teal-900); letter-spacing: 0.01em; }
.logo-text strong { color: var(--coral-500); font-weight: 700; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--ink-900); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.main-nav a:hover { color: var(--coral-500); }
.burger { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 32px; position: relative; }
.burger span { position: absolute; height: 2px; background: var(--teal-900); left: 4px; right: 4px; transition: all var(--transition); }
.burger span:nth-child(1) { top: 8px; } .burger span:nth-child(2) { top: 15px; } .burger span:nth-child(3) { top: 22px; }
.burger.active span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); top: 15px; }

/* ===== HERO ===== */
.hero { padding: 72px 0 84px; background: linear-gradient(180deg, var(--teal-50) 0%, var(--sand-50) 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle, var(--coral-100), transparent 65%); z-index: 0; }
.hero::after { content: ""; position: absolute; bottom: -100px; left: -100px; width: 360px; height: 360px; background: radial-gradient(circle, var(--teal-100), transparent 65%); z-index: 0; }
.hero-content { max-width: 760px; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; padding: 6px 14px; background: var(--white); color: var(--teal-700); border-radius: 50px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; color: var(--teal-900); margin-bottom: 20px; font-weight: 700; letter-spacing: -0.01em; }
.hero-lead { font-size: 1.1rem; color: var(--sand-600); max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 50px; font-weight: 600; font-size: 0.96rem; transition: all var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--coral-500); color: var(--white); box-shadow: 0 6px 18px rgba(229, 106, 74, 0.35); }
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal-900); border: 1.5px solid var(--teal-300); }
.btn-ghost:hover { background: var(--teal-50); border-color: var(--teal-500); }
.hero-bullets { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.hero-bullets li { background: var(--white); padding: 12px 16px; border-radius: var(--radius); font-size: 0.88rem; color: var(--teal-900); font-weight: 500; border-left: 3px solid var(--coral-500); box-shadow: var(--shadow-sm); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--coral-500); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--teal-900); margin-bottom: 14px; font-weight: 700; letter-spacing: -0.01em; }
.section-title p { color: var(--sand-600); font-size: 1rem; }

/* ===== CATEGORIES ===== */
.categories { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { background: var(--sand-50); border: 1px solid var(--sand-100); border-radius: var(--radius-lg); padding: 32px 26px; text-align: center; transition: all var(--transition); position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--coral-500); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); background: var(--white); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon { width: 72px; height: 72px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--teal-100), var(--coral-100)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--teal-700); font-family: 'Playfair Display', serif; }
.cat-sex .cat-icon { background: linear-gradient(135deg, var(--coral-100), var(--coral-300)); color: var(--coral-500); }
.cat-slim .cat-icon { background: linear-gradient(135deg, var(--teal-100), var(--teal-300)); color: var(--teal-700); }
.cat-beauty .cat-icon { background: linear-gradient(135deg, #fbe3d8, #f2a88d); color: var(--coral-500); }
.cat-health .cat-icon { background: linear-gradient(135deg, var(--teal-100), #8cc9cf); color: var(--teal-900); }
.cat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--teal-900); margin-bottom: 12px; font-weight: 600; }
.cat-card p { color: var(--sand-600); font-size: 0.92rem; margin-bottom: 18px; line-height: 1.65; }
.cat-link { color: var(--coral-500); font-size: 0.88rem; font-weight: 600; }

/* ===== BENEFITS ===== */
.benefits { background: var(--teal-50); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform var(--transition); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--coral-500); font-weight: 700; margin-bottom: 16px; }
.benefit h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--teal-900); margin-bottom: 12px; font-weight: 600; }
.benefit p { color: var(--sand-600); font-size: 0.9rem; line-height: 1.65; }

/* ===== DELIVERY ===== */
.delivery { background: var(--sand-50); }
.delivery-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.delivery-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--teal-900); margin: 12px 0 24px; font-weight: 700; }
.steps { list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 18px 0 18px 58px; border-bottom: 1px solid var(--sand-100); counter-increment: step; color: var(--sand-600); }
.steps li:last-child { border-bottom: none; }
.steps li strong { color: var(--teal-900); font-weight: 600; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; width: 42px; height: 42px; background: var(--coral-500); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; }
.delivery-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-md); border-top: 4px solid var(--coral-500); }
.delivery-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--teal-900); margin-bottom: 12px; font-weight: 600; }
.delivery-card > p { color: var(--sand-600); margin-bottom: 24px; font-size: 0.92rem; }
.contact-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px dashed var(--sand-100); }
.contact-row:first-of-type { border-top: none; }
.contact-label { color: var(--sand-600); font-size: 0.86rem; }
.contact-value { color: var(--teal-900); font-weight: 600; font-size: 0.92rem; }
a.contact-value:hover { color: var(--coral-500); }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-item { background: var(--sand-50); border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--sand-100); transition: all var(--transition); }
.faq-item[open] { border-color: var(--coral-300); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 20px 26px; font-weight: 600; color: var(--teal-900); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: 'Playfair Display', serif; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--coral-500); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 22px; color: var(--sand-600); font-size: 0.92rem; line-height: 1.7; }

/* ===== CONTACT CTA ===== */
.contact { background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%); color: var(--white); }
.contact-box { text-align: center; max-width: 720px; margin: 0 auto; }
.contact-box h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; font-weight: 700; }
.contact-box p { color: var(--teal-100); margin-bottom: 30px; font-size: 1rem; }
.contact-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.72); padding: 60px 0 24px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .logo-footer { margin-bottom: 16px; }
.site-footer .logo-text { color: var(--white); }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.site-footer h4 { color: var(--white); font-family: 'Playfair Display', serif; margin-bottom: 16px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.site-footer a:hover { color: var(--coral-300); }
.footer-contacts li { margin-bottom: 14px; }
.footer-contacts strong { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.footer-bottom { padding-top: 24px; text-align: center; color: rgba(255,255,255,0.45); font-size: 0.82rem; }

/* ===== HERO VISUAL (grid with image) ===== */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(10, 58, 61, 0.25); border: 6px solid var(--white); }

/* ===== PROBLEMS ===== */
.problems { background: var(--white); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card { background: var(--sand-50); border: 1px solid var(--sand-100); border-radius: var(--radius-lg); padding: 36px 30px; text-align: center; transition: all var(--transition); position: relative; overflow: hidden; }
.problem-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--coral-500); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.problem-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.problem-card:hover::after { transform: scaleX(1); }
.problem-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--coral-100), var(--coral-300)); color: var(--coral-500); font-family: 'Playfair Display', serif; font-size: 2rem; }
.problem-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--teal-900); margin-bottom: 14px; font-weight: 600; }
.problem-card p { color: var(--sand-600); font-size: 0.93rem; line-height: 1.65; }

/* ===== OFFER ===== */
.offer { background: var(--teal-50); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative; border-top: 3px solid var(--teal-500); }
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-strong { border-top-color: var(--coral-500); }
.offer-top { border-top-color: var(--teal-900); background: linear-gradient(180deg, var(--white) 80%, var(--teal-100)); }
.offer-women { border-top-color: var(--coral-300); background: linear-gradient(180deg, var(--white) 85%, var(--coral-100)); }
.offer-badge { display: inline-block; padding: 4px 10px; background: var(--teal-100); color: var(--teal-900); border-radius: 50px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.offer-strong .offer-badge { background: var(--coral-100); color: var(--coral-500); }
.offer-top .offer-badge { background: var(--teal-900); color: var(--white); }
.offer-women .offer-badge { background: var(--coral-300); color: var(--white); }
.offer-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--teal-900); margin-bottom: 10px; font-weight: 600; line-height: 1.3; }
.offer-card p { color: var(--sand-600); font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.offer-note { display: inline-block; color: var(--teal-700); font-size: 0.78rem; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--sand-100); width: 100%; }

/* ===== HOW TO CHOOSE ===== */
.how-to-choose { background: var(--white); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 30px; }
.guide-card { background: var(--sand-50); border-radius: var(--radius-lg); padding: 36px 32px; border-left: 4px solid var(--teal-500); transition: all var(--transition); }
.guide-card:hover { box-shadow: var(--shadow-md); background: var(--white); border-left-color: var(--coral-500); }
.guide-women { border-left-color: var(--coral-300); }
.guide-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--coral-500); font-weight: 700; line-height: 1; margin-bottom: 14px; }
.guide-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--teal-900); margin-bottom: 14px; font-weight: 700; }
.guide-lead { color: var(--sand-600); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.guide-meta { list-style: none; border-top: 1px solid var(--sand-100); padding-top: 16px; }
.guide-meta li { padding: 6px 0; color: var(--sand-600); font-size: 0.88rem; }
.guide-meta strong { color: var(--teal-900); margin-right: 8px; }
.guide-disclaimer { text-align: center; max-width: 780px; margin: 16px auto 0; color: var(--coral-500); font-weight: 600; font-size: 0.92rem; padding: 16px 24px; background: var(--coral-100); border-radius: var(--radius); }

/* ===== ABOUT ===== */
.about { background: var(--sand-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 6px solid var(--white); }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--teal-900); margin: 10px 0 20px; font-weight: 700; line-height: 1.2; }
.about-content p { color: var(--sand-600); margin-bottom: 14px; line-height: 1.7; font-size: 0.98rem; }
.about-content p strong { color: var(--teal-900); font-weight: 600; }
.about-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--sand-100); }
.about-stats li { text-align: center; }
.about-stats strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--coral-500); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.about-stats span { color: var(--sand-600); font-size: 0.82rem; }

/* ===== CONTACT CTA (already styled above) ===== */

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .cat-grid, .benefits-grid, .hero-bullets { grid-template-columns: repeat(2, 1fr); }
  .delivery-box, .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .problems-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar { font-size: 0.74rem; text-align: center; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; flex-direction: column; border-top: 1px solid var(--sand-100); box-shadow: var(--shadow-md); }
  .main-nav.active { display: flex; }
  .burger { display: block; }
  .hero { padding: 56px 0 64px; }
  .hero-bullets { grid-template-columns: 1fr; }
  .cat-grid, .benefits-grid, .offer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .about-stats strong { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 56px 0; }
}
