/*
Theme Name: Dissolvable Oral Film B2B
Theme URI: https://www.dissolvableoralfilm.com/
Description: Astra child theme for a focused oral film OEM/ODM B2B website.
Author: Dissolvable Oral Film
Template: astra
Version: 1.0.0
Text Domain: dof
*/

:root {
  --navy: #0b1f33;
  --navy-2: #123652;
  --teal: #13a89e;
  --teal-dark: #0e817a;
  --mist: #edf8f7;
  --ice: #f5f9fc;
  --ink: #162738;
  --muted: #617385;
  --line: #dbe6ec;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 31, 51, .11);
  --radius: 18px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.72; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy); font-family: Manrope, Inter, sans-serif; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .65em; }
h1 { font-size: clamp(2.45rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.35em; padding-left: 1.3em; }
.container { width: var(--wrap); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 9999; padding: 10px 14px; background: var(--white); color: var(--navy); }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(219,230,236,.85); }
.header-row { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 250px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { line-height: 1.05; }
.brand-copy strong { display: block; font-family: Manrope, sans-serif; font-size: 18px; letter-spacing: -.02em; }
.brand-copy span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { color: var(--navy); font-size: 14px; font-weight: 750; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--teal-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); font-size: 22px; }
.header-cta { white-space: nowrap; }

.button, button, input[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--teal); color: var(--white); font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, button:hover, input[type=submit]:hover { color: var(--white); background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19,168,158,.22); }
.button.secondary { color: var(--navy); background: var(--white); border: 1px solid var(--line); }
.button.secondary:hover { color: var(--navy); background: var(--mist); }
.button.small { min-height: 42px; padding-inline: 16px; font-size: 13px; }

.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 78% 22%, rgba(19,168,158,.32), transparent 27%), linear-gradient(126deg, #071828, var(--navy-2)); padding: clamp(82px, 11vw, 150px) 0; }
.hero::after { content: ""; position: absolute; right: -9%; bottom: -44%; width: 560px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 68px; align-items: center; }
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero h1 { max-width: 870px; }
.hero .lead { max-width: 760px; color: #d8e7ef; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 36px; color: #cfe0e9; font-size: 13px; font-weight: 750; }
.trust-row span::before { content: "✓"; color: #60ded4; margin-right: 8px; }
.hero-panel { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.hero-panel img { display: block; width: 150px; margin: 0 auto 18px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.28)); }
.hero-panel h3 { font-size: 1.35rem; }
.hero-panel ul { margin-bottom: 0; color: #dceaf0; }

.section { padding: clamp(68px, 8vw, 112px) 0; }
.section.soft { background: var(--ice); }
.section.dark { color: #d8e6ed; background: var(--navy); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p { color: #b9ccd7; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 18px rgba(11,31,51,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(19,168,158,.5); box-shadow: var(--shadow); }
.card .icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 13px; color: var(--teal-dark); background: var(--mist); font-size: 22px; font-weight: 850; }
.card p { color: var(--muted); }
.card .text-link { font-size: 14px; font-weight: 850; }
.product-card { position: relative; overflow: hidden; padding-top: 34px; }
.product-card::before { content: ""; position: absolute; width: 110px; height: 8px; top: 0; left: 30px; border-radius: 0 0 10px 10px; background: var(--teal); }
.pill { display: inline-block; margin-bottom: 14px; padding: 5px 10px; border-radius: 999px; color: var(--teal-dark); background: var(--mist); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 64px; align-items: center; }
.feature-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--white); background: var(--teal); font-size: 12px; font-weight: 900; }
.process { counter-reset: step; }
.process .card { position: relative; }
.process .card::after { counter-increment: step; content: "0" counter(step); position: absolute; right: 22px; top: 18px; color: #d8ecea; font-family: Manrope; font-size: 34px; font-weight: 850; }
.metric-band { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.metric { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--navy); font-family: Manrope; font-size: 1.45rem; }
.metric span { color: var(--muted); font-size: 13px; }
.notice { padding: 20px 24px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--mist); color: #355062; }
.cta-band { padding: 46px; border-radius: 24px; color: var(--white); background: linear-gradient(125deg, var(--navy), #18546f); box-shadow: var(--shadow); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d5e4eb; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-row .copy { max-width: 720px; }

.page-hero { padding: 84px 0 70px; color: var(--white); background: linear-gradient(130deg, #071828, var(--navy-2)); }
.page-hero h1 { max-width: 960px; color: var(--white); font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
.page-hero p { max-width: 760px; color: #d7e6ee; font-size: 1.15rem; }
.breadcrumbs { margin-bottom: 20px; color: #9fc0ce; font-size: 13px; }
.breadcrumbs a { color: #bde8e4; }
.content-wrap { width: min(840px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 96px; }
.content-wrap.wide { width: var(--wrap); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.45em; }
.entry-content blockquote { margin: 30px 0; padding: 20px 26px; border-left: 4px solid var(--teal); background: var(--mist); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.entry-content th, .entry-content td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--navy); color: var(--white); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #9fc0ce; font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.post-card .post-visual { min-height: 120px; background: radial-gradient(circle at 75% 20%, rgba(19,168,158,.35), transparent 32%), linear-gradient(135deg, var(--navy), #24556e); }
.post-card .post-copy { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.post-card .post-copy p { color: var(--muted); font-size: 15px; }
.post-card .text-link { margin-top: auto; font-size: 14px; font-weight: 850; }

.faq-list { display: grid; gap: 14px; }
.faq-list details { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.faq-list summary { cursor: pointer; color: var(--navy); font-family: Manrope; font-weight: 800; }
.faq-list details p { margin: 16px 0 0; color: var(--muted); }

.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbd9e1; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; }
.quote-form textarea { min-height: 145px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(19,168,158,.15); border-color: var(--teal); }
.form-status { margin-bottom: 24px; padding: 16px 20px; border-radius: 10px; background: var(--mist); color: #17625d; font-weight: 750; }
.form-status.error { background: #fff0f0; color: #9d2e2e; }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { color: #b9cbd5; background: #071828; }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 64px; padding: 70px 0 46px; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: .02em; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #c8d8e0; }
.site-footer a:hover { color: #5de1d7; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--white); font-family: Manrope; font-size: 20px; font-weight: 800; }
.footer-brand img { width: 46px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--white); background: #25d366; box-shadow: 0 12px 28px rgba(0,0,0,.22); font-size: 28px; font-weight: 900; }
.whatsapp-float:hover { color: var(--white); transform: translateY(-3px); }

@media (max-width: 1050px) {
  .primary-nav ul { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .grid.four { grid-template-columns: repeat(2,1fr); }
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .header-row { min-height: 72px; }
  .brand { min-width: auto; }
  .brand-copy span { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 72px; display: none; padding: 18px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav li { margin: 11px 0; }
  .primary-nav a { font-size: 15px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .metric-band { grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .brand-copy strong { font-size: 15px; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding: 70px 0; }
  .hero-panel { padding: 22px; }
  .grid.four, .post-grid, .metric-band { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .cta-band { padding: 30px 24px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

