/* ==========================================================================
   VERA GIDA — veragida.com.tr
   ========================================================================== */

/* Fonts (self-hosted, variable) ------------------------------------------- */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-latin-ext.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  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: "Oswald";
  src: url("/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  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";
  src: url("/fonts/open-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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: "Open Sans";
  src: url("/fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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;
}

/* Tokens ------------------------------------------------------------------ */
:root {
  --green: #81a629;
  --green-600: #6c8c1f;
  --green-700: #56701a;
  --green-100: #eef4dc;
  --green-50: #f6f9ee;
  --ink: #1c2118;
  --text: #4b5246;
  --muted: #7d8577;
  --line: #e3e7da;
  --paper: #ffffff;
  --cream: #fafbf6;
  --dark: #12160f;

  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 84px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 10, .06), 0 2px 8px rgba(20, 30, 10, .05);
  --shadow-md: 0 10px 30px -10px rgba(20, 30, 10, .22);
  --shadow-lg: 0 24px 60px -20px rgba(20, 30, 10, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 500; color: var(--ink); line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  --bg: var(--green);
  --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, #fff);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.btn .icon { font-size: 1.1em; transition: transform .35s var(--ease); }
.btn:hover { color: var(--fg-hover, var(--ink)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn-light { --bg: #fff; --fg: var(--ink); --fill: var(--green); --fg-hover: #fff; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(255, 255, 255, .94);
  border-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(20, 30, 10, .18);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { width: auto; height: 46px; transition: height .35s var(--ease), transform .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 38px; }
.brand:hover img { transform: scale(1.03); }

.site-nav ul { display: flex; align-items: center; gap: 2.25rem; }
.site-nav a {
  position: relative; display: inline-block; padding: .4rem 0;
  font-family: var(--font-head); font-size: 1rem; font-weight: 400; letter-spacing: .05em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--green-600); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  position: relative; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .25s var(--ease), top .4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px) scale(.98); transform-origin: top center;
    clip-path: inset(0 0 100% 0 round var(--radius));
    transition: opacity .3s var(--ease), transform .45s var(--ease-out), clip-path .5s var(--ease-out), visibility 0s linear .5s;
  }
  .site-nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    clip-path: inset(0 0 0 0 round var(--radius));
    transition: opacity .3s var(--ease), transform .45s var(--ease-out), clip-path .5s var(--ease-out), visibility 0s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li {
    opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out);
  }
  .site-nav.is-open li { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(1) { transition-delay: .06s; }
  .site-nav.is-open li:nth-child(2) { transition-delay: .11s; }
  .site-nav.is-open li:nth-child(3) { transition-delay: .16s; }
  .site-nav.is-open li:nth-child(4) { transition-delay: .21s; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: flex; padding: .95rem 1rem; font-size: 1.1rem; border-radius: 10px; }
  .site-nav a::after { left: 1rem; right: auto; width: 24px; bottom: .6rem; }
  .site-nav a:hover { background: var(--green-50); }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--dark);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center; animation: kenburns 22s var(--ease) both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(10, 14, 8, .15) 0%, rgba(10, 14, 8, .55) 70%),
    linear-gradient(180deg, rgba(10, 14, 8, .45) 0%, rgba(10, 14, 8, .25) 40%, rgba(10, 14, 8, .7) 100%);
}
.hero-content { text-align: center; max-width: 900px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); margin-bottom: 1.4rem;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 500; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .01em; color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .accent { color: #b7d65e; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .9); margin-bottom: 2.4rem; }

.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
.reveal-up { display: inline-block; transform: translateY(105%); animation: slideUp 1s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes slideUp { to { transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%;
  color: #fff; font-size: 1.3rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  display: inline-block; margin-bottom: .6rem;
  font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--green);
}
.section-title { font-size: clamp(2.2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: .02em; }
.section-lead { margin-top: 1.1rem; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.rule { position: relative; display: block; width: 88px; height: 2px; margin: 1.1rem auto 0; background: var(--line); overflow: hidden; border-radius: 2px; }
.rule::after {
  content: ""; position: absolute; inset: 0; background: var(--green);
  transform: scaleX(0); transition: transform 1.1s var(--ease-out) .25s;
}
.is-visible .rule::after, .rule.is-visible::after { transform: scaleX(1); }
.rule-left { margin-left: 0; }

/* Scroll-in animation */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-animate].is-visible { opacity: 1; transform: none; }
html:not(.js) [data-animate] { opacity: 1; transform: none; }
html:not(.js) .rule::after { transform: scaleX(1); }

/* Projects ---------------------------------------------------------------- */
.projects {
  position: relative;
  background:
    radial-gradient(80% 60% at 50% 0%, var(--green-50) 0%, rgba(246, 249, 238, 0) 70%),
    var(--cream);
}
.projects::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  opacity: .55;
}
.projects .container { position: relative; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 2.2rem 1.8rem 2rem;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
  transition-delay: var(--d, 0ms);
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), #b7d65e);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.card.is-visible:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(129, 166, 41, .35); }
.card:hover::after { transform: scaleX(1); }
.card-num {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  transition: -webkit-text-stroke-color .4s var(--ease);
}
.card:hover .card-num { -webkit-text-stroke-color: rgba(129, 166, 41, .45); }
.card-icon {
  position: relative; display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 1.4rem;
  border-radius: 18px; background: var(--green-100); color: var(--green-600);
  font-size: 1.9rem;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.card:hover .card-icon { background: var(--green); color: #fff; transform: rotate(-6deg) scale(1.05); border-radius: 50%; }
.card-title { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }
.card-rule { display: block; width: 36px; height: 2px; margin: .95rem 0 1.05rem; background: var(--green); border-radius: 2px; transition: width .5s var(--ease-out); }
.card:hover .card-rule { width: 64px; }
.card p { font-size: .95rem; line-height: 1.7; }

/* Careers ----------------------------------------------------------------- */
.careers { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; color: #fff; overflow: hidden; isolation: isolate; background: var(--green-700); }
.careers-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(183, 214, 94, .35) 0%, transparent 60%),
    radial-gradient(50% 100% at 100% 100%, rgba(18, 22, 15, .55) 0%, transparent 70%),
    linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 55%, #3f5213 100%);
}
.careers-bg::before {
  content: ""; position: absolute; right: -8%; top: 50%; width: min(52vw, 620px); aspect-ratio: 1;
  translate: 0 -50%;
  background: url("/images/vera-mark.webp") center / contain no-repeat;
  opacity: .07; filter: brightness(0) invert(1);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.careers-inner { max-width: 820px; text-align: center; }
.careers-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 1.4rem; }
.careers p { color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.8; margin-bottom: 2.2rem; }

/* About ------------------------------------------------------------------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-text {
  position: relative; padding-left: 1.8rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.85; color: var(--text);
}
.about-text::before {
  content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--green), rgba(129, 166, 41, .15));
  transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out) .3s;
}
.about-text.is-visible::before, html:not(.js) .about-text::before { transform: scaleY(1); }
.about-visual { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.about-visual img { position: relative; width: 72%; height: auto; transition: transform .8s var(--ease-out); }
.about-visual:hover img { transform: rotate(-8deg) scale(1.04); }
.about-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(129, 166, 41, .45);
  animation: spin 60s linear infinite;
}
.about-ring::before {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--green-50) 0%, rgba(246, 249, 238, 0) 70%);
  border: 1px solid var(--line);
}
.about-ring::after {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(129, 166, 41, .18);
}

/* Contact ----------------------------------------------------------------- */
.contact { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; color: #fff; isolation: isolate; background: var(--dark); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; background: url("/images/contact-bg.webp") center / cover no-repeat; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 15, 10, .82) 0%, rgba(12, 15, 10, .6) 60%, rgba(12, 15, 10, .45) 100%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: .02em; }
.contact .rule { background: rgba(255, 255, 255, .2); margin-bottom: 2.2rem; }
.contact-sub { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.4rem; }
.contact-list { display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list a {
  position: relative; font-size: 1rem; color: #fff; line-height: 1.5;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s var(--ease), background-size .45s var(--ease-out);
}
.contact-list a:hover { color: #c8e27a; background-size: 100% 1px; }
.contact-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  color: var(--green); font-size: 1.2rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease-out);
}
.contact-list li:hover .contact-icon { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.08); }

.contact-form {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.contact-form noscript p { color: #fff; }
.contact-form noscript a { color: #c8e27a; text-decoration: underline; }
/* Forms ------------------------------------------------------------------- */
.vform { display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { position: relative; }
.form-control {
  width: 100%; display: block;
  padding: 1.35rem .9rem .5rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream);
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 10px 10px 0 0;
  outline: none; appearance: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-control:hover { background: var(--green-50); }
.form-control:focus { border-bottom-color: var(--green); background: #fff; box-shadow: 0 1px 0 0 var(--green); }
.form-label {
  position: absolute; left: .9rem; top: 1rem;
  font-size: .95rem; color: var(--muted); pointer-events: none;
  transform-origin: left top;
  transition: transform .3s var(--ease-out), color .3s var(--ease);
}
.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label { transform: translateY(-.62rem) scale(.78); color: var(--green-600); }
.req { color: #d9534f; margin-left: 3px; }
.form-control.error { border-bottom-color: #d9534f; box-shadow: 0 1px 0 0 #d9534f; }
.form-error { display: none; margin-top: .35rem; font-size: .8rem; color: #d9534f; }

.form-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-file label {
  display: flex; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1rem 1.1rem; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.form-file label:hover, .form-file input:focus-visible + label { border-color: var(--green); background: var(--green-50); }
.form-file.has-file label { border-style: solid; border-color: var(--green); }
.form-file-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green-600); font-size: 1.3rem; flex-shrink: 0; transition: transform .4s var(--ease-out); }
.form-file label:hover .form-file-icon { transform: translateY(-3px); }
.form-file-text { display: grid; line-height: 1.35; min-width: 0; }
.form-file-text strong { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-file-text small { color: var(--muted); font-size: .8rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-block { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn.btn-loading .icon { display: none; }
.btn.btn-loading::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}

.form-alert {
  display: none; margin-bottom: 1.25rem; padding: .95rem 1.1rem;
  border-radius: 12px; border-left: 3px solid; font-size: .95rem; line-height: 1.55;
}
.form-alert a { text-decoration: underline; }
.form-alert.visible { display: block; animation: fadeUp .45s var(--ease-out) both; }
.form-success { background: var(--green-50); border-color: var(--green); color: var(--green-700); }
.form-alert-error { background: #fdf1f0; border-color: #d9534f; color: #a3322e; }

/* Dark variant (contact section) */
.vform--dark .form-control { color: #fff; background: rgba(255, 255, 255, .04); border-bottom-color: rgba(255, 255, 255, .55); }
.vform--dark .form-control:hover { background: rgba(255, 255, 255, .08); }
.vform--dark .form-control:focus { background: rgba(255, 255, 255, .08); border-bottom-color: #b7d65e; box-shadow: 0 1px 0 0 #b7d65e; }
.vform--dark .form-label { color: rgba(255, 255, 255, .72); font-size: .88rem; letter-spacing: .03em; }
.vform--dark .form-control:focus + .form-label,
.vform--dark .form-control:not(:placeholder-shown) + .form-label { color: #c8e27a; }
.vform--dark .form-error, .vform--dark .req { color: #ff9a8f; }
.vform--dark .form-control.error { border-bottom-color: #ff9a8f; box-shadow: 0 1px 0 0 #ff9a8f; }
.vform--dark .btn-primary { --fill: #fff; }
.contact-form .form-success { background: rgba(129, 166, 41, .18); color: #e3f0bf; border-color: #b7d65e; }
.contact-form .form-alert-error { background: rgba(217, 83, 79, .15); color: #ffd2cc; border-color: #ff9a8f; }

/* Page hero (sub pages) --------------------------------------------------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: radial-gradient(80% 90% at 50% 0%, var(--green-50) 0%, rgba(246, 249, 238, 0) 70%), var(--cream);
  overflow: hidden;
}
.page-hero .section-head { margin-bottom: 0; }
.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); background: var(--cream); }
.form-card {
  max-width: 860px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-card-title { font-size: clamp(1.5rem, 3vw, 1.9rem); text-transform: uppercase; letter-spacing: .02em; margin: .2rem 0 .5rem; }
.form-card-lead { color: var(--muted); font-size: .95rem; margin-bottom: 1.75rem; }
.back-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem;
  font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--green-600);
}
.back-link .icon { rotate: 180deg; transition: transform .35s var(--ease); }
.back-link:hover .icon { transform: translateX(4px); }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 0 4rem; background: var(--cream); }
.notfound-code { font-family: var(--font-head); font-size: clamp(6rem, 22vw, 11rem); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--green); }
.notfound p { margin: 1rem 0 2rem; color: var(--muted); }

/* Footer ------------------------------------------------------------------ */
.site-footer { position: relative; background: var(--green-600); color: #fff; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.6rem 0; }
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; font-size: .95rem; }
.footer-brand img { width: 34px; height: 34px; filter: brightness(0) invert(1); transition: transform .6s var(--ease-out); }
.footer-brand:hover img { transform: rotate(-20deg); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer-nav a {
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .05em; color: rgba(255, 255, 255, .9);
  background: linear-gradient(#fff, #fff) 0 100% / 0 1px no-repeat;
  transition: color .3s var(--ease), background-size .4s var(--ease-out);
}
.footer-nav a:hover { color: #fff; background-size: 100% 1px; }

/* Back to top ------------------------------------------------------------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), background-color .3s var(--ease), visibility 0s linear .45s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out), background-color .3s var(--ease), visibility 0s; }
.to-top:hover { background: var(--green); }
.to-top:hover .icon { animation: nudge .6s var(--ease-out); }
@keyframes nudge { 50% { transform: translateY(-3px); } }

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  [data-animate] { opacity: 1; transform: none; }
}
