/* ============================================================
   SWASTIKA VENTURES PHARMACEUTICALS LLP — Design System
   Palette drawn from brand mark: deep clinical blue, sand swoosh,
   signal red used only where precision/caution matters.
   ============================================================ */

:root{
  --blue-deep:   #16214F;   /* headers, footer, deep panels */
  --blue-brand:  #2A46DE;   /* primary brand blue, from logo */
  --blue-bright: #4C6BFF;   /* hover / links */
  --sand:        #B69B77;   /* logo swoosh, warm secondary */
  --sand-light:  #EFE7D8;   /* tinted backgrounds */
  --sand-line:   #DDD0B8;
  --red:         #D81F2A;   /* logo red — reserved for Rx caution + accents */
  --ink:         #171A22;
  --ink-soft:    #4B5065;
  --paper:       #FAF9F6;
  --paper-dim:   #F2F0EA;
  --white:       #FFFFFF;
  --line:        #E4E1D8;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(22,33,79,0.06), 0 1px 1px rgba(22,33,79,0.04);
  --shadow-md: 0 8px 24px rgba(22,33,79,0.10);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--serif); font-weight:600; margin:0 0 .5em; color:var(--blue-deep); letter-spacing:-0.01em; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

:focus-visible{ outline:2px solid var(--blue-bright); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue-brand); font-weight:500; margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:18px; height:2px; background:var(--red); display:inline-block; border-radius:1px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,249,246,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ height:72px; width:auto; }
.brand-text{ font-family:var(--serif); font-size:19px; font-weight:600; color:var(--blue-deep); line-height:1.28; }

.nav-links{ display:flex; gap:2px; align-items:center; }
.nav-links a{
  font-size:14.5px; font-weight:500; color:var(--ink-soft);
  padding:9px 14px; border-radius:var(--radius); position:relative;
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--blue-deep); }
.nav-links a.active{ color:var(--blue-deep); font-weight:600; }
.nav-links a.active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:3px; height:2px; background:var(--red); border-radius:1px;
}
.nav-cta{
  background:var(--blue-deep); color:var(--white) !important; padding:9px 18px !important;
  border-radius:var(--radius); margin-left:8px;
}
.nav-cta:hover{ background:var(--blue-brand); }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--blue-deep); margin:5px 0; border-radius:2px; }

@media (max-width:860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    background:var(--white); border-bottom:1px solid var(--line); box-shadow:var(--shadow-md);
    padding:8px 20px 18px; gap:0; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 6px; border-bottom:1px solid var(--paper-dim); }
  .nav-cta{ margin:10px 6px 0; text-align:center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--sans); font-weight:600; font-size:14.5px;
  padding:13px 24px; border-radius:var(--radius); cursor:pointer;
  border:1px solid transparent; transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--blue-brand); color:var(--white); }
.btn-primary:hover{ background:var(--blue-deep); }
.btn-outline{ background:transparent; border-color:var(--blue-deep); color:var(--blue-deep); }
.btn-outline:hover{ background:var(--blue-deep); color:var(--white); }
.btn-sand{ background:var(--sand); color:var(--blue-deep); }
.btn-sand:hover{ background:var(--sand-line); }
.btn-arrow::after{ content:"→"; transition:transform .15s ease; }
.btn-arrow:hover::after{ transform:translateX(3px); }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding:76px 0 40px;
  background:
    radial-gradient(ellipse 900px 500px at 82% -10%, rgba(182,155,119,0.28), transparent 60%),
    var(--paper);
  position:relative; overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(2.1rem, 4vw, 3.15rem); line-height:1.08; margin-bottom:22px; }
.hero h1 em{ font-style:italic; color:var(--blue-brand); }
.hero p.lead{ font-size:18px; color:var(--ink-soft); max-width:520px; margin-bottom:32px; }

.capsule-art{
  position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
}
.capsule-art svg{ width:100%; height:100%; }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:8px; }
  .capsule-art{ max-width:260px; margin:8px auto 0; }
}

