/*
Theme Name: Magorka
Theme URI: https://magorka.hu
Author: Magorka
Description: Meleg, kézműves-gasztro vásár landing téma kézírásos logóval, terrakotta ecsetvonás-aláhúzásokkal, elhalványuló hero fotóval és szerifes tipográfiával. Magyar nyelvű, reszponzív.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: magorka
*/

/* ===== Self-hosted fonts (GDPR-barát, nincs Google-hívás) ===== */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/dancing-script-latin-700-normal.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: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/dancing-script-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-700-normal.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: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-latin-400-normal.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: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ============================ 1. Tokens ============================ */
:root {
  --cream:      #F7F0E0;
  --cream-2:    #F3EAD5;
  --cream-3:    #EFE4CB;
  --green:      #4C5340;
  --green-dark: #3D4330;
  --terra:      #BB4E2C;
  --terra-2:    #C1542F;
  --ink:        #3E3A2D;
  --muted:      #6F6857;
  --line:       #E4D9C0;

  --f-script: "Dancing Script", "Segoe Script", cursive;
  --f-display: "Playfair Display", Georgia, serif;
  --f-body: "Lora", Georgia, "Times New Roman", serif;

  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
}

/* ============================ 2. Base ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--green-dark); line-height: 1.08; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Hand-drawn terracotta brush underline */
.swash { display: block; width: 100%; height: 0.5em; color: var(--terra); margin-top: 0.1em; }
.swash svg { display: block; width: 100%; height: 100%; }

/* ============================ 3. Buttons (pills) ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn svg { flex: 0 0 auto; }
.btn__arrow { transition: transform 0.18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(62, 58, 45, 0.18); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--terra { background: var(--terra); color: #FBF5E9; }
.btn--terra:hover { background: var(--terra-2); }
.btn--olive { background: var(--green); color: #F6F1E4; }
.btn--olive:hover { background: var(--green-dark); }
.btn--center { text-align: center; }

/* ============================ 4. Header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; padding: 0.85rem 0; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-script); font-weight: 700; font-size: 2.6rem; color: var(--green-dark); }
.brand__swash { width: 74%; height: 10px; color: var(--terra); margin-top: -6px; }
.brand__swash svg { width: 100%; height: 100%; display: block; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.main-nav a { font-family: var(--f-body); font-size: 1.02rem; color: var(--ink); position: relative; padding-bottom: 3px; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--terra); transition: width 0.2s ease; }
.main-nav a:hover { color: var(--terra); }
.main-nav a:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; }
.header-cta .btn__label { white-space: nowrap; }
.nav-toggle { display: none; }

/* ============================ 5. Hero ============================ */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero__inner {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(470px, 42vw, 610px);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.hero__content { position: relative; z-index: 2; max-width: 50%; }
.hero__title { font-size: clamp(2.7rem, 5.1vw, 4.6rem); text-align: center; }
.hero__title .swash { width: 66%; margin: 0.05em auto 0; height: 0.34em; }
.hero__subtitle {
  font-family: var(--f-body);
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  color: var(--muted); text-align: center; margin: 1.4rem 0 1.8rem;
}
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--green-dark); line-height: 1.5; margin-bottom: 1.9rem; max-width: 24em; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, #000 34%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, #000 34%);
}

/* ============================ 6. Values ============================ */
.values { position: relative; background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); padding: clamp(2rem, 3.5vw, 3rem) 0; }
.value { text-align: center; padding: 0 1.4rem; border-right: 1px solid var(--line); }
.value:last-child { border-right: none; }
.value__icon { color: var(--terra); display: inline-flex; margin-bottom: 0.9rem; }
.value__icon svg { width: 34px; height: 34px; }
.value__title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--green-dark); margin-bottom: 0.45rem; }
.value__text { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ============================ 7. About ============================ */
.about { position: relative; background: var(--cream); overflow: hidden; }
.about__inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
  padding: clamp(2.5rem, 4.5vw, 4.5rem) 0;
}
.about__photo { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 46px rgba(62,58,45,0.16); aspect-ratio: 66 / 40; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.about__title { font-family: var(--f-script); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.7rem); color: var(--green-dark); line-height: 1.05; }
.about__title .swash { width: 60%; height: 0.3em; margin-top: 0.05em; }
.about__lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--green-dark); line-height: 1.55; margin-top: 1.6rem; max-width: 26em; }
.about__cta { flex-shrink: 0; }
.about__cta .btn { text-align: center; }

