/*
Theme Name: Atlante Ossigeno
Theme URI: https://acquaossigenata.it/
Author: Rename.it
Description: Tema editoriale originale per AcquaOssigenata.it.
Version: 1.0.0
Text Domain: acquaossigenata
*/
:root {
  --ink: #10263a;
  --navy: #0b2438;
  --navy-2: #123852;
  --cyan: #22b8cf;
  --cyan-soft: #dff7fa;
  --ice: #f3f8fa;
  --white: #fff;
  --line: #d7e4e9;
  --muted: #587083;
  --amber: #e39a31;
  --amber-soft: #fff4dc;
  --danger: #9d382e;
  --danger-soft: #fff0ec;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18,56,82,.12);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.72 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: #087b91; text-underline-offset: 3px; }
a:hover { color: #045b6c; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 15px; color: var(--white); background: var(--navy); }
.skip-link:focus { top: 16px; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 1000; width: 0; height: 3px; background: var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 100; color: var(--white); background: rgba(11,36,56,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.09); }
.header-inner { width: min(1260px, calc(100% - 36px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; position: relative; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 2px solid var(--cyan); border-radius: 50%; }
.brand-mark::before { width: 16px; height: 16px; left: 6px; top: 7px; }
.brand-mark::after { width: 9px; height: 9px; right: 6px; bottom: 6px; }
.brand-copy strong { display: block; font-size: 17px; line-height: 1.1; letter-spacing: -.02em; }
.brand-copy small { display: block; margin-top: 4px; color: #a9c5d2; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 9px 11px; color: #d8e8ef; text-decoration: none; font-size: 13px; font-weight: 650; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--white); background: rgba(255,255,255,.08); border-radius: 8px; }
.primary-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; width: 245px; padding: 10px; background: var(--navy); border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 10px 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: inherit; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { overflow: hidden; color: var(--white); background: var(--navy); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; }
.hero-copy { padding: 108px max(42px, calc((100vw - 1180px)/2)) 88px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 20px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font: 400 clamp(52px, 6.6vw, 94px)/.96 var(--serif); letter-spacing: -.055em; }
.hero h1 em { color: #8ce8f2; font-style: normal; }
.hero-lead { max-width: 660px; margin: 32px 0; color: #cadde6; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button { display: inline-flex; min-height: 48px; padding: 12px 19px; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; text-decoration: none; }
.button-primary { color: var(--navy); background: var(--cyan); }
.button-primary:hover { color: var(--navy); background: #70dbe7; }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.hero-media { min-height: 650px; background: linear-gradient(90deg, rgba(11,36,56,.12), transparent 20%), url('assets/images/acqua-ossigenata-hero.jpg') center/cover no-repeat; }
.hero-caution { margin-top: 38px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 13px; color: #dbe8ee; border-left: 3px solid var(--amber); background: rgba(255,255,255,.06); font-size: 13px; }
.hero-caution strong { color: #ffd58f; }

.trust-strip { background: var(--cyan-soft); border-bottom: 1px solid #bee7eb; }
.trust-grid { padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-grid div { padding-left: 16px; border-left: 2px solid var(--cyan); }
.trust-grid strong { display: block; color: var(--navy); font-size: 13px; }
.trust-grid span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.section { padding: 98px 0; }
.section-soft { background: var(--ice); }
.section-dark { color: var(--white); background: var(--navy); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin: 0 0 18px; font: 400 clamp(38px, 4vw, 60px)/1.05 var(--serif); letter-spacing: -.04em; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-heading p:last-child { color: #b9d0da; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { min-height: 295px; padding: 29px; display: flex; flex-direction: column; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-num { color: #1e9daf; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.guide-card h3 { margin: 35px 0 12px; font: 400 29px/1.08 var(--serif); letter-spacing: -.025em; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-arrow { margin-top: auto; padding-top: 28px; color: #087b91; font-weight: 800; font-size: 13px; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split-feature-media { background: url('assets/images/decomposizione-bolle.jpg') center/cover no-repeat; }
.split-feature-copy { padding: 90px max(40px, calc((100vw - 1180px)/2)) 90px 72px; display: flex; flex-direction: column; justify-content: center; background: var(--ice); }
.split-feature h2 { margin: 0 0 22px; font: 400 clamp(40px, 4vw, 62px)/1.02 var(--serif); letter-spacing: -.04em; }
.fact-list { margin: 25px 0 30px; padding: 0; list-style: none; }
.fact-list li { padding: 12px 0 12px 27px; position: relative; border-bottom: 1px solid var(--line); }
.fact-list li::before { content: "O₂"; position: absolute; left: 0; top: 13px; color: #09869a; font-size: 10px; font-weight: 800; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.safety-card { padding: 34px; border-radius: var(--radius); }
.safety-card.do { color: var(--navy); background: #dff7f2; }
.safety-card.dont { color: #572019; background: var(--danger-soft); }
.safety-card h3 { margin: 0 0 20px; font: 400 34px/1.08 var(--serif); }
.safety-card ul { margin: 0; padding-left: 20px; }
.safety-card li + li { margin-top: 10px; }

.page-hero { color: var(--white); background: var(--navy); }
.page-hero-grid { min-height: 470px; display: grid; grid-template-columns: 1.15fr .85fr; }
.page-hero-copy { padding: 80px 50px 74px max(20px, calc((100vw - 1180px)/2)); display: flex; flex-direction: column; justify-content: center; }
.breadcrumbs { margin-bottom: 52px; color: #8cb2c2; font-size: 12px; }
.breadcrumbs a { color: #a7d6df; text-decoration: none; }
.breadcrumbs span { margin-left: 8px; }
.page-hero h1 { max-width: 780px; margin: 0 0 22px; font: 400 clamp(46px, 5.2vw, 76px)/.99 var(--serif); letter-spacing: -.045em; }
.page-intro { max-width: 720px; margin: 0; color: #c9dce5; font-size: 19px; }
.page-meta { margin-top: 28px; display: flex; gap: 18px; color: #8fb2c1; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.page-hero-media { min-height: 440px; background-position: center; background-size: cover; }
.page-hero-media.science { background-image: linear-gradient(90deg, rgba(11,36,56,.1), transparent), url('assets/images/decomposizione-bolle.jpg'); }
.page-hero-media.safety { background-image: linear-gradient(90deg, rgba(11,36,56,.1), transparent), url('assets/images/conservazione-sicura.jpg'); }
.page-hero-media.general { background-image: linear-gradient(90deg, rgba(11,36,56,.1), transparent), url('assets/images/acqua-ossigenata-hero.jpg'); }
.article-layout { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; display: grid; grid-template-columns: 230px minmax(0, 770px); gap: 80px; align-items: start; }
.article-aside { position: sticky; top: 108px; }
.article-aside strong { display: block; margin-bottom: 12px; color: var(--navy); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article-aside p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.article-aside a { display: inline-block; font-size: 12px; font-weight: 800; }
.article-content { min-width: 0; }
.article-content > p:first-child { margin-top: 0; color: #29485e; font-size: 20px; line-height: 1.65; }
.article-content h2 { margin: 62px 0 20px; font: 400 clamp(32px, 3vw, 46px)/1.08 var(--serif); letter-spacing: -.035em; scroll-margin-top: 100px; }
.article-content h3 { margin: 38px 0 14px; font-size: 21px; line-height: 1.3; }
.article-content p, .article-content li { color: #263f52; }
.article-content ul, .article-content ol { padding-left: 24px; }
.article-content li + li { margin-top: 9px; }
.article-content table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 14px; }
.article-content th, .article-content td { padding: 14px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.article-content th { color: var(--navy); background: var(--cyan-soft); }
.info-box, .warning-box, .emergency-box, .source-box { margin: 34px 0; padding: 25px 28px; border-radius: 12px; }
.info-box { background: var(--cyan-soft); border-left: 4px solid var(--cyan); }
.warning-box { background: var(--amber-soft); border-left: 4px solid var(--amber); }
.emergency-box { color: #572019; background: var(--danger-soft); border-left: 4px solid var(--danger); }
.info-box strong, .warning-box strong, .emergency-box strong { display: block; margin-bottom: 7px; }
.source-box { margin-top: 70px; background: var(--ice); border: 1px solid var(--line); }
.source-box h2 { margin: 0 0 16px; font: 700 17px/1.3 var(--sans); letter-spacing: 0; }
.source-box ul { margin: 0; }
.source-box li { font-size: 13px; }
.comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.comparison > div { padding: 23px; background: var(--ice); border: 1px solid var(--line); border-radius: 12px; }
.comparison h3 { margin-top: 0; }
.faq-item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.faq-item summary { padding: 18px 20px; cursor: pointer; color: var(--navy); font-weight: 800; }
.faq-item p { margin: 0; padding: 0 20px 20px; }

.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; margin-top: 36px; }
.contact-form-panel, .email-card { padding: 30px; border-radius: 14px; }
.contact-form-panel { background: var(--ice); border: 1px solid var(--line); }
.email-card { color: var(--white); background: var(--navy-2); }
.email-card .eyebrow { margin-bottom: 9px; color: #8ce8f2; }
.email-card h2 { margin: 0 0 10px; font: 400 30px/1.1 var(--serif); }
.email-card p { color: #c6dbe4; font-size: 13px; }
.protected-email { display: inline-block; padding: 11px 14px; color: var(--navy); background: var(--cyan); border-radius: 7px; font-weight: 800; text-decoration: none; }
.protected-email:hover { color: var(--navy); background: #71dce7; }
.contact-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 label { display: block; color: var(--navy); font-size: 13px; font-weight: 750; }
.wpcf7 input:not([type="checkbox"]), .wpcf7 textarea { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #b8ccd5; border-radius: 7px; background: var(--white); font: inherit; }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] { padding: 13px 20px; border: 0; border-radius: 7px; color: var(--navy); background: var(--cyan); font: 800 14px var(--sans); cursor: pointer; }
.captcha-field { margin: 24px 0; padding: 18px; border: 1px solid var(--line); }
.captcha-field legend { padding: 0 7px; color: var(--navy); font-size: 12px; font-weight: 800; }

.site-footer { padding-top: 72px; color: #d6e5eb; background: #081c2b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .75fr .75fr; gap: 50px; padding-bottom: 45px; }
.footer-brand { margin-bottom: 13px; color: var(--white); font: 400 28px var(--serif); }
.footer-about p { max-width: 390px; color: #91aebb; font-size: 13px; }
.footer-title { margin-bottom: 14px; color: #7ee1ec; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #cfe0e7; text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: var(--white); }
.footer-contact { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-contact .email-card { max-width: 440px; margin-left: auto; padding: 25px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.footer-legal { padding: 29px 0; display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: end; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal p { max-width: 880px; margin: 7px 0; color: #7e9aa7; font-size: 10.5px; line-height: 1.55; }
.footer-powered { white-space: nowrap; }
.footer-bottom { padding: 20px 0; color: #607f8e; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.not-found { padding: 130px 0; text-align: center; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 18px; right: 18px; top: 68px; padding: 12px; background: var(--navy); border: 1px solid rgba(255,255,255,.12); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav .sub-menu { display: block; position: static; width: auto; padding: 0 0 0 14px; border: 0; box-shadow: none; }
  .hero-grid, .page-hero-grid, .split-feature { grid-template-columns: 1fr; }
  .hero-media { min-height: 470px; order: -1; }
  .hero-copy { padding: 70px 35px; }
  .trust-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .split-feature-media { min-height: 500px; }
  .split-feature-copy { padding: 70px 35px; }
  .page-hero-copy { padding: 70px 30px; }
  .page-hero-media { min-height: 420px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-aside { position: static; padding: 18px; background: var(--ice); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .narrow, .article-layout { width: min(100% - 28px, 1180px); }
  .header-inner { width: calc(100% - 24px); }
  .brand-copy small { display: none; }
  .hero h1 { font-size: 50px; }
  .hero-copy { padding: 56px 22px; }
  .hero-media { min-height: 360px; }
  .trust-grid, .card-grid, .safety-grid, .comparison, .contact-layout, .contact-fields-grid, .footer-grid, .footer-legal { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .page-hero-copy { padding: 56px 18px; }
  .page-hero-media { min-height: 300px; }
  .breadcrumbs { margin-bottom: 35px; }
  .article-layout { padding: 55px 0 85px; }
  .article-content h2 { margin-top: 48px; }
  .footer-contact .email-card { margin-left: 0; }
}
