/* ==========================================================================
   Sepenta — public site styles ("organic modern", RTL/LTR via logical props)
   ========================================================================== */
:root {
    --green-950: #0d2415;
    --green-900: #122f1c;
    --green-800: #1a3f27;
    --green-700: #1f5130;
    --green-600: #2a6a3f;
    --green-500: #3b8452;
    --green-100: #e3eee5;
    --gold-600: #a8822f;
    --gold-500: #c29a45;
    --gold-400: #d6b56a;
    --gold-100: #f6eedb;
    --cream: #f7f3e8;
    --cream-2: #fbf9f3;
    --ink: #1a241d;
    --muted: #5f6b62;
    --line: #e6e1d3;
    --white: #fff;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 6px 18px -8px rgba(18, 47, 28, .14);
    --shadow: 0 24px 50px -22px rgba(18, 47, 28, .35);
    --container: 1240px;
    --header-h: 96px;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-latin: 'Outfit', 'Tajawal', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--white); overflow-x: hidden; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 800; color: var(--green-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.icon { flex-shrink: 0; }
::selection { background: var(--gold-400); color: var(--green-900); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 110px; position: relative; }

/* ---------- Preloader & progress ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--cream); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-mark { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader-mark img { width: 84px; height: auto; animation: breathe 1.4s ease-in-out infinite; }
.preloader-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--gold-500); border-inline-end-color: var(--green-600); animation: spin 1s linear infinite; }
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; z-index: 120; background: linear-gradient(90deg, var(--green-600), var(--gold-500)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden;
    padding: 15px 30px; border-radius: 16px; border: 2px solid transparent; font-weight: 800; font-size: 16px; line-height: 1.2; white-space: nowrap;
    transition: transform .3s var(--spring), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 14px 28px -14px rgba(31, 81, 48, .85); }
.btn-primary:hover { background: var(--green-800); }
.btn-gold { background: var(--gold-500); color: var(--green-950); box-shadow: 0 14px 28px -14px rgba(194, 154, 69, .9); }
.btn-gold:hover { background: var(--gold-400); }
.btn-soft { background: var(--white); color: var(--green-800); border-color: var(--line); }
.btn-soft:hover { border-color: var(--green-700); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--green-800); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb957; }
.btn-shine::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
    animation: shine 3.5s ease-in-out infinite;
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-600); font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--gold-500); transform: rotate(45deg); box-shadow: 14px 0 0 -2px var(--green-600); }
[dir="rtl"] .eyebrow::before { box-shadow: -14px 0 0 -2px var(--green-600); }
.eyebrow::before { margin-inline-end: 12px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); margin: 10px 0 0; }
.section-head.is-light h2 { color: var(--white); }
.section-head.is-light .eyebrow { color: var(--gold-400); }
.head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.head-split h2 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.head-split p { color: var(--muted); margin: 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--gold-400); }

.lead { font-size: 19px; font-weight: 800; color: var(--green-700); }
.prose { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.check-list .icon { color: var(--green-950); background: var(--gold-400); border-radius: 8px; padding: 5px; width: 26px; height: 26px; transform: rotate(-6deg); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: height .35s var(--ease), background .35s, box-shadow .35s; }
.site-header.is-scrolled { --header-h: 76px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(18, 47, 28, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: height .35s var(--ease), background .35s, box-shadow .35s, transform .4s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 64px; width: auto; transition: height .35s var(--ease); }
.brand-icon { height: 56px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand-logo { height: 52px; }
.is-scrolled .brand-icon { height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-latin); font-size: 24px; color: var(--green-800); letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font-size: 12px; color: var(--gold-600); font-weight: 700; }

.nav-pill { position: relative; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(31, 81, 48, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.nav-pill a { position: relative; z-index: 1; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--ink); transition: color .3s; }
.nav-pill a:hover { color: var(--green-600); }
.nav-pill a.is-current { color: var(--white); }
.nav-indicator { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--green-700); transition: left .45s var(--spring), width .45s var(--spring), opacity .3s; opacity: 0; }
.nav-indicator.is-ready { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--white); border: 1px solid var(--line); color: var(--green-700); transition: transform .3s var(--spring), background .25s, color .25s; }
.round-btn:hover { background: var(--green-700); color: var(--white); transform: rotate(-12deg); }
.lang-btn { font-family: var(--font-latin); font-size: 15px; }
.call-btn { display: flex; align-items: center; gap: 10px; padding: 5px; padding-inline-end: 18px; border-radius: 999px; background: var(--green-700); color: var(--white); transition: background .25s; }
.call-btn:hover { background: var(--green-800); }
.call-btn-icon { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-500); color: var(--green-950); display: grid; place-items: center; }
.call-btn-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold-400); animation: ring 2s ease-out infinite; }
.call-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.call-btn-text small { font-size: 11.5px; opacity: .75; }
.call-btn-text strong { font-size: 14px; font-family: var(--font-latin); font-weight: 600; letter-spacing: .02em; }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--green-700); padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; position: relative; z-index: 110; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .25s, width .35s var(--ease); }
.burger span:nth-child(2) { width: 70%; }
.menu-open .site-header { z-index: 110; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .site-header .brand, .menu-open .site-header .lang-btn { opacity: 0; pointer-events: none; }
.brand, .lang-btn { transition: opacity .3s; }
.menu-open .burger { background: var(--gold-500); }
.menu-open .burger span { background: var(--green-950); }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 105; visibility: hidden; pointer-events: none; }
.mobile-menu-bg { position: absolute; inset: 0; background: var(--green-900); clip-path: circle(0% at calc(100% - 44px) 48px); transition: clip-path .7s var(--ease); }
[dir="rtl"] .mobile-menu-bg { clip-path: circle(0% at 44px 48px); }
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu-bg { clip-path: circle(150% at calc(100% - 44px) 48px); }
[dir="rtl"] .menu-open .mobile-menu-bg { clip-path: circle(150% at 44px 48px); }
.mobile-menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: calc(var(--header-h) + 16px) 24px 32px; gap: 28px; overflow-y: auto; overscroll-behavior: contain; }
.mobile-links { display: grid; }
.mobile-links a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: clamp(20px, 6vw, 26px); line-height: 1.4; font-weight: 800; color: var(--white); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mobile-links a span { font-family: var(--font-latin); font-size: 12px; min-width: 18px; color: var(--gold-400); font-weight: 600; }
.mobile-links a:hover { color: var(--gold-400); }
.menu-open .mobile-links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }
.mobile-contact { display: grid; gap: 12px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .75); opacity: 0; transition: opacity .5s .55s; }
.menu-open .mobile-contact { opacity: 1; }
.mobile-contact > * { display: flex; align-items: flex-start; gap: 10px; }
.mobile-contact .icon { margin-top: 2px; }
.mobile-contact .icon { color: var(--gold-400); }
.mobile-lang { margin-top: 6px; width: fit-content; align-items: center !important; padding: 8px 16px; font-size: 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 90px; background: var(--cream); overflow: hidden; display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: url("../images/pattern-wheat.svg") repeat; background-size: 200px; opacity: .35; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.orb-1 { width: 520px; height: 520px; background: rgba(194, 154, 69, .28); top: -160px; inset-inline-end: -120px; animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: rgba(42, 106, 63, .18); bottom: -160px; inset-inline-start: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.drift { position: absolute; width: 34px; height: 34px; fill: var(--green-500); opacity: .35; animation: fall 16s linear infinite; }
.drift-1 { inset-inline-start: 12%; top: -5%; }
.drift-2 { inset-inline-start: 46%; top: -5%; animation-delay: -6s; width: 24px; fill: var(--gold-500); }
.drift-3 { inset-inline-start: 78%; top: -5%; animation-delay: -11s; width: 28px; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); color: var(--green-700); font-weight: 800; font-size: 15px; margin-bottom: 26px; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(194, 154, 69, .7); animation: pulse-dot 1.8s infinite; }
.hero-text { display: none; }
.hero-text.is-active { display: block; }
.hero h1, .hero .h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; line-height: 1.15; color: var(--green-900); margin-bottom: 22px; }
.hero-text p { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-text.is-active p { animation: fade-up .9s .45s var(--ease) both; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; }
.page-hero .split .w > span, .hero-text.is-active .split .w > span { animation: word-up .9s var(--ease) both; animation-delay: calc(var(--wi) * 80ms + 150ms); }
.split .w:last-child > span { color: var(--green-600); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls { display: flex; align-items: center; gap: 22px; margin-top: 50px; }
.hero-count { font-family: var(--font-latin); color: var(--muted); font-weight: 600; }
.hero-count strong { font-size: 26px; color: var(--green-800); }
.hero-bars { display: flex; gap: 10px; }
.hero-bars button { width: 54px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(31, 81, 48, .15); overflow: hidden; position: relative; }
.hero-bars i { position: absolute; inset: 0; background: var(--gold-500); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .hero-bars i { transform-origin: 100% 50%; }
.hero-bars .is-active i { animation: bar 6.5s linear forwards; }
.hero-bars .is-done i { transform: scaleX(1); }

.hero-stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; width: 100%; justify-self: center; }
.blob { position: absolute; inset: 4% 4% 6% 6%; overflow: hidden; border-radius: 58% 42% 45% 55% / 50% 55% 45% 50%; animation: morph 14s ease-in-out infinite; box-shadow: 0 40px 80px -30px rgba(18, 47, 28, .55); background: var(--green-800); }
.blob img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 1.2s ease, transform 7s linear; }
.blob img.is-active { opacity: 1; transform: scale(1); }
.blob-outline { position: absolute; inset: 0; border: 2px dashed var(--gold-400); border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%; animation: morph 18s ease-in-out infinite reverse, spin 60s linear infinite; }
.seal { position: absolute; bottom: 2%; inset-inline-start: -2%; width: 136px; height: 136px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
.seal img { width: 52px; height: auto; }
.seal-text { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.seal-text text { font-family: var(--font-latin); font-size: 10.4px; font-weight: 800; letter-spacing: 1.6px; fill: var(--green-700); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); max-width: 240px; line-height: 1.3; }
[dir="rtl"] .float-card { padding: 12px 12px 12px 18px; }
.float-card strong { display: block; color: var(--green-900); font-size: 16px; }
.float-card small { color: var(--muted); font-size: 13px; }
.fc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-700); color: var(--white); flex-shrink: 0; }
.fc-ico.gold { background: var(--gold-500); color: var(--green-950); }
.fc-1 { top: 10%; inset-inline-end: -4%; animation: bob 6s ease-in-out infinite; }
.fc-2 { bottom: 16%; inset-inline-end: -2%; animation: bob 7s ease-in-out -2s infinite; }
.fc-1, .fc-2, .seal { will-change: transform; }

/* ---------- Ribbons (marquee) ---------- */
.ribbons { position: relative; height: 190px; overflow: hidden; background: var(--white); margin-top: -1px; }
.ribbon { position: absolute; inset-inline: -5%; top: 50%; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.ribbon-green { background: var(--green-800); color: var(--white); transform: translateY(-50%) rotate(-3deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); }
.ribbon-gold { background: var(--gold-400); color: var(--green-950); transform: translateY(-50%) rotate(3deg); }
.ribbon-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon-track.reverse { animation-direction: reverse; animation-duration: 46s; }
[dir="rtl"] .ribbon-track { animation-name: marquee-rtl; }
.ribbon span { font-size: 26px; font-weight: 900; }
.ribbon-green .icon { color: var(--gold-400); }
.ribbon-gold .icon { color: var(--green-700); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; min-height: 560px; }
.arch { position: absolute; overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.06); }
.arch-main { inset-block: 0 60px; inset-inline-start: 0; width: 68%; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.arch-sub { bottom: 0; inset-inline-end: 0; width: 46%; height: 58%; border-radius: var(--radius-lg) var(--radius-lg) 999px 999px; border: 8px solid var(--white); }
.year-chip { position: absolute; top: 40px; inset-inline-end: 4%; width: 140px; height: 140px; border-radius: 50%; background: var(--green-700); color: var(--white); display: grid; place-content: center; text-align: center; line-height: 1.1; box-shadow: var(--shadow); outline: 8px solid rgba(194, 154, 69, .25); }
.year-chip strong { font-family: var(--font-latin); font-size: 38px; font-weight: 900; color: var(--gold-400); }
.year-chip span { font-size: 14px; font-weight: 700; }
.dots-deco { position: absolute; bottom: -24px; inset-inline-start: -24px; width: 150px; height: 150px; z-index: -1; background-image: radial-gradient(var(--gold-400) 2px, transparent 2.5px); background-size: 16px 16px; animation: bob 8s ease-in-out infinite; }
.about-text h2 { font-size: clamp(30px, 3.8vw, 44px); }
.about-text p { color: var(--muted); }
.about-text .lead { color: var(--green-700); }

/* ---------- Services ---------- */
.services-section { background: var(--cream); overflow: hidden; }
.services-section::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern-wheat.svg") repeat; background-size: 200px; opacity: .45; pointer-events: none; }
.services-section .container { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.service-card {
    position: relative; display: block; aspect-ratio: 3 / 3.7; border-radius: var(--radius-lg); overflow: hidden; color: var(--white);
    box-shadow: var(--shadow-sm); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover > img { transform: scale(1.1); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 36, 21, 0) 30%, rgba(13, 36, 21, .6) 60%, rgba(13, 36, 21, .95) 100%); transition: background .5s; }
.service-card:hover::after { background: linear-gradient(180deg, rgba(13, 36, 21, .15) 0%, rgba(13, 36, 21, .75) 45%, rgba(13, 36, 21, .96) 100%); }
.service-num { position: absolute; top: 20px; inset-inline-start: 22px; z-index: 2; font-family: var(--font-latin); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.service-body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 8px; transform: translateZ(40px); }
.service-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-500); color: var(--green-950); margin-bottom: 6px; transition: transform .5s var(--spring); }
.service-card:hover .service-icon { transform: rotate(-10deg) scale(1.08); }
.service-title { font-size: 24px; font-weight: 900; line-height: 1.3; }
.service-excerpt { font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.service-card:hover .service-excerpt, .service-card:focus-visible .service-excerpt { max-height: 140px; opacity: 1; }
.service-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-400); margin-top: 4px; }
.service-go .icon { transition: transform .3s var(--ease); }
[dir="rtl"] .service-card:hover .service-go .icon { transform: translateX(-6px); }
[dir="ltr"] .service-card:hover .service-go .icon { transform: translateX(6px); }
@media (hover: none) { .service-excerpt { max-height: 140px; opacity: 1; } }