/* ---------- signature capsule divider ---------- */
.capsule-divider{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin:0 auto; padding:6px 0;
}
.capsule-divider .pill{
  width:64px; height:24px; border-radius:999px; position:relative; overflow:hidden;
  box-shadow:var(--shadow-sm); flex:none;
}
.capsule-divider .pill::before, .capsule-divider .pill::after{
  content:""; position:absolute; top:0; bottom:0; width:50%;
}
.capsule-divider .pill::before{ left:0; background:var(--blue-brand); }
.capsule-divider .pill::after{ right:0; background:var(--sand); }
.capsule-divider .rule{ height:1px; background:var(--line); flex:1; max-width:220px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar{
  background:var(--blue-deep); color:var(--white);
}
.trust-inner{
  display:flex; align-items:center; justify-content:center; gap:36px; flex-wrap:wrap;
  padding:18px 0; font-size:13.5px; text-align:center;
}
.trust-item{ display:flex; align-items:center; gap:10px; color:#D9DEF5; }
.trust-item strong{ color:var(--white); font-weight:600; }
.trust-badge-mini{
  width:30px; height:30px; border-radius:50%; background:var(--sand);
  display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:9px; font-weight:700; color:var(--blue-deep);
  flex:none;
}

/* ============================================================
   SECTIONS / CARDS
   ============================================================ */
section{ padding:76px 0; }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.section-head p{ color:var(--ink-soft); font-size:16.5px; }

.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.pillar{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:32px 28px; position:relative;
}
.pillar .tag{
  font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--sand);
  display:block; margin-bottom:14px; font-weight:600;
}
.pillar h3{ font-size:20px; margin-bottom:10px; }
.pillar p{ color:var(--ink-soft); font-size:15px; margin:0; }

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

/* ---------- product grid ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:960px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .product-grid{ grid-template-columns:1fr; } }

.product-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:26px; display:flex; flex-direction:column; gap:12px; transition:box-shadow .18s ease, transform .18s ease;
}
.product-card .shot{
  margin:-26px -26px 4px; border-radius:var(--radius-lg) var(--radius-lg) 0 0; overflow:hidden;
  aspect-ratio:4/3; background:var(--paper-dim); border-bottom:1px solid var(--line);
}
.product-card .shot img{ width:100%; height:100%; object-fit:cover; object-position:top; }
.product-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.product-card .name{ font-family:var(--serif); font-size:22px; color:var(--blue-deep); font-weight:600; }
.product-card .formula{ font-family:var(--mono); font-size:12.5px; color:var(--ink-soft); line-height:1.5; }
.product-card .desc{ font-size:14.5px; color:var(--ink-soft); flex:1; }
.product-card .focus{ font-size:12.5px; color:var(--blue-brand); font-weight:600; }
.product-card .card-link{ font-size:14px; font-weight:600; color:var(--blue-deep); display:inline-flex; gap:6px; align-items:center; margin-top:4px; }
.product-card .card-link::after{ content:"→"; transition:transform .15s ease; }
.product-card:hover .card-link::after{ transform:translateX(3px); }

/* tag / badge (category pill — functional, echoes capsule motif) */
.tag-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  padding:5px 12px; border-radius:999px; width:fit-content;
}
.tag-supplement{ background:var(--sand-light); color:#8A6D3F; }
.tag-rx{ background:#FBE4E4; color:var(--red); }
.tag-nutraceutical{ background:#E4E9FF; color:var(--blue-brand); }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--blue-deep); color:var(--white); border-radius:var(--radius-lg);
  padding:52px 44px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); font-size:1.8rem; margin-bottom:8px; }
.cta-band p{ color:#C7CEEE; margin:0; }

/* ---------- footer ---------- */
.site-footer{ background:var(--blue-deep); color:#C7CEEE; padding:56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1.4fr; gap:40px; margin-bottom:40px; }
.footer-brand{ display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.footer-brand img{ height:76px; filter:brightness(0) invert(1); opacity:.92; }
.footer-tag{ font-size:14px; color:#9AA4D6; max-width:280px; }
.footer-col h4{ color:var(--white); font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer-col a, .footer-col p{ display:block; font-size:14px; color:#B9C1E8; margin-bottom:10px; }
.footer-col a:hover{ color:var(--white); }
.footer-notice{ font-size:12.5px; color:#8791C2; border-top:1px solid rgba(255,255,255,0.12); padding-top:24px; line-height:1.7; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:18px; font-size:12.5px; color:#8791C2; }

@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }

/* ============================================================
   INNER PAGE HERO (About / Quality / Manufacturing / Contact / Product)
   ============================================================ */
.page-hero{
  background:var(--blue-deep); color:var(--white); padding:56px 0 64px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; right:-120px; top:-120px; width:360px; height:360px; border-radius:50%;
  background:radial-gradient(circle, rgba(182,155,119,0.35), transparent 70%);
}
.page-hero .eyebrow{ color:var(--sand); }
.page-hero .eyebrow::before{ background:var(--sand); }
.page-hero h1{ color:var(--white); font-size:clamp(1.9rem,3.6vw,2.7rem); max-width:680px; }
.page-hero p{ color:#C7CEEE; max-width:600px; font-size:16.5px; }
.breadcrumb{ font-size:13px; color:#9AA4D6; margin-bottom:18px; font-family:var(--mono); }
.breadcrumb a{ color:#C7CEEE; } .breadcrumb a:hover{ color:var(--white); }

/* ---------- content blocks ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } }

.check-list li{
  display:flex; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:15.5px; color:var(--ink-soft);
}
.check-list li:last-child{ border-bottom:none; }
.check-list li::before{
  content:""; flex:none; width:8px; height:8px; margin-top:7px; border-radius:2px;
  background:var(--red);
}

.segment-list{ display:flex; flex-wrap:wrap; gap:10px; }
.segment-list span{
  background:var(--white); border:1px solid var(--line); padding:9px 16px; border-radius:999px; font-size:14px; color:var(--blue-deep); font-weight:500;
}

.quality-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media (max-width:760px){ .quality-grid{ grid-template-columns:1fr; } }
.quality-item{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px 28px; }
.quality-item h3{ font-size:18px; }
.quality-item p{ font-size:14.5px; color:var(--ink-soft); margin:0; }
.quality-item .num{ font-family:var(--mono); font-size:12px; color:var(--sand); font-weight:700; letter-spacing:.08em; }

/* ---------- certificate showcase ---------- */
.cert-panel{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px;
  display:grid; grid-template-columns:220px 1fr; gap:30px; align-items:center; box-shadow:var(--shadow-sm);
}
@media (max-width:640px){ .cert-panel{ grid-template-columns:1fr; } }
.cert-thumb{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.cert-thumb img{ width:100%; }
.cert-meta dl{ display:grid; grid-template-columns:auto 1fr; gap:6px 18px; font-size:14.5px; margin:16px 0 0; }
.cert-meta dt{ color:var(--ink-soft); }
.cert-meta dd{ margin:0; font-family:var(--mono); font-weight:600; color:var(--blue-deep); }

/* ---------- distribution flow ---------- */
.flow{ display:flex; align-items:center; gap:0; flex-wrap:wrap; justify-content:center; }
.flow-node{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:20px 22px; text-align:center; min-width:150px; font-weight:600; color:var(--blue-deep); font-size:14.5px;
  box-shadow:var(--shadow-sm);
}
.flow-arrow{ color:var(--sand); font-size:22px; padding:0 14px; }
@media (max-width:760px){ .flow{ flex-direction:column; } .flow-arrow{ transform:rotate(90deg); padding:6px 0; } }

/* ---------- product detail page ---------- */
.product-shot{
  border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md);
  background:var(--white); margin-bottom:28px;
}
.product-shot img{ width:100%; display:block; }

.rx-notice{
  background:#FBE4E4; border:1px solid #F3B9BC; color:#8E1017; border-radius:var(--radius);
  padding:18px 20px; font-size:14.5px; display:flex; gap:12px; margin-top:18px;
}
.rx-notice strong{ color:var(--red); }

table.composition{ width:100%; border-collapse:collapse; font-size:14.5px; }
table.composition th, table.composition td{ text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); }
table.composition th{ font-family:var(--mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); font-weight:600; }
table.composition td:last-child, table.composition th:last-child{ font-family:var(--mono); font-weight:600; color:var(--blue-deep); }
table.composition{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }

.pack-meta{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:10px; }
.pack-meta div{ background:var(--paper-dim); border-radius:var(--radius); padding:16px; }
.pack-meta .k{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); display:block; margin-bottom:6px; }
.pack-meta .v{ font-weight:600; color:var(--blue-deep); font-size:14.5px; }
@media (max-width:640px){ .pack-meta{ grid-template-columns:1fr; } }

.tagline-block{
  border-left:3px solid var(--sand); padding-left:20px; margin:28px 0; font-family:var(--serif); font-style:italic; font-size:20px; color:var(--blue-deep);
}

/* ---------- product nav (prev/next) ---------- */
.product-pager{ display:flex; justify-content:space-between; gap:16px; border-top:1px solid var(--line); padding-top:28px; margin-top:16px; }
.product-pager a{ font-size:14px; font-weight:600; color:var(--blue-deep); }
.product-pager a:hover{ color:var(--blue-brand); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:36px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; }
.contact-card h3{ font-size:19px; }
.contact-line{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--paper-dim); font-size:14.5px; }
.contact-line:last-child{ border-bottom:none; }
.contact-line .k{ color:var(--ink-soft); min-width:110px; font-weight:500; }
.contact-line .v{ font-weight:600; color:var(--blue-deep); }
.enquiry-list li{ display:flex; gap:10px; padding:9px 0; font-size:14.5px; color:var(--ink-soft); }
.enquiry-list li::before{ content:"—"; color:var(--sand); font-weight:700; }

/* ============================================================
   MOBILE REFINEMENTS
   Tightens header, spacing, type-scale and component layout
   specifically for phone-sized viewports. Content is unchanged;
   only layout/sizing is adjusted below each breakpoint.
   ============================================================ */

@media (max-width:760px){
  .container{ padding:0 18px; }

  /* ---- header / brand ---- */
  .nav{ padding:10px 0; }
  .brand{ gap:9px; }
  .brand img{ height:40px; }
  .brand-text{ font-size:13.5px; line-height:1.22; }
  .nav-toggle{ padding:6px; }

  /* ---- section rhythm ---- */
  section{ padding:44px 0; }
  .section-head{ margin-bottom:28px; }
  .section-head h2{ font-size:1.5rem; }

  /* ---- hero ---- */
  .hero{ padding:40px 0 28px; }
  .hero h1{ font-size:1.8rem; margin-bottom:16px; }
  .hero p.lead{ font-size:15.5px; max-width:none; margin-bottom:22px; }
  .btn-row{ flex-direction:column; align-items:stretch; gap:10px; }
  .btn-row .btn{ justify-content:center; text-align:center; width:100%; }
  .capsule-art{ max-width:180px; }

  /* ---- trust bar ---- */
  .trust-inner{ flex-direction:column; gap:12px; padding:16px 0; align-items:flex-start; }
  .trust-item{ font-size:12.5px; }

  /* ---- pillars / cards / grids already 1-col via existing rules ---- */
  .pillar{ padding:24px 20px; }
  .product-card{ padding:20px; }
  .product-card .shot{ margin:-20px -20px 4px; }
  .product-card .name{ font-size:19px; }

  /* ---- page hero (inner pages) ---- */
  .page-hero{ padding:40px 0 44px; }
  .page-hero h1{ font-size:1.55rem; }
  .page-hero p{ font-size:15px; }
  .breadcrumb{ font-size:11.5px; margin-bottom:14px; }

  /* ---- CTA band ---- */
  .cta-band{ padding:32px 24px; flex-direction:column; align-items:flex-start; text-align:left; }
  .cta-band h2{ font-size:1.4rem; }
  .cta-band .btn-row{ width:100%; }

  /* ---- quality / two-col content ---- */
  .two-col{ gap:32px; }
  .quality-item{ padding:22px 20px; }

  /* ---- certificate panel ---- */
  .cert-panel{ padding:20px; gap:20px; }
  .cert-meta dl{ grid-template-columns:1fr; gap:2px 0; }
  .cert-meta dd{ margin-bottom:10px; }

  /* ---- distribution flow ---- */
  .flow-node{ min-width:0; width:100%; }

  /* ---- product detail ---- */
  .product-shot{ margin-bottom:20px; }
  table.composition{ font-size:13px; }
  table.composition th, table.composition td{ padding:10px 12px; }
  .pack-meta{ gap:10px; }
  .tagline-block{ font-size:17px; margin:22px 0; }
  .product-pager{ flex-direction:column; gap:12px; text-align:left; }

  /* ---- contact ---- */
  .contact-card{ padding:24px 20px; }
  .contact-line{ flex-direction:column; gap:3px; }
  .contact-line .k{ min-width:0; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--sand); font-weight:600; }

  /* ---- footer ---- */
  .site-footer{ padding:40px 0 22px; }
  .footer-brand img{ height:54px; }
  .footer-bottom{ flex-direction:column; gap:6px; }
}

@media (max-width:400px){
  .hero h1{ font-size:1.6rem; }
  .brand-text{ font-size:12.5px; }
  .brand img{ height:36px; }
  table.composition{ font-size:12px; }
  table.composition th, table.composition td{ padding:8px 9px; }
}
