/* Project Life — public website (ported from the prototype, RTL-aware) */
:root{
  --bg: #FCFAF7;
  --paper: #FFFFFF;
  --cream: #ECE3D2;
  --ink: #1B231A;
  --ink-soft: #4B564A;
  --sage: #A0BB8A;
  --sage-deep: #3F5A3B;
  --sage-pale: #E6EFE8;
  --sage-line: #DDEDCE;
  --serif: 'Cormorant SC', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
}
[dir="rtl"]{
  --serif: 'Amiri', 'Noto Naskh Arabic', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:var(--serif);
  font-weight:600;
  margin:0;
  color:var(--ink);
  letter-spacing:0.01em;
}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] blockquote,[dir="rtl"] .fw-num{ letter-spacing:0; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3{ font-weight:700; line-height:1.5; }
p{margin:0;}
a{color:inherit;}
img{max-width:100%;display:block;}
button{font-family:inherit;}
.ltr{ direction:ltr; unicode-bidi:isolate; display:inline-block; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
a.visually-hidden:focus{ position:fixed; top:12px; inset-inline-start:12px; z-index:200; width:auto; height:auto; clip:auto; overflow:visible;
  background:var(--sage-deep); color:#fff; padding:10px 16px; border-radius:100px; text-decoration:none; font-size:14px; }

.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}

@media (max-width: 640px){
  .wrap{padding:0 22px;}
  body{font-size:16px;}
}

/* ---------- NAV ---------- */
nav.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(251,250,246,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(63,90,59,0.08);
  transition:box-shadow .3s ease, height .3s ease;
}
nav.site-nav.scrolled{ box-shadow:0 8px 24px -18px rgba(27,35,26,0.35); }
/* while the mobile menu is open the bar is fully opaque (no blur: a backdrop-filter would also trap the fixed panel) */
nav.site-nav.menu-open{
  background:var(--bg);
  backdrop-filter:none; -webkit-backdrop-filter:none;
  z-index:120;
}
nav.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  height:64px;
  transition:height .3s ease;
}
nav.site-nav.scrolled .wrap{ height:56px; }
.brand-mark-logo{ height:26px; width:auto; display:block; }
.brand-link{ display:block; flex-shrink:0; }
.nav-links{display:flex; gap:32px; font-size:14.5px;}
.nav-links a{text-decoration:none; color:var(--ink-soft); position:relative; transition:color .2s; white-space:nowrap;}
.nav-links a:hover{color:var(--sage-deep);}
.nav-links a::after{
  content:""; position:absolute; inset-inline-start:0; bottom:-4px; width:0; height:1.5px;
  background:var(--sage-deep); transition:width .6s ease;
}
.nav-links a:hover::after{ width:100%; }
.nav-ctas{ display:flex; align-items:center; gap:10px; }
.nav-cta{
  font-size:14.5px; padding:9px 18px; border-radius:100px;
  background:var(--sage-pale); color:var(--sage-deep); text-decoration:none;
  transition:background .2s, color .2s;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--sage); color:#fff; }
.nav-cta-ghost{
  background:var(--sage-pale); color:var(--sage-deep); border:1px solid var(--sage-line);
}
.nav-cta-ghost:hover{ background:var(--sage); color:#fff; border-color:var(--sage); }
.nav-cta .short{ display:none; }
/* language pill toggle: globe + "العربية | EN" (current language filled, the other a link) */
.lang-pill{
  display:inline-flex; align-items:center; gap:2px; flex-shrink:0;
  padding:3px; padding-inline-start:10px; border-radius:100px;
  border:1px solid var(--sage-line); background:var(--paper); color:var(--sage-deep);
  font-size:13.5px; line-height:1; white-space:nowrap; direction:ltr;
  box-shadow:0 1px 2px rgba(63,90,59,0.06); transition:border-color .2s, box-shadow .2s;
}
.lang-pill:hover{ border-color:var(--sage); box-shadow:0 2px 8px rgba(63,90,59,0.12); }
.lang-pill .lang-globe{ width:16px; height:16px; flex-shrink:0; margin-inline-end:6px; color:var(--sage-deep); }
.lang-pill-sep{ color:var(--sage-line); font-size:12px; margin:0 1px; user-select:none; }
.lang-pill-item{
  display:inline-flex; align-items:center; min-height:28px; padding:0 11px; border-radius:100px;
  text-decoration:none; color:var(--sage-deep); font-weight:500;
  transition:background .2s, color .2s;
}
.lang-pill-item.is-current{ background:var(--sage-deep); color:#fff; font-weight:700; cursor:default; }
a.lang-pill-item:hover{ background:var(--sage-pale); color:var(--sage-deep); }
a.lang-pill-item:focus-visible{ outline:2px solid var(--sage); outline-offset:2px; }
.lang-pill-lg{ font-size:15px; padding:4px; padding-inline-start:12px; }
.lang-pill-lg .lang-globe{ width:18px; height:18px; }
.lang-pill-lg .lang-pill-item{ min-height:34px; padding:0 14px; }

/* hamburger + mobile menu */
.nav-toggle{
  display:none; background:none; border:1px solid var(--sage-line); border-radius:10px;
  width:42px; height:38px; padding:0; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  transition:background .2s;
}
.nav-toggle:hover{ background:var(--sage-pale); }
.nav-toggle span{ display:block; width:18px; height:1.6px; background:var(--sage-deep); border-radius:2px; transition:transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.6px) rotate(-45deg); }
/* solid full-height panel pinned under the bar; --nav-h is set by site.js from the bar's real height */
.mobile-menu{
  display:none;
  position:fixed;
  inset-block-start:var(--nav-h, 65px);
  inset-inline:0;
  bottom:0;
  background:var(--bg);
  border-top:1px solid var(--sage-line);
  padding:14px 0 32px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  z-index:120;
  animation:menu-in .25s ease;
}
@keyframes menu-in{ from{ opacity:0; transform:translateY(-8px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .mobile-menu{ animation:none; } }
nav.site-nav .mobile-menu .wrap{ display:flex; flex-direction:column; justify-content:flex-start; gap:4px; height:auto; align-items:stretch; }
.mobile-menu a{ display:block; text-align:start; text-decoration:none; color:var(--ink); font-size:17px; padding:14px 4px; border-bottom:1px solid rgba(63,90,59,0.08); }
.mobile-menu a:hover{ color:var(--sage-deep); }
.mobile-menu .mobile-ctas{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.mobile-menu .mobile-ctas a{ width:100%; text-align:center; border:none; padding:14px 18px; border-radius:100px; background:var(--sage-pale); color:var(--sage-deep); font-size:15.5px; font-weight:500; white-space:normal; }
.mobile-menu .mobile-ctas a.primary{ background:var(--sage-deep); color:#fff; }
.mobile-menu .mobile-lang{ margin-top:18px; align-self:flex-start; }
.mobile-menu .lang-pill a.lang-pill-item{ display:inline-flex; border-bottom:none; padding:0 14px; font-size:15px; color:var(--sage-deep); }
nav.site-nav.menu-open .mobile-menu{ display:block; }
/* body scroll is locked while the panel is open (class set by site.js) */
html.menu-locked, html.menu-locked body{ overflow:hidden; }

@media (max-width:760px){
  .nav-links{display:none;}
  .nav-toggle{display:flex;}
}
@media (max-width:640px){
  .nav-cta{ font-size:12px; padding:8px 12px; }
  .nav-cta-ghost{ display:none; }
  .nav-ctas .lang-pill{ display:none; } /* collapsed into the mobile menu */
}
@media (max-width:400px){
  .nav-cta .full{ display:none; }
  .nav-cta .short{ display:inline; }
}

/* ---------- HERO ---------- */
.hero{
  padding:120px 0 96px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; top:-220px; inset-inline-end:-160px;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, var(--sage-pale), var(--cream) 55%, transparent 75%);
  opacity:0.7;
  z-index:0;
  transform:translate(calc(var(--mx,0) * 1px), calc(var(--my,0) * 1px + var(--sy,0) * 1px));
  transition:transform .6s ease-out;
}
@media (prefers-reduced-motion: reduce){
  .hero::before{ transition:none; }
}
.hero-inner{
  position:relative; z-index:1;
  transform:translateY(calc(var(--hy,0) * 1px));
  opacity:var(--hop,1);
}
@media (prefers-reduced-motion: reduce){
  .hero-inner{ transform:none !important; opacity:1 !important; transition:none; }
}
.hero-logo{
  height:240px; width:auto; margin:0 auto 32px;
  opacity:0; filter:blur(14px); transform:scale(0.96);
  animation: emerge .8s ease forwards 0s;
}
@media (max-width:640px){ .hero-logo{ height:150px; margin-bottom:22px; } }
@media (prefers-reduced-motion: reduce){
  .hero-logo{ animation:none; opacity:1; filter:none; transform:none; }
}
.hero h1{
  font-size:clamp(22px, 2.6vw, 34px);
  line-height:1.15;
  max-width:820px;
  margin:0 auto 26px;
}
[dir="rtl"] .hero h1{
  font-size:clamp(24px, 2.8vw, 36px);
  line-height:1.6;
}
.hero h1 .word{ display:inline-block; vertical-align:top; }
.hero h1 .word-inner{
  display:inline-block;
  opacity:0; filter:blur(10px);
  animation: emerge .9s ease forwards;
  animation-delay:calc(.1s + var(--i,0) * .15s);
}
@keyframes emerge{ to{ opacity:1; filter:blur(0); transform:scale(1); } }
@media (prefers-reduced-motion: reduce){
  .hero h1 .word-inner{ animation:none; opacity:1; filter:none; }
}
.hero .lede{
  font-size:19px; color:var(--ink-soft); max-width:560px; margin:0 auto 40px;
  opacity:0; filter:blur(10px);
  animation: emerge .9s ease forwards .5s;
}
.hero-actions{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  opacity:0; filter:blur(10px);
  animation: emerge .9s ease forwards .65s;
}
.btn-consult{
  background:var(--sage-pale); color:var(--sage-deep); border:1px solid var(--sage-line);
  display:inline-flex; align-items:center; gap:8px;
}
.btn-consult:hover{ background:var(--sage-line); border-color:var(--sage); }
.btn-consult svg{ flex-shrink:0; }
@media (prefers-reduced-motion: reduce){
  .hero h1, .hero .lede, .hero-actions{ animation:none; opacity:1; filter:none; transform:none; }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .6s ease-out, transform .6s ease-out;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

.btn{
  display:inline-block; padding:13px 26px; border-radius:100px;
  font-size:15px; font-weight:500; text-decoration:none;
  border:none; cursor:pointer; font-family:var(--sans); line-height:1.4;
  transition:transform .6s cubic-bezier(.34,1.56,.64,1), background .5s ease, box-shadow .6s ease, opacity .3s ease;
}
.btn:hover{ transform:translateY(-3px); box-shadow:0 14px 24px -14px rgba(63,90,59,0.5); }
.btn:active{ transform:scale(0.97) translateY(0); }
.btn-primary{ background:var(--sage-deep); color:#fff; position:relative; }
.hero .btn-primary{ animation:pulse-glow 6s ease-in-out infinite; }
.hero .btn-primary:hover{ animation-play-state:paused; }
@keyframes pulse-glow{
  0%, 100%{ box-shadow:0 0 0 0 rgba(63,90,59,0.35); }
  50%{ box-shadow:0 0 0 10px rgba(63,90,59,0); }
}
@media (prefers-reduced-motion: reduce){
  .hero .btn-primary{ animation:none; }
}
.btn-primary:hover{ background:var(--ink); }
.btn-ghost{ background:transparent; color:var(--sage-deep); border:1px solid var(--sage-line); }
.btn-ghost:hover{ border-color:var(--sage-deep); }
.btn:focus-visible{ outline:2px solid var(--sage-deep); outline-offset:3px; }
.btn[disabled]{ opacity:.6; cursor:progress; transform:none; box-shadow:none; }

/* ---------- SECTION GENERIC ---------- */
section{ padding:104px 0; }
@media (max-width:640px){ section{ padding:72px 0; } }
/* below-the-fold sections are laid out lazily; the placeholder height keeps the scrollbar stable */
#framework, #services, #team, #contact, footer{
  content-visibility:auto;
  contain-intrinsic-size:auto 700px;
}

.section-head{ max-width:640px; margin:0 0 56px; text-align:start; }
.section-head h2{ font-size:clamp(28px,3.6vw,40px); line-height:1.15; }
[dir="rtl"] .section-head h2{ line-height:1.5; }
.section-head p{ color:var(--ink-soft); margin-top:16px; font-size:17px; }
.center{ text-align:center; margin-inline:auto; }

/* ---------- PHILOSOPHY ---------- */
.philosophy{ background:var(--paper); border-top:1px solid var(--sage-line); border-bottom:1px solid var(--sage-line); }
.philosophy .wrap{ max-width:760px; }
.philosophy blockquote{
  margin:0; font-family:var(--serif); font-weight:400;
  font-size:clamp(24px,3.2vw,34px); line-height:1.4; color:var(--sage-deep);
  text-align:center;
}
[dir="rtl"] .philosophy blockquote{ line-height:1.8; font-size:clamp(22px,3vw,32px); }
.philosophy cite{ display:block; margin-top:28px; font-style:normal; font-size:14.5px; color:var(--ink-soft); text-align:center; }

/* ---------- FRAMEWORK ---------- */
.framework-grid{
  display:grid; grid-template-columns:repeat(var(--fw-cols,3),1fr); gap:20px;
  background:transparent; border:none; border-radius:0; overflow:visible;
}
.framework-grid > div{
  background:var(--paper); padding:44px 36px;
  border:1px solid var(--sage-line); border-radius:18px;
  transition:background .6s ease, transform .6s ease, border-color .6s ease, box-shadow .6s ease;
  position:relative; overflow:hidden;
}
.framework-grid > div::before{
  content:""; position:absolute; inset:0; opacity:0;
  background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%), var(--sage-pale), transparent 70%);
  transition:opacity .9s ease; pointer-events:none;
}
.framework-grid > div:hover::before{ opacity:1; }
.fw-num{ font-family:var(--serif); font-size:15px; color:var(--sage); margin-bottom:18px; transition:color .5s ease, transform .5s ease; position:relative; direction:ltr; text-align:start; }
.framework-grid h3{ font-size:24px; margin-bottom:14px; position:relative; transition:color .5s ease; }
.framework-grid p{ color:var(--ink-soft); font-size:15.5px; position:relative; }

/* hover highlights the tile under the cursor and gently dims its siblings */
.framework-grid:hover > div{
  background:var(--cream); border-color:var(--cream); box-shadow:none; transform:scale(0.97);
}
.framework-grid:hover > div h3,
.framework-grid:hover > div p,
.framework-grid:hover > div .fw-num{ opacity:.55; }
.framework-grid > div:hover{
  background:var(--paper) !important; border-color:var(--sage) !important; transform:scale(1.05) !important;
  box-shadow:0 22px 44px -24px rgba(63,90,59,0.4); z-index:2;
}
.framework-grid > div:hover h3,
.framework-grid > div:hover p,
.framework-grid > div:hover .fw-num{ opacity:1 !important; }
.framework-grid > div:hover .fw-num{ color:var(--sage-deep); transform:scale(1.15); }
@media (prefers-reduced-motion: reduce){
  .framework-grid:hover > div, .framework-grid > div:hover{ transform:none !important; box-shadow:none; }
}
@media (max-width:800px){
  .framework-grid{ grid-template-columns:1fr; }
}

/* ---------- SERVICES ---------- */
.services-section{ background:var(--paper); border-top:1px solid var(--sage-line); border-bottom:1px solid var(--sage-line); }
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
  perspective:1000px;
}
.service-card{
  background:var(--paper); border:1px solid var(--sage-line); border-radius:18px;
  padding:34px 30px; display:flex; flex-direction:column; gap:14px;
  transition:transform .9s cubic-bezier(.22,1,.36,1), border-color .8s ease, box-shadow .8s ease;
  position:relative; overflow:hidden; isolation:isolate;
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0px)) scale(var(--sc,1));
  transform-style:preserve-3d;
}
.service-card::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%), var(--sage-pale), transparent 70%);
  transition:opacity .9s ease;
}
.service-card::after{
  content:""; position:absolute; top:0; inset-inline-start:-60%; width:40%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform:skewX(-18deg); pointer-events:none;
  transition:inset-inline-start 1.1s cubic-bezier(.22,1,.36,1);
}
.service-card:hover::after{ inset-inline-start:130%; }
.service-card:hover::before{ opacity:1; }
.service-card:hover{
  --ty:-12px; --sc:1.03;
  border-color:var(--sage);
  box-shadow:0 30px 50px -22px rgba(63,90,59,0.45);
}
@media (prefers-reduced-motion: reduce){
  .service-card{ transform:none !important; transition:none; }
  .service-card::after{ display:none; }
}
.service-card.plan-card{ background:var(--sage-pale); border-color:var(--sage-line); }
.service-card.plan-card h3, .service-card.plan-card p{ color:var(--sage-deep); }
.service-icon{
  width:44px; height:44px; border-radius:12px; background:var(--sage-pale);
  display:flex; align-items:center; justify-content:center;
  transition:background .6s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
  animation:bob 6.5s ease-in-out infinite;
}
.service-icon svg{ width:22px; height:22px; stroke:var(--sage-deep); transition:stroke .5s ease; }
.service-card:nth-child(2) .service-icon{ animation-delay:.4s; }
.service-card:nth-child(3) .service-icon{ animation-delay:.8s; }
.service-card:nth-child(4) .service-icon{ animation-delay:1.2s; }
.service-card:nth-child(5) .service-icon{ animation-delay:1.6s; }
.service-card:nth-child(6) .service-icon{ animation-delay:2s; }
.service-card:nth-child(7) .service-icon{ animation-delay:2.4s; }
@keyframes bob{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-4px) rotate(-2deg); } }
.service-card:hover .service-icon{ background:var(--sage); transform:scale(1.18) rotate(-10deg); animation-play-state:paused; }
.service-card:hover .service-icon svg{ stroke:#fff; }
@media (prefers-reduced-motion: reduce){
  .service-icon{ animation:none; }
}
.service-card h3{ font-size:20px; transition:color .5s ease; }
.service-card:hover h3{ color:var(--sage-deep); }
.service-card p{ color:var(--ink-soft); font-size:15px; }
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } }

/* ---------- TEAM ---------- */
.team-section{ background:var(--cream); }
.team-grid{
  display:grid; grid-template-columns:repeat(var(--team-cols,5),1fr); gap:22px;
}
.team-card{ text-align:center; }
.avatar{
  width:100%; aspect-ratio:1; border-radius:50%;
  background:linear-gradient(155deg, var(--sage-pale), var(--sage));
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  margin-bottom:18px;
  transition:transform .9s ease, box-shadow .9s ease;
}
.avatar-icon{ width:58%; height:58%; fill:#fff; opacity:0.92; }
.avatar-photo{ width:100%; height:100%; object-fit:cover; }
.team-card:hover .avatar{
  transform:scale(1.05);
  box-shadow:0 14px 28px -16px rgba(63,90,59,0.45);
}
.team-card h3{ font-size:18px; margin-bottom:4px; }
.team-role{ font-size:13.5px; color:var(--sage-deep); margin-bottom:10px; }
.team-bio{ font-size:14px; color:var(--ink-soft); line-height:1.5; }
@media (max-width:940px){ .team-grid{ grid-template-columns:repeat(3,1fr); row-gap:40px; } }
@media (max-width:600px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- CONTACT ---------- */
.contact{
  background:var(--sage-deep); color:#F4F7F1; border-radius:28px;
  padding:72px 48px; text-align:center;
}
.contact h2{ color:#fff; font-size:clamp(28px,3.6vw,40px); margin-bottom:16px; }
.contact p{ color:#DDEAD3; max-width:480px; margin:0 auto 34px; font-size:16.5px; }
.contact .btn-primary{ background:#fff; color:var(--sage-deep); }
.contact .btn-primary:hover{ background:var(--sage-pale); }
.contact-note{ margin-top:28px; font-size:13.5px; color:#B9CDAF; }
@media (max-width:640px){ .contact{ padding:52px 28px; } }

/* flash / inline messages */
.site-flash, .form-msg{
  max-width:640px; margin:0 auto 24px; padding:14px 18px; border-radius:14px;
  font-size:15px; line-height:1.55; text-align:start; color:#fff;
  animation:menu-in .4s ease;
}
.site-flash.flash-success, .form-msg.success{ background:rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.45); }
.site-flash.flash-error, .form-msg.error{ background:rgba(176,80,63,0.38); border:1px solid rgba(255,205,195,0.55); }
.site-flash.flash-info{ background:rgba(255,255,255,0.10); border:1px solid rgba(255,255,255,0.3); }

/* booking form */
.contact-form{ max-width:640px; margin:0 auto; text-align:start; }
.form-title{ color:#fff; font-size:22px; text-align:center; margin-bottom:22px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-grid .full{ grid-column:1 / -1; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.form-field label{ display:block; font-size:13.5px; color:#DDEAD3; margin-bottom:6px; }
.form-field label .opt{ color:#B9CDAF; font-size:12px; }
.form-field input,
.form-field select,
.form-field textarea{
  width:100%; padding:12px 16px; border-radius:14px; border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.96); color:var(--ink);
  font-family:var(--sans); font-size:15.5px; line-height:1.4;
  transition:border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.form-field select{ appearance:none; -webkit-appearance:none; cursor:pointer; padding-inline-end:40px;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233F5A3B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; }
[dir="rtl"] .form-field select{ background-position:left 16px center; }
.form-field input[type="date"]{ direction:ltr; text-align:start; }
.form-field textarea{ min-height:120px; resize:vertical; }
.form-field input::placeholder, .form-field textarea::placeholder{ color:#8A958A; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none; border-color:#fff; background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,0.22);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea{ border-color:#F0B8A8; box-shadow:0 0 0 3px rgba(240,184,168,0.35); }
.field-error{ font-size:13px; color:#FBD9CF; margin-top:6px; min-height:0; }
.field-error:empty{ display:none; }
.form-actions{ display:flex; flex-direction:column; align-items:center; gap:14px; margin-top:26px; }
.form-actions .btn{ min-width:220px; }
.hp{ position:absolute; inset-inline-start:-9999px; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }

/* contact links */
.contact-links{ display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:34px; }
.contact-link{
  display:inline-flex; align-items:center; gap:9px; padding:11px 20px; border-radius:100px;
  border:1px solid rgba(255,255,255,0.35); color:#fff; text-decoration:none; font-size:14.5px;
  transition:background .3s ease, border-color .3s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.contact-link:hover{ background:rgba(255,255,255,0.12); border-color:#fff; transform:translateY(-2px); }
.contact-link svg{ width:18px; height:18px; flex-shrink:0; }
.contact-link.whatsapp{ background:rgba(255,255,255,0.14); border-color:rgba(255,255,255,0.55); font-weight:500; }
.contact-link.whatsapp:hover{ background:#fff; color:var(--sage-deep); }

/* ---------- FOOTER ---------- */
footer{ padding:48px 0; }
footer .wrap{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:13.5px; color:var(--ink-soft);
  border-top:1px solid var(--sage-line); padding-top:32px;
}
.footer-brand{ display:flex; align-items:center; gap:14px; }
.footer-brand img{ height:34px; width:auto; }
.footer-steps{ color:var(--sage-deep); font-family:var(--serif); font-size:15px; }
.footer-lang{
  display:inline-flex; align-items:center; gap:7px; text-decoration:none; color:var(--sage-deep);
  font-size:13.5px; padding:7px 14px; border-radius:100px; border:1px solid var(--sage-line); background:var(--paper);
  transition:background .2s, border-color .2s;
}
.footer-lang:hover{ background:var(--sage-pale); border-color:var(--sage); }
.footer-lang .lang-globe{ width:15px; height:15px; }

.bg-pattern{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:url('../img/bg-pattern.png');
  background-repeat:repeat;
  background-size:58px 210px;
  background-position:0 0;
  opacity:0.05;
}
header, section, footer{ position:relative; z-index:1; }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress{
  position:fixed; top:0; inset-inline-start:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--sage), var(--sage-deep));
  z-index:100;
}
[dir="rtl"] .scroll-progress{ background:linear-gradient(270deg, var(--sage), var(--sage-deep)); }