/* ---------- Value chain ---------- */
.chain-section { background: var(--green-900); color: var(--white); overflow: hidden; }
.chain-section::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern-wheat.svg") repeat; background-size: 200px; opacity: .08; filter: invert(1) brightness(2); pointer-events: none; }
.chain-section::after { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; top: -350px; inset-inline-start: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(194, 154, 69, .22), transparent 65%); pointer-events: none; }
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; z-index: 1; }
.chain-path { position: absolute; top: 6px; inset-inline: 6%; width: 88%; height: 110px; fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 8 10; opacity: .55; animation: dash 30s linear infinite; }
.chain-step { position: relative; text-align: center; }
.chain-icon { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 36% 64% 58% 42% / 44% 40% 60% 56%; display: grid; place-items: center; background: var(--green-700); color: var(--gold-400); box-shadow: 0 0 0 10px var(--green-900), inset 0 0 0 1px rgba(214, 181, 106, .4); transition: border-radius .8s var(--ease), background .35s, color .35s, transform .5s var(--spring); }
.chain-step:hover .chain-icon { border-radius: 50%; background: var(--gold-500); color: var(--green-950); transform: translateY(-8px) rotate(6deg); }
.chain-num { position: absolute; top: -4px; inset-inline-end: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--green-800); font-family: var(--font-latin); font-weight: 900; font-size: 13px; }
.chain-step h3 { color: var(--white); font-size: 20px; }
.chain-step p { color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Stats ---------- */
.stats { padding-block: 70px; background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { position: relative; padding: 30px 24px; border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; }
.stat::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; inset-inline-end: -40px; bottom: -40px; background: var(--gold-100); transition: transform .6s var(--ease); }
.stat:hover::after { transform: scale(2.6); }
.stat > * { position: relative; z-index: 1; }
.stat strong { display: block; font-family: var(--font-latin); font-size: clamp(40px, 4.6vw, 56px); font-weight: 900; line-height: 1.05; color: var(--green-700); }
.stat span { font-weight: 800; color: var(--muted); }

/* ---------- Why / values ---------- */
.why-section { background: var(--cream-2); }
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.why-text h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 28px; }
.vm-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); margin-bottom: 18px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.vm-card:hover { transform: translateX(-6px); }
[dir="ltr"] .vm-card:hover { transform: translateX(6px); }
.vm-card h3 { font-size: 20px; margin-bottom: 4px; }
.vm-card p { color: var(--muted); margin: 0; }
.vm-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--green-700); color: var(--gold-400); flex-shrink: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.values-grid-4 { grid-template-columns: repeat(4, 1fr); }
.value-card { position: relative; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, background .45s; }
.value-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: var(--green-700); transition: height .5s var(--ease); z-index: 0; }
.value-card > * { position: relative; z-index: 1; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.value-card:hover::before { height: 100%; }
.value-card:hover h3 { color: var(--white); }
.value-card:hover p { color: rgba(255, 255, 255, .8); }
.value-num { position: absolute !important; top: 18px; inset-inline-end: 22px; font-family: var(--font-latin); font-weight: 900; font-size: 34px; color: transparent; -webkit-text-stroke: 1px var(--line); transition: -webkit-text-stroke-color .4s; }
.value-card:hover .value-num { -webkit-text-stroke-color: rgba(214, 181, 106, .6); }
.value-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); margin-bottom: 18px; transition: background .4s, color .4s, transform .5s var(--spring); }
.value-card:hover .value-icon { background: var(--gold-500); color: var(--green-950); transform: rotate(-8deg); }
.value-card h3 { font-size: 20px; transition: color .4s; }
.value-card p { color: var(--muted); margin: 0; font-size: 16px; transition: color .4s; }

