/* ==========================================================================
   Ózonos fertőtlenítés (ozontisztitas.vtrio.hu) – site styles
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #1c75bc;
  --teal: #008486;
  --heading: #333;
  --text: #555;
  --muted: #6b6f5e;
  --light: #f7f9ff;
  --white: #fff;
  --grad-green: linear-gradient(90deg, #6e7a2c 0%, #008486 100%);
  --grad-orange: linear-gradient(90deg, #b9492a 0%, #c8562b 100%);
  --grad-blue: linear-gradient(90deg, #3e63d6 0%, #1c75bc 100%);
  --container: 1080px;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Ubuntu", "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --shadow: 0 20px 50px rgba(30, 50, 120, 0.08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); line-height: 1.25; font-weight: 500; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); color: #3c3e2c; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--blue); color: var(--white); padding: 0.6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--blue); color: var(--white); font-size: 0.8rem; font-weight: 600; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-block: 0.45rem; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 1em; height: 1em; }

.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 0.5rem; }
.logo {
  display: inline-block; text-decoration: none; color: var(--white); font-family: var(--font-head); font-weight: 500;
  font-size: 1.25rem; line-height: 1; padding: 0.4em 1.4em 0.45em; background: var(--grad-green);
  clip-path: polygon(0.9em 0, 100% 0, 100% calc(100% - 0.9em), calc(100% - 0.9em) 100%, 0 100%, 0 0.9em);
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--heading); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 7.5rem) clamp(5rem, 10vw, 7rem); }
.hero p { color: var(--muted); font-weight: 600; font-size: 1.05rem; margin: 0; }
/* Decorative bubbles (were an image on the old site) */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles span { position: absolute; border-radius: 50%; background: var(--white); box-shadow: 0 15px 40px rgba(40, 60, 140, 0.12); }
.bubbles span:nth-child(1) { width: 110px; height: 110px; left: 3%; top: 4%; }
.bubbles span:nth-child(2) { width: 50px; height: 50px; left: 52%; top: 12%; background: transparent; border: 4px solid #f4d8a8; box-shadow: none; }
.bubbles span:nth-child(3) { width: 110px; height: 110px; right: 6%; top: 8%; }
.bubbles span:nth-child(4) { width: 90px; height: 90px; left: 44%; top: 62%; }
.bubbles span:nth-child(5) { width: 70px; height: 70px; left: 6%; top: 70%; background: #fdf0ec; }
.bubbles span:nth-child(6) { width: 320px; height: 320px; right: -60px; top: 45%; background: transparent; border: 26px solid #f2f5ff; box-shadow: none; }
.hero { isolation: isolate; }

/* ---------- Feature bars ---------- */
.bar-green { background: var(--grad-green); color: var(--white); box-shadow: 14px 14px 0 #e4e4e4; }
.features { list-style: none; margin: 0; padding: 2.2rem 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.features li { display: flex; gap: 0.75rem; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
@media (min-width: 700px) { .features li + li { border-left: 1px solid rgba(255,255,255,.35); } }
.features--white { padding-block: 1.8rem; color: var(--teal); }
.features--white li + li { border-color: #ddd; }

/* ---------- Content ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.split { display: grid; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }
.split img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; }
.split__text { padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 6vw, 4rem); max-width: 720px; }
.split__text p { font-size: 0.95rem; }

.card { background: var(--white); box-shadow: var(--shadow); padding: clamp(2rem, 6vw, 4rem); }
.card > h2 { text-align: center; margin-bottom: 2rem; }
.faq { display: grid; gap: 1rem 3rem; }
@media (min-width: 800px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq p { font-size: 0.95rem; }

.quote { background: var(--grad-orange); color: var(--white); text-align: center; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 6vw, 5rem); box-shadow: 14px 14px 0 #fdeee6; }
.quote h2 { color: var(--white); }
.quote svg { width: 48px; height: 48px; fill: rgba(255,255,255,.6); margin: 0 auto 1rem; display: block; }
.quote blockquote { margin: 0 auto; max-width: 720px; font-size: 1.1rem; }
.quote figcaption { margin-top: 1rem; font-size: 0.95rem; }

.cta { background: var(--grad-blue); color: var(--white); text-align: center; padding: clamp(3rem, 8vw, 6rem) 1.25rem; box-shadow: 14px -14px 0 #e8edff; }
.cta a { color: var(--white); text-decoration: none; }
.cta__phone { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.2; }
.cta__phone:hover, .cta__mail:hover { text-decoration: underline; }
.cta p { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: 0.4rem 0 1rem; }
.cta__mail { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #222; color: #bbb; font-size: 0.85rem; margin-top: clamp(3rem, 7vw, 5rem); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; padding-block: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--white); }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.btn { display: inline-block; padding: 0.8em 1.6em; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 700; border-radius: 3px; }
@media (max-width: 700px) { .site-header { position: static; } }
