/* ==========================================================================
   fotozas-videozas.hu — additions on top of tw.css (the original site's compiled Tailwind CSS, unchanged).
   Brand (original theme): red #FF2800, ink #0A0A0A, silver #F2F2F2, chrome #C4C4C4, Outfit + Nunito Sans.
   ========================================================================== */

/* Outfit (600–900, display) + Nunito Sans (400–900 + italic 400), self-hosted variable fonts, latin + latin-ext */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/assets/fonts/outfit-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: "Outfit"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/assets/fonts/outfit-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: "Nunito Sans"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/nunito-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: "Nunito Sans"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/nunito-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: "Nunito Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/nunito-sans-italic-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: "Nunito Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/nunito-sans-italic-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;
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body { overflow-x: clip; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, dd, label) { text-wrap: pretty; }
:where(.grid) > * { min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }

/* phrase units from the build: kept on one line in headings on tablet/desktop only */
.ph { display: inline; }
@media (min-width: 768px) { :is(h1, h2, h3) .ph { display: inline-block; max-width: 100%; } }
.split-line .ph { display: inline; }
:is(a, button) .ph { display: contents; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: #0A0A0A; color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------- former inline styles of the React app */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
[data-parallax] { --py: 0%; translate: 0 var(--py); will-change: translate; }  /* GSAP animates --py only; composes with Tailwind scale-110 */

/* ---------------------------------------------------------------- header */
/* the old header shrank after 48px of scroll (h-20 -> h-14, logo h-9 -> h-7, shadow) */
.site-header.is-scrolled { border-color: color-mix(in srgb, var(--color-ink) 15%, transparent); box-shadow: 0 1px 24px 0 rgba(0,0,0,.07); }
.site-header.is-scrolled .header-bar { height: 3.5rem; }
.site-header.is-scrolled .header-bar > a img { height: 1.75rem; }
.site-header.is-scrolled .header-bar .kb-cta { font-size: 11px; padding: .75rem 1.25rem; }
nav a[aria-current="page"] { color: var(--color-red); }
.burger .lucide-x, .menu-open .burger .lucide-menu { display: none; }
.menu-open .burger .lucide-x { display: block; }

/* stretched link over a whole service card (/szolgaltatasok) */
.card-link { color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--color-red); outline-offset: -2px; border-radius: var(--radius-card); }

/* ------------------------------------------------------------------ forms */
.accent-red { accent-color: var(--color-red); }

/* ---------------------------------------------- Google Maps (loads after consent) */
.map { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background: var(--color-muted); }
.map a { font-weight: 700; color: var(--color-red); text-decoration: underline; text-underline-offset: 3px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }



/* ---------------------------------------------------------------- motion
   Initial states only when JS runs and motion is allowed; head.js adds .reduced as a safety net. */
/* Reveal offsets use the individual `translate` / `scale` properties driven by CSS variables. They compose with
   Tailwind v3 utilities (which use `transform`: -translate-y-1/2, scale-110, hover:scale-105 …) instead of replacing
   them, and GSAP animates only the variables. */
[data-reveal] { --rx: 0px; --ry: 0px; --rs: 1; }
.js:not(.reduced) [data-reveal] { opacity: 0; --ry: 24px; translate: var(--rx) var(--ry); scale: var(--rs); }
.js:not(.reduced) [data-reveal="left"] { --rx: -16px; --ry: 0px; }
.js:not(.reduced) [data-reveal="right"] { --rx: 16px; --ry: 0px; }
.js:not(.reduced) [data-reveal="scale"] { --ry: 24px; --rs: .97; }
.js:not(.reduced) [data-split] { visibility: hidden; }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* utilities used by the added consent checkbox that tw.css lacks */
.h-4 { height: 1rem; } .w-4 { width: 1rem; } .underline-offset-2 { text-underline-offset: 2px; } .hover\:text-red:hover { color: var(--color-red); }

