/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ============ DESIGN TOKENS ============ */
:root {
  --black: #1d1d1f;
  --white: #ffffff;
  --gray-50: #fbfbfd;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #86868b;
  --gray-600: #515154;
  --orange: #ff6a13;
  --orange-soft: #ff8a3d;
  --orange-bg: #fff3eb;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --max: 1200px;
  --ease: cubic-bezier(.25,.1,.25,1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body { color: var(--black); background: var(--white); line-height: 1.5; overflow-x: hidden; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; font-weight: 600; }
.display { font-size: clamp(40px, 7vw, 80px); font-weight: 700; letter-spacing: -0.035em; }
.h-section { font-size: clamp(32px, 4.5vw, 52px); font-weight: 600; letter-spacing: -0.025em; }
.h-page { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--gray-600); max-width: 700px; }

/* ============ NAV ============ */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: rgba(255,255,255,0.72); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--black); display: grid; place-items: center; color: var(--white); font-weight: 800; font-size: 14px; letter-spacing: 0; }
.brand-mark span { color: var(--orange); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--black); opacity: 0.85; transition: opacity .2s var(--ease); }
.nav-links a:hover { opacity: 1; color: var(--orange); }
.nav-cta { background: var(--black); color: var(--white); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .2s var(--ease), transform .2s var(--ease); }
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }
.burger { display: none; width: 28px; height: 28px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--black); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 14px; }
.burger span:nth-child(3) { top: 20px; }
.burger.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid var(--gray-200); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; }
  .burger { display: block; }
}

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: all .25s var(--ease); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #e65a00; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,106,19,.35); }
.btn-secondary { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--orange); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--orange); color: var(--white); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HERO HOMEPAGE ============ */
.hero { padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,106,19,0.10), transparent 70%); pointer-events: none; }
.hero-content { max-width: 880px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; gap: 36px; margin-top: 60px; flex-wrap: wrap; }
.trust-item .num { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--black); }
.trust-item .lbl { font-size: 14px; color: var(--gray-600); margin-top: 2px; }

/* ============ HERO CATEGORY PAGES ============ */
.page-hero { padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; background: var(--gray-50); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.page-hero-img { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--orange), #ff944d); position: relative; overflow: hidden; box-shadow: var(--shadow-md); background-size: cover; background-position: center; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 28px; }
.breadcrumb { font-size: 13px; color: var(--gray-400); margin-bottom: 22px; }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }

/* ============ SECTIONS ============ */
section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { text-align: center; margin: 0 auto clamp(48px, 6vw, 80px); max-width: 800px; }
.section-head .lede { margin: 18px auto 0; }
.section-head.left { text-align: left; margin-left: 0; margin-right: 0; }
.section-head.left .lede { margin-left: 0; }
.section-tight { padding: clamp(50px, 7vw, 90px) 0; }

/* ============ SERVICES ============ */
.services { background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); border: 1px solid transparent; position: relative; overflow: hidden; display: block; color: inherit; }
.service-card::after { content: "→"; position: absolute; top: 32px; right: 32px; font-size: 22px; color: var(--gray-400); transition: transform .3s var(--ease), color .3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.service-card:hover::after { transform: translate(4px,-4px); color: var(--orange); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-bg); display: grid; place-items: center; margin-bottom: 22px; color: var(--orange); }
.service-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.service-card p { font-size: 15px; color: var(--gray-600); line-height: 1.55; }
.service-card.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.service-card.dark .service-icon { background: rgba(255,106,19,0.18); }
.service-card.dark h3 { color: var(--white); }
.service-card.dark p { color: rgba(255,255,255,0.65); }

/* ============ WHY ============ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 30px; }
.why-item h3 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.why-item h3::before { content: ""; width: 28px; height: 2px; background: var(--orange); display: inline-block; }
.why-item p { color: var(--gray-600); font-size: 15px; }

/* ============ COVERAGE LIST (category pages) ============ */
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.coverage-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .2s, transform .2s; }
.coverage-item:hover { border-color: var(--orange); transform: translateY(-2px); }
.coverage-check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-bg); display: grid; place-items: center; color: var(--orange); }
.coverage-check svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.coverage-item h4 { font-size: 16px; margin-bottom: 4px; font-weight: 600; }
.coverage-item p { font-size: 14px; color: var(--gray-600); line-height: 1.5; margin: 0; }