/* ============================ 8. Footer ============================ */
.site-footer { background: var(--green-dark); color: #E7E1CF; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2.2rem 0; }
.site-footer .brand__name { color: #F3EEDD; }
.site-footer .brand__swash { color: var(--terra); }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
.site-footer__nav a { font-size: 1rem; color: #DAD3BF; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.2rem; font-size: 0.9rem; color: #CFC8B2; }

/* Decorative torn-paper blobs */
.blob { position: absolute; z-index: 0; color: var(--cream-3); pointer-events: none; opacity: 0.7; }
.blob svg { display: block; }
.blob--hero-l { top: -30px; left: -70px; width: 220px; }
.blob--about-r { right: -60px; bottom: -40px; width: 240px; }

/* ============================ 9. Reveal ============================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ 10. Responsive ============================ */
@media (max-width: 1200px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.4rem var(--pad) 1.1rem; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 0.85rem 0; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 26px; height: 2px; background: var(--green-dark); display: block; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
}

@media (max-width: 1040px) {
  .values__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 0; }
  .value:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
  .hero__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__content { max-width: 100%; order: 2; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__media { position: static; width: 100%; order: 1; margin-bottom: 1.8rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; }
  .hero__media img { -webkit-mask-image: none; mask-image: none; }
  .hero__cta { display: flex; justify-content: center; }
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { order: 2; }
}

@media (max-width: 620px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value { border-right: none; }
  .about__head { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ============================ Aloldal (Megbízóknak) ============================ */
.page-hero { position: relative; background: var(--cream); overflow: hidden; text-align: center; padding: clamp(3rem,6vw,5rem) 0 clamp(2rem,3vw,3rem); }
.page-hero__title { font-size: clamp(2.3rem,4.4vw,3.6rem); }
.page-hero__title .swash { width: 46%; margin: 0.1em auto 0; height: 0.3em; }
.page-hero__sub { font-family: var(--f-body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; color: var(--terra); margin: 1.2rem 0 0; }
.page-hero__lead { max-width: 44rem; margin: 1.5rem auto 0; font-size: clamp(1.02rem,1.5vw,1.18rem); color: var(--muted); line-height: 1.65; }

.section { padding: clamp(2.5rem,4.5vw,4.5rem) 0; padding-top: 0}
.section--tint { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; margin-bottom: clamp(2rem,3vw,3rem); }
.section__title { font-size: clamp(1.9rem,3vw,2.6rem); }
.section__title .swash { width: 40%; margin: 0.1em auto 0; height: 0.3em; }
.section__intro { max-width: 40rem; margin: 1rem auto 0; color: var(--muted); }

.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.help-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.9rem 1.5rem; text-align: center; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.help-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(62,58,45,0.12); }
.help-card__icon { color: var(--terra); display: inline-flex; margin-bottom: 1rem; }
.help-card__icon svg { width: 38px; height: 38px; }
.help-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; color: var(--green-dark); margin-bottom: 0.55rem; }
.help-card__text { font-size: 0.94rem; color: var(--muted); margin: 0; line-height: 1.55; }

.form-section { background: var(--cream); }
.form-lead { text-align: center; max-width: 42rem; margin: 0 auto clamp(1.8rem,3vw,2.5rem); color: var(--muted); }

/* CF7 form — Magorka stílus */
.cf7-magorka { max-width: 720px; margin: 0 auto; }
.cf7-magorka h3, .cf7-magorka .form-group-title { font-family: var(--f-display); color: var(--green-dark); font-size: 1.35rem; margin: 2rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--line); }
.cf7-magorka label { display: block; font-weight: 600; color: var(--ink); margin: 0 0 1.1rem; }
.cf7-magorka input[type=text], .cf7-magorka input[type=tel], .cf7-magorka input[type=email], .cf7-magorka input[type=date], .cf7-magorka textarea, .cf7-magorka select {
  width: 100%; margin-top: 0.35rem; padding: 0.75rem 0.95rem; border: 1px solid #D9CBAE; border-radius: 9px; background: #FCF8EF; font-family: inherit; font-size: 1rem; color: var(--ink); }
.cf7-magorka textarea { min-height: 120px; resize: vertical; }
.cf7-magorka input:focus, .cf7-magorka textarea:focus, .cf7-magorka select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(187,78,44,0.15); }
.cf7-magorka .wpcf7-checkbox .wpcf7-list-item, .cf7-magorka .check-list label { display: block; margin: 0.4rem 0; font-weight: 400; }
.cf7-magorka .req { color: var(--terra); }
.cf7-magorka .note { font-size: 0.9rem; color: var(--muted); background: var(--cream-2); border-left: 3px solid var(--terra); border-radius: 0 8px 8px 0; padding: 0.9rem 1.1rem; margin: 1.4rem 0; }
.cf7-magorka .wpcf7-submit, .cf7-magorka .submit-btn { margin-top: 1.2rem; background: var(--terra); color: #FBF5E9; border: none; padding: 0.95rem 2.2rem; border-radius: 999px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.cf7-magorka .wpcf7-submit:hover, .cf7-magorka .submit-btn:hover { background: var(--terra-2); transform: translateY(-2px); }

.contact-strip { background: var(--green-dark); color: #E7E1CF; }
.contact-strip__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; padding: 2.2rem 0; text-align: center; }
.contact-item { display: flex; align-items: center; gap: 0.7rem; font-size: 1.05rem; }
.contact-item svg { width: 22px; height: 22px; color: #E9C9A0; flex: 0 0 auto; }

@media (max-width: 1040px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } .contact-strip__inner { flex-direction: column; gap: 1rem; padding-left: 30px;padding-right: 30px; text-align: left; } .site-footer { padding-left: 30px;padding-right: 30px;}   }

/* ============================ Főoldal – történet, referenciák, felhívások ============================ */
.story { padding: clamp(2.5rem,4.5vw,4.5rem) 0; }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4.5rem); align-items: center; }
.story__photo { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 46px rgba(62,58,45,0.16); aspect-ratio: 3/4; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story--reverse .story__photo { order: 2; }
.story__eyebrow { font-family: var(--f-body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; color: var(--terra); margin: 0 0 0.6rem; }
.story__title { font-size: clamp(1.9rem,3vw,2.7rem); margin-bottom: 0.4rem; }
.story__title .swash { width: 52%; height: 0.3em; margin-top: 0.1em; }
.story__text { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-top: 1.4rem; }
.story__text p { margin: 0 0 1rem; }

.statement { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; padding: clamp(3rem,5vw,4.5rem) 0; position: relative; }
.statement__title { font-family: var(--f-script); font-weight: 700; color: var(--green-dark); font-size: clamp(2.2rem,3.6vw,3.2rem); }
.statement__title .swash { width: 34%; height: 0.28em; margin: 0.05em auto 0; }
.statement__text { max-width: 46rem; margin: 1.6rem auto 0; color: var(--ink); font-size: 1.12rem; line-height: 1.7; }

.refs { padding: clamp(2.5rem,4.5vw,4.5rem) 0; }
.refs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ref-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.8rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ref-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(62,58,45,0.12); }
.ref-card__icon { color: var(--terra); display: inline-flex; margin-bottom: 1rem; }
.ref-card__icon svg { width: 40px; height: 40px; }
.ref-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--green-dark); margin-bottom: 0.6rem; }
.ref-card__text { color: var(--muted); font-size: 0.96rem; line-height: 1.6; margin: 0; }

.cta-duo { padding: clamp(2rem,4vw,3.5rem) 0 clamp(2.5rem,4.5vw,4.5rem); }
.cta-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cta-panel { border-radius: 18px; padding: clamp(2rem,3vw,2.8rem); color: #F6F1E4; display: flex; flex-direction: column; }
.cta-panel--olive { background: var(--green-dark); }
.cta-panel--terra { background: var(--terra); }
.cta-panel__icon { display: inline-flex; margin-bottom: 1rem; opacity: 0.95; }
.cta-panel__icon svg { width: 40px; height: 40px; }
.cta-panel__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem,2.4vw,2rem); color: #FBF6E8; margin-bottom: 0.7rem; }
.cta-panel__text { color: rgba(246,241,228,0.9); line-height: 1.6; margin: 0 0 1.6rem; }
.cta-panel .btn { margin-top: auto; align-self: flex-start; }
.cta-panel--olive .btn { background: #F6F1E4; color: var(--green-dark); }
.cta-panel--olive .btn:hover { background: #fff; }
.cta-panel--terra .btn { background: #F6F1E4; color: var(--terra-2); }
.cta-panel--terra .btn:hover { background: #fff; }

@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; }
  .story--reverse .story__photo { order: -1; }
  .story__photo { order: -1; }
  .refs__grid { grid-template-columns: 1fr; }
  .cta-duo__grid { grid-template-columns: 1fr; }
}

/* 3-elemes értékrács (Így dolgozunk) reszponzívan */
.values--3 .values__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .values--3 .values__grid { grid-template-columns: 1fr; gap: 1.8rem 0; }
  .values--3 .value { border-right: none; }
}

/* Oldal-tartalom (Page) tipográfia */
.page-content { max-width: 820px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.page-content h2 { font-family: var(--f-display); color: var(--green-dark); font-size: 1.7rem; margin: 2rem 0 0.8rem; }
.page-content h3 { font-family: var(--f-display); color: var(--green-dark); font-size: 1.35rem; margin: 1.6rem 0 0.6rem; }
.page-content p { margin: 0 0 1.1rem; color: var(--muted); }
.page-content a { color: var(--terra); text-decoration: underline; }
.page-content ul, .page-content ol { color: var(--muted); padding-left: 1.3rem; }

/* ============================ Kapcsolat oldal ============================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info__intro { color: var(--muted); font-size: 1.06rem; line-height: 1.7; margin: 0 0 0.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.contact-row:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(62,58,45,0.1); }
.contact-row__icon { color: var(--terra); flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(187,78,44,0.09); display: grid; place-items: center; }
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row__label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.contact-row__value { font-family: var(--f-display); font-size: 1.15rem; color: var(--green-dark); word-break: break-word; }
.contact-row a.contact-row__value:hover { color: var(--terra); }

.contact-form-wrap { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem,3vw,2.6rem); box-shadow: 0 16px 40px rgba(62,58,45,0.08); }
.contact-form-wrap h2 { font-family: var(--f-display); color: var(--green-dark); font-size: 1.6rem; margin: 0 0 0.4rem; }
.contact-form-wrap .contact-form-sub { color: var(--muted); margin: 0 0 1.4rem; }

.contact-map { line-height: 0; border-top: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(0.9) contrast(0.98); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-map iframe { height: 300px; } }

.custom-logo { height: 80px; width: auto; display: block; }
.brand .custom-logo-link { display: inline-flex; align-items: center; }

.cf7-magorka { max-width: 720px; margin: 0 auto; }
.cf7-magorka h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #3D4330; font-size: 1.4rem;
  margin: 2rem 0 1rem; padding-bottom: .4rem;
  border-bottom: 2px solid #E4D9C0;
}
.cf7-magorka label { display: block; font-weight: 600; color: #3E3A2D; margin: 0 0 1rem; }
.cf7-magorka input[type=text],
.cf7-magorka input[type=tel],
.cf7-magorka input[type=email],
.cf7-magorka input[type=date],
.cf7-magorka input[type=url],
.cf7-magorka textarea {
  width: 100%; margin-top: .3rem; padding: .7rem .9rem;
  border: 1px solid #D9CBAE; border-radius: 8px;
  background: #FCF8EF; font-family: inherit; font-size: 1rem; color: #3E3A2D;
}
.cf7-magorka textarea { min-height: 120px; resize: vertical; }
.cf7-magorka input:focus, .cf7-magorka textarea:focus {
  outline: none; border-color: #BB4E2C; box-shadow: 0 0 0 3px rgba(187,78,44,.15);
}
.cf7-magorka .wpcf7-checkbox .wpcf7-list-item { display: block; margin: .35rem 0; }
.cf7-magorka .wpcf7-checkbox .wpcf7-list-item-label { font-weight: 400; }
.cf7-magorka .wpcf7-acceptance { font-size: .92rem; color: #6F6857; }
.cf7-magorka .wpcf7-submit {
  margin-top: 1rem; background: #BB4E2C; color: #FBF5E9; border: none;
  padding: .95rem 2rem; border-radius: 999px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  font-size: .85rem; cursor: pointer; transition: background .2s, transform .2s;
}
.cf7-magorka .wpcf7-submit:hover { background: #C1542F; transform: translateY(-2px); }
  .hero { position:relative; overflow:hidden; }
.hero__inner { position:relative; }
.hero__content { position:relative; z-index:2; max-width:50%; left:10%}
@media (max-width: 900px) { .hero__content {left:0 } }

.hero__media { position:absolute; top:0; right:0; bottom:0; width:56%; z-index:1; margin:0; }
.hero__media img, .hero__media .media-frame, .hero__media .media-frame img { width:100%; height:100%; object-fit:cover; border-radius:0; box-shadow:none; }
.hero__media img { -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 15%, #000 34%); mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 15%, #000 34%); }
@media (max-width:900px){ .hero__content{ max-width:100%; } .hero__media{ position:static; width:100%; } .hero__media img{ height:auto; -webkit-mask-image:none; mask-image:none; } }