/* About page */
.vm-section { background: var(--cream); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-big { background: var(--white); border-radius: var(--radius-lg); padding: 46px 42px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.vm-big::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 42% 58% 60% 40%; inset-inline-end: -70px; bottom: -70px; background: var(--gold-100); animation: morph 12s ease-in-out infinite; }
.vm-big > * { position: relative; z-index: 1; }
.vm-big .vm-icon { width: 68px; height: 68px; margin-bottom: 22px; }
.vm-big h2 { font-size: 30px; }
.vm-big p { color: var(--muted); margin: 0; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.facts > div { padding: 26px 28px; border-radius: var(--radius); background: var(--cream); border-inline-start: 4px solid var(--gold-500); }
.facts dt { display: flex; align-items: center; gap: 8px; color: var(--gold-600); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 700; color: var(--green-900); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + 10px); background: var(--white); }
.page-hero-card { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 50px 56px; color: var(--white);
    background: linear-gradient(0deg, rgba(13, 36, 21, .88), rgba(13, 36, 21, .25)), var(--bg) center / cover no-repeat, var(--green-800); }
.page-hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 81, 48, .55), transparent 60%); }
[dir="rtl"] .page-hero-card::before { background: linear-gradient(270deg, rgba(31, 81, 48, .55), transparent 60%); }
.page-hero-text { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 60px); font-weight: 900; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; color: rgba(255, 255, 255, .8); animation: fade-up .8s var(--ease) both; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--gold-400); }
.page-hero-seal { position: absolute; top: 0; inset-inline-end: 0; width: 110px; height: 110px; background: var(--white); border-end-start-radius: var(--radius-lg); display: grid; place-items: center; color: var(--gold-500); }
.page-hero-seal .icon { animation: sway 4s ease-in-out infinite; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.detail-cover { margin: 0 0 44px; position: relative; }
.detail-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.detail-cover .service-icon { position: absolute; bottom: -28px; inset-inline-start: 36px; width: 72px; height: 72px; border-radius: 22px; border: 6px solid var(--white); margin: 0; }
.detail-main h2 { font-size: clamp(26px, 3.4vw, 40px); }
.detail-side { display: grid; gap: 26px; position: sticky; top: 100px; }
.side-box { background: var(--cream); border-radius: var(--radius-lg); padding: 30px; }
.side-box h3 { font-size: 20px; margin-bottom: 18px; }
.side-links { display: grid; gap: 10px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border-radius: 14px; font-weight: 700; transition: background .25s, color .25s, transform .3s var(--ease); }
.side-links a .icon:first-child { color: var(--green-600); }
.side-links a .push { margin-inline-start: auto; opacity: .5; }
.side-links a:hover { background: var(--green-700); color: var(--white); transform: translateX(-4px); }
[dir="ltr"] .side-links a:hover { transform: translateX(4px); }
.side-links a:hover .icon { color: var(--gold-400); opacity: 1; }
.side-cta { background: var(--green-800); color: var(--white); text-align: center; }
.side-cta > .icon { color: var(--gold-400); margin: 0 auto 10px; }
.side-cta h3 { color: var(--white); }
.side-cta p { color: rgba(255, 255, 255, .75); font-size: 16px; }
.side-cta .btn { width: 100%; margin-top: 10px; }
.side-cta .btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.side-cta .btn-ghost:hover { background: #fff; color: var(--green-800); }

/* ---------- Contact page ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.info-card { position: relative; text-align: center; padding: 36px 22px; border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; transition: transform .4s var(--ease), color .4s; }
.info-card::before { content: ""; position: absolute; inset: 0; background: var(--green-700); clip-path: circle(0% at 50% 0%); transition: clip-path .6s var(--ease); }
.info-card > * { position: relative; }
.info-card:hover { transform: translateY(-6px); }
.info-card:hover::before { clip-path: circle(150% at 50% 0%); }
.info-card:hover h3, .info-card:hover p, .info-card:hover a { color: var(--white); }
.info-icon { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--white); color: var(--green-700); box-shadow: var(--shadow-sm); transition: transform .5s var(--spring); }
.info-card:hover .info-icon { transform: rotate(-10deg); }
.info-card h3 { font-size: 19px; transition: color .3s; }
.info-card p { color: var(--muted); margin: 0; font-weight: 600; transition: color .3s; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-box h2 { font-size: 28px; margin-bottom: 22px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream-2); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(42, 106, 63, .12); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field .error { color: #b3261e; font-weight: 600; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 700; }
.alert-success { background: var(--green-100); color: var(--green-700); animation: fade-up .6s var(--ease) both; }
.map-box { border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; box-shadow: var(--shadow-sm); background: var(--cream); }
.map-box iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; }
.footer-cta { position: relative; z-index: 3; margin-bottom: -110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; padding: 44px 50px; border-radius: var(--radius-lg); color: var(--white); overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(214, 181, 106, .35), transparent 45%), linear-gradient(120deg, var(--green-700), var(--green-900)); box-shadow: 0 30px 60px -25px rgba(13, 36, 21, .6); }
.footer-cta::after { content: ""; position: absolute; inset: 0; background: url("../images/pattern-wheat.svg") repeat; background-size: 180px; opacity: .08; filter: invert(1) brightness(2); pointer-events: none; }
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta-seal { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: var(--gold-400); }
.footer-cta-seal .seal-text text { fill: var(--gold-400); }
.footer-cta h2 { color: var(--white); font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 6px; }
.footer-cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-main { position: relative; background: var(--green-950); color: rgba(255, 255, 255, .72); padding-top: 170px; overflow: hidden; font-size: 16px; }
.footer-wave { position: absolute; top: -1px; inset-inline: 0; line-height: 0; }
.footer-wave svg { width: 100%; height: 90px; fill: var(--white); transform: scaleY(-1); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { background: #fff; border-radius: 50%; padding: 5px; width: 60px; height: 60px; object-fit: contain; }
.footer-brand strong { display: block; color: var(--white); font-size: 22px; }
.footer-brand small { color: var(--gold-400); font-weight: 700; }
.site-footer h3 { color: var(--white); font-size: 19px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.site-footer h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-500); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { position: relative; display: inline-block; transition: color .25s, padding .3s var(--ease); }
.footer-links a:hover { color: var(--gold-400); padding-inline-start: 8px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--gold-400); flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--white); transition: background .25s, color .25s, transform .3s var(--spring); }
.socials a:hover { background: var(--gold-500); color: var(--green-950); transform: translateY(-4px) rotate(-6deg); }
.footer-word { font-family: var(--font-latin); font-weight: 900; font-size: clamp(70px, 17vw, 250px); line-height: .9; text-align: center; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px rgba(214, 181, 106, .28); user-select: none; margin-top: 30px;
    background: linear-gradient(90deg, rgba(214, 181, 106, 0) 0%, rgba(214, 181, 106, .22) 50%, rgba(214, 181, 106, 0) 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: sweep 7s linear infinite; direction: ltr; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; position: relative; z-index: 1; }
.to-top { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--white); display: grid; place-items: center; transition: background .25s, color .25s, transform .3s var(--spring); flex-shrink: 0; }
.to-top .up { transform: rotate(-90deg); }
.to-top:hover { background: var(--gold-500); color: var(--green-950); transform: translateY(-4px); }


/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="side"] { transform: translateX(50px); }
[dir="ltr"] [data-reveal="side"] { transform: translateX(-50px); }
[data-reveal="zoom"] { transform: scale(.85); }
[data-reveal="clip"] { opacity: 1; transform: none; box-shadow: none; transition: box-shadow .8s; }
[data-reveal="clip"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms), 0ms; }
[data-reveal="clip"].is-visible > img { clip-path: inset(0 0 0 0); }
[data-reveal="clip"].is-visible { box-shadow: var(--shadow); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.check-list li { opacity: 0; transform: translateX(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0ms) + 300ms); }
[dir="ltr"] .check-list li { transform: translateX(-20px); }
.is-visible .check-list li { opacity: 1; transform: none; }
.service-card[data-reveal].is-visible { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(.9); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 10px rgba(194, 154, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 154, 69, 0); } }
@keyframes shine { 0%, 60% { inset-inline-start: -60%; } 100% { inset-inline-start: 130%; } }
@keyframes morph {
    0%, 100% { border-radius: 58% 42% 45% 55% / 50% 55% 45% 50%; }
    33% { border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%; }
    66% { border-radius: 50% 50% 38% 62% / 60% 48% 52% 40%; }
}
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.1); } }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .4; } 90% { opacity: .4; } 100% { transform: translateY(105vh) rotate(540deg); opacity: 0; } }
@keyframes word-up { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@keyframes dash { to { stroke-dashoffset: -1000; } }
@keyframes sway { 50% { transform: rotate(-12deg); } }
@keyframes sweep { to { background-position: -200% 0; } }

@media (max-width: 420px) {
    .hero h1, .hero .h1 { font-size: 32px; }
    .hero-text p { font-size: 16px; margin-bottom: 26px; }
    .hero-actions .btn { flex: 1 1 auto; padding: 13px 18px; font-size: 15px; }
    .section-head h2, .head-split h2, .about-text h2, .why-text h2 { font-size: 26px; }
    .page-hero h1 { font-size: 30px; }
    .service-title { font-size: 21px; }
    .ribbon span { font-size: 17px; }
    .stat strong { font-size: 34px; }
    .footer-cta h2 { font-size: 21px; }
    .footer-cta .btn { width: 100%; }
    .footer-cta-seal { width: 96px; height: 96px; }
    .lead { font-size: 17px; }
}

@media (max-height: 640px) {
    .mobile-menu-inner { gap: 18px; padding-bottom: 20px; }
    .mobile-links a { padding: 8px 0; font-size: 20px; }
    .mobile-contact { gap: 8px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal], [data-reveal] > img, .check-list li { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .split .w > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .nav-pill a { padding: 9px 14px; }
    .call-btn-text { display: none; }
    .call-btn { padding: 5px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 80px; }
    .section { padding-block: 84px; }
    .nav-pill, .call-btn, .lang-btn { display: none; }
    .burger { display: flex; }
    .hero { min-height: auto; padding-bottom: 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: start; }
    .hero-stage { max-width: 480px; }
    .head-split { grid-template-columns: 1fr; gap: 16px; }
    .about-grid, .why-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-media { max-width: 560px; width: 100%; margin-inline: auto; min-height: 500px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .chain { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
    .chain-path { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .footer-cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding-block: 66px; }
    .brand-logo { height: 50px; }
    .is-scrolled .brand-logo { height: 44px; }
    .lang-btn { width: 42px; height: 42px; }
    .hero { padding-top: calc(var(--header-h) + 24px); }
    .hero-controls { margin-top: 34px; }
    .float-card { max-width: 200px; padding: 10px; }
    .float-card small { display: none; }
    .fc-1 { inset-inline-end: 0; }
    .fc-2 { inset-inline-end: 2%; }
    .seal { width: 108px; height: 108px; inset-inline-start: 0; }
    .ribbons { height: 150px; }
    .ribbon span { font-size: 20px; }
    .about-media { min-height: 420px; }
    .year-chip { width: 112px; height: 112px; top: 10px; }
    .year-chip strong { font-size: 30px; }
    .services-grid, .values-grid, .values-grid-4, .vm-grid, .info-cards, .footer-grid, .form-row, .facts { grid-template-columns: 1fr; }
    .service-card { aspect-ratio: 4 / 4.3; }
    .chain { grid-template-columns: 1fr 1fr; }
    .chain-icon { width: 100px; height: 100px; }
    .stats-grid { gap: 14px; }
    .stat { padding: 22px 18px; }
    .page-hero-card { min-height: 260px; padding: 34px 26px; }
    .page-hero-seal { width: 80px; height: 80px; }
    .footer-cta { padding: 34px 24px; margin-bottom: -90px; }
    .footer-main { padding-top: 140px; }
    .form-box { padding: 26px 20px; }
    .vm-big { padding: 34px 26px; }
    .footer-bottom { flex-direction: column-reverse; text-align: center; }
}