/* ============ FORMULES (category pages) ============ */
.formulas { background: var(--gray-50); }
.formulas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.formula-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.formula-card.featured { background: var(--black); color: var(--white); border-color: var(--black); transform: scale(1.02); }
.formula-card.featured h3 { color: var(--white); }
.formula-card.featured p, .formula-card.featured li { color: rgba(255,255,255,0.75); }
.formula-card.featured .formula-tag { background: var(--orange); color: var(--white); }
.formula-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.formula-card.featured:hover { transform: translateY(-4px) scale(1.02); }
.formula-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--orange-bg); color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.formula-card h3 { font-size: 22px; margin-bottom: 8px; font-weight: 700; }
.formula-card .formula-sub { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }
.formula-card.featured .formula-sub { color: rgba(255,255,255,0.5); }
.formula-list { display: flex; flex-direction: column; gap: 10px; }
.formula-list li { font-size: 14px; color: var(--gray-600); display: flex; gap: 8px; align-items: flex-start; }
.formula-list li::before { content: "✓"; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q { width: 100%; padding: 22px 0; text-align: left; font-size: 17px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; color: var(--black); }
.faq-q:hover { color: var(--orange); }
.faq-q::after { content: "+"; font-size: 22px; color: var(--gray-400); flex-shrink: 0; transition: transform .3s var(--ease); font-weight: 300; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 22px; color: var(--gray-600); font-size: 15px; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 500px; }

/* ============ NEWS ============ */
.news { background: var(--gray-50); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--black), #2a2a2c); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.news-img.orange { background-image: linear-gradient(135deg, rgba(255,106,19,0.45), rgba(255,148,77,0.3)), url("https://images.unsplash.com/photo-1485965120184-e220f721d03e?w=900&q=80&auto=format&fit=crop"); background-color: var(--orange); }
.news-img.dark { background-image: linear-gradient(135deg, rgba(29,29,31,0.55), rgba(42,42,44,0.4)), url("https://images.unsplash.com/photo-1518780664697-55e3ad937233?w=900&q=80&auto=format&fit=crop"); }
.news-img.gray { background-image: linear-gradient(135deg, rgba(81,81,84,0.55), rgba(134,134,139,0.4)), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=900&q=80&auto=format&fit=crop"); }
.news-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%); }
.news-img-label { position: absolute; bottom: 16px; left: 16px; color: var(--white); font-size: 13px; font-weight: 500; z-index: 2; opacity: 0.95; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.news-body { padding: 24px 26px 28px; }
.news-date { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; }
.news-card p { color: var(--gray-600); font-size: 15px; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-visual { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--black), #2a2a2c); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.about-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(255,106,19,0.55), transparent 55%); }
.about-visual::after { content: "FERBU"; position: absolute; bottom: 32px; left: 32px; color: var(--white); font-weight: 800; font-size: 38px; letter-spacing: -0.02em; }
.about-text p { color: var(--gray-600); margin-top: 18px; font-size: 17px; }
.about-stats { display: flex; gap: 48px; margin-top: 34px; flex-wrap: wrap; }
.about-stats .num { font-size: 36px; font-weight: 700; color: var(--orange); }
.about-stats .lbl { font-size: 14px; color: var(--gray-600); }
.about-cta { margin-top: 36px; }

/* ============ INLINE CTA STRIP ============ */
.cta-strip { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 60px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-strip h3 { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); max-width: 600px; }
.cta-strip p { color: rgba(255,255,255,0.7); margin-top: 8px; max-width: 600px; }

/* ============ CONTACT ============ */
.contact { background: var(--black); color: var(--white); }
.contact .h-section, .contact .lede { color: var(--white); }
.contact .lede { color: rgba(255,255,255,0.7); }
.contact .eyebrow { color: var(--orange-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 30px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.info-item .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ic svg { width: 18px; height: 18px; stroke: var(--orange-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-item .lbl { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.info-item .val { font-size: 16px; color: var(--white); }
.info-item a:hover { color: var(--orange-soft); }

.form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 36px; }
@media (max-width: 600px) { .form { padding: 26px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--white); font-size: 15px; transition: border-color .2s, background .2s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,0.08); }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { color: var(--black); }
.form-submit { width: 100%; background: var(--orange); color: var(--white); padding: 16px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: background .2s, transform .2s; margin-top: 6px; }
.form-submit:hover { background: #e65a00; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 16px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 14px; display: none; }
.form-status.success { display: block; background: rgba(255,106,19,0.15); color: var(--orange-soft); border: 1px solid rgba(255,106,19,0.3); }
.form-status.error { display: block; background: rgba(255,80,80,0.1); color: #ff8a8a; border: 1px solid rgba(255,80,80,0.3); }

.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group label { flex: 1 1 auto; text-align: center; padding: 10px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.7); transition: all .2s; margin: 0; }
.radio-group input { display: none; }
.radio-group input:checked + span { color: var(--orange); }
.radio-group label:has(input:checked) { background: rgba(255,106,19,0.15); border-color: var(--orange); color: var(--orange); }

/* ============ FOOTER ============ */
footer { background: var(--white); padding: 56px 0 32px; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 16px; font-weight: 500; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--gray-600); transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-about p { font-size: 14px; color: var(--gray-600); margin-top: 12px; max-width: 320px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--gray-400); }

/* ============ ARTICLE CONTENT ============ */
.article { max-width: 760px; margin: 0 auto; }
.article p { font-size: 17px; line-height: 1.75; color: var(--gray-600); margin-bottom: 22px; }
.article h2 { font-size: clamp(24px, 3vw, 32px); margin: 48px 0 18px; color: var(--black); letter-spacing: -0.02em; }
.article h3 { font-size: clamp(19px, 2vw, 22px); margin: 32px 0 12px; color: var(--black); }
.article ul { margin: 0 0 22px 0; padding: 0; }
.article ul li { font-size: 17px; line-height: 1.7; color: var(--gray-600); padding-left: 28px; position: relative; margin-bottom: 10px; list-style: none; }
.article ul li::before { content: "•"; color: var(--orange); position: absolute; left: 12px; font-weight: 700; font-size: 18px; }
.article a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: #e65a00; }
.article strong { color: var(--black); font-weight: 600; }
.article blockquote { border-left: 3px solid var(--orange); padding: 4px 0 4px 24px; margin: 28px 0; font-style: italic; color: var(--gray-600); font-size: 18px; }
.article-meta { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-200); }
.article-meta span { margin-right: 16px; }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
