/* medkuras.lt — base styles */

:root {
  --bg: #FAF6EF;
  --bg-alt: #F1E8D8;
  --surface: #FFFFFF;
  --text: #2B2118;
  --text-muted: #6B5D4F;
  --brand: #7A4A26;
  --brand-dark: #5C3A1E;
  --brand-light: #C9A97E;
  --accent: #C1622B;
  --accent-dark: #A34E20;
  --green: #4B6B3A;
  --border: #E4D9C5;
  --shadow: 0 8px 24px rgba(43, 33, 24, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 33, 24, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--surface);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.visually-hidden:focus { left: 16px; top: 16px; }

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

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(193, 98, 43, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--text-muted); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(193, 98, 43, 0.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; border-color: var(--brand); color: var(--brand-dark); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img { height: 52px; width: auto; display: block; }
@media (max-width: 600px) { .logo img { height: 42px; } }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  opacity: 0.85;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.call-btn:hover { background: var(--brand-dark); }
.call-btn svg { width: 16px; height: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .call-btn span { display: none; }
  .header-actions .call-btn { padding: 10px; }
}

/* Hero */
.hero {
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}
.hero h1 { margin-bottom: 20px; }
.hero-lede { font-size: 18px; margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.badge svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.hero-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 6 / 5; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }
@media (max-width: 900px) { .hero-art { aspect-ratio: 3 / 2; } }

/* Info strip */
.info-strip {
  background: var(--brand-dark);
  color: #fff;
  padding: 20px 0;
}
.info-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.info-strip .item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: #F1E8D8; }
.info-strip svg { width: 18px; height: 18px; color: var(--accent); }

/* About */
.about .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about .container { grid-template-columns: 1fr; } }
.about-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.about-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .about-art { aspect-ratio: 3 / 2; } }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--text); }
.about-list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* Products */
.products { background: var(--bg-alt); }
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* 2 + 2 + 1 (paskutinė centre) */
@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid > .product-card { grid-column: span 2; }
  .product-grid > .product-card:nth-child(5) { grid-column: 2 / span 2; }
}
/* 3 + 2 (apatinė eilutė centre) */
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .product-grid > .product-card:nth-child(4) { grid-column: 2 / span 2; }
  .product-grid > .product-card:nth-child(5) { grid-column: 4 / span 2; }
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.product-card .ring { width: 64px; height: 64px; margin-bottom: 18px; }
.product-card h3 { margin-bottom: 6px; }
.product-price { font-size: 22px; font-weight: 800; color: var(--brand-dark); margin: 4px 0 12px; }
.product-price small { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.product-card p { flex-grow: 1; font-size: 14.5px; }
.product-note {
  margin-top: 40px;
  background: var(--surface);
  border: 1px dashed var(--brand-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.product-note svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.product-note p { margin: 0; font-size: 14.5px; }

/* Delivery */
.delivery .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .delivery .container { grid-template-columns: 1fr; } }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-pills span {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  font-weight: 600;
  color: var(--text);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.steps li span { display: block; font-weight: 400; color: var(--text-muted); margin-top: 4px; font-size: 14.5px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: var(--bg-alt); }
.contact .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact .container { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-row strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-row a, .contact-row div.value { color: var(--text-muted); font-size: 15px; }
.contact-row a:hover { color: var(--accent); }

.form-card { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 100px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(75, 107, 58, 0.12); color: var(--green); }
.form-status.err { background: rgba(193, 98, 43, 0.12); color: var(--accent-dark); }

/* Footer */
.site-footer { background: var(--brand-dark); color: #EFE6D6; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .logo-mark img { height: 60px; width: auto; display: block; }
.site-footer .logo-mark span { font-size: 20px; font-weight: 800; color: #fff; }
.site-footer p { color: #CDBFA8; font-size: 14.5px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #CDBFA8; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: #B8A98D;
}

/* Mobile sticky call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 14px; border-radius: 999px; font-weight: 700;
}
@media (max-width: 720px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 72px; }
}
