:root {
  --burgundy: #9c1a42;
  --burgundy-deep: #7a1233;
  --burgundy-dark: #520b22;
  --gold: #d4af5f;
  --gold-light: #f0d79b;
  --text: #241720;
  --muted: #77636d;
  --bg: #ffffff;
  --bg-tinted: #faf4f7;
  --line: #f0e0e6;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(122, 18, 51, .14);
  --font-en: 'Tajawal', 'Segoe UI', sans-serif;
  --font-ar: 'Tajawal', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] p, [dir="rtl"] a, [dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea {
  font-family: var(--font-ar);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Apple-style icons */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Scroll progress */
.progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--burgundy)); z-index: 300; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-tinted); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dark)); border-radius: 10px; border: 2px solid var(--bg-tinted); }

/* Glossy buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px;
  border-radius: 60px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-size: 1rem;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .5s ease; }
.btn:hover::after { left: 130%; }
.btn-primary { background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #b8934a 100%);
  color: var(--burgundy-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 26px rgba(212,175,95,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 16px 34px rgba(212,175,95,.5); }
.btn-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-light { background: linear-gradient(180deg, #fff 0%, #f3e7ec 100%); color: var(--burgundy);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(0,0,0,.25); }
.btn-light:hover { transform: translateY(-3px); }
.btn-full { width: 100%; }
.btn-nav { background: linear-gradient(180deg, #b02351 0%, var(--burgundy) 55%, var(--burgundy-deep) 100%);
  color: #fff !important; padding: 10px 24px; font-size: .9rem; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 18px rgba(122,18,51,.35); }

/* Navbar */
.navbar { position: fixed; top: 0; inset-inline: 0; z-index: 200;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s ease, box-shadow .3s ease; }
.navbar.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.logo-pill { display: inline-flex; align-items: center; }
.logo-pill img { height: 52px; display: block; filter: drop-shadow(0 0 3px rgba(255,255,255,.85)) drop-shadow(0 0 10px rgba(255,255,255,.4)); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
.nav-links a:hover { color: var(--gold-light); }
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--burgundy); }
.navbar.scrolled .nav-links .btn-nav { color: #fff !important; }
.nav-toggle { display: none; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 10px;
  font-size: 1.4rem; cursor: pointer; color: #fff; width: 42px; height: 42px; }
.navbar.scrolled .nav-toggle { color: var(--burgundy); border-color: var(--line); background: var(--bg-tinted); }
.lang-toggle { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); color: #fff;
  padding: 8px 18px; border-radius: 40px; font: inherit; font-weight: 700; cursor: pointer; font-size: .85rem; }
.lang-toggle:hover { background: rgba(255,255,255,.25); }
.navbar.scrolled .lang-toggle { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }

/* Hero — with real villa photo */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-photo { position: absolute; inset: 0;
  background: url("img/hero-villa.jpg") center 30% / cover no-repeat;
  transform: scale(1.05); }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(82,11,34,.94) 0%, rgba(156,26,66,.82) 42%, rgba(122,18,51,.55) 100%); }
.hero-gloss { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 60%);
  animation: gloss-sweep 7s ease-in-out infinite; }
@keyframes gloss-sweep { 0%, 100% { transform: translateX(-38%); } 50% { transform: translateX(38%); } }
@media (prefers-reduced-motion: reduce) { .hero-gloss { animation: none; } }

.hero-inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 50px; align-items: center;
  padding: 160px 22px 120px; position: relative; z-index: 1; }
.hero-kicker { color: var(--gold-light); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  font-size: .78rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.12; margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.gold-text { background: linear-gradient(92deg, var(--gold-light) 10%, var(--gold) 60%, #b8934a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.88); margin-bottom: 36px; max-width: 560px;
  text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28); border-radius: 40px; padding: 10px 22px;
  font-size: .88rem; font-weight: 600; color: #fff; transition: opacity .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.hero-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold); flex-shrink: 0; }

/* Hero card */
.hero-card { position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 34px 90px rgba(0,0,0,.35);
  transform: rotate(1.5deg); }
.hc-inner { position: relative; padding: 36px 32px; text-align: center; }
.hc-logo { height: 46px; margin-bottom: 20px; filter: drop-shadow(0 0 3px rgba(255,255,255,.8)) drop-shadow(0 0 10px rgba(255,255,255,.4)); }
.hc-big { font-size: 4.6rem; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #fff, var(--gold-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-small { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: 8px; }
.hc-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); margin: 24px 0; }
.hc-tags { display: flex; flex-direction: column; gap: 9px; }
.hc-tags > span { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 14px; font-size: .9rem; font-weight: 500; }
.hc-tags .ic { color: var(--gold-light); width: 20px; height: 20px; }

/* Marquee */
.marquee { overflow: hidden; background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #bd9a4d);
  transform: rotate(-1deg) scale(1.02); margin: -18px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), var(--shadow); }
.marquee-inner { display: flex; white-space: nowrap; padding: 15px 0; width: max-content;
  animation: marquee 28s linear infinite; }
.marquee-inner span { color: var(--burgundy-dark); font-weight: 700; font-size: 1rem; letter-spacing: 2.5px;
  text-transform: uppercase; padding-inline: 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* Stats — 3 items now */
.stats { padding: 70px 0 60px; }
.stats-grid { display: flex; justify-content: center; gap: 0 70px; flex-wrap: wrap; text-align: center; }
.stat { padding: 10px; }
.stat-num { display: block; font-size: 2.7rem; font-weight: 700; line-height: 1.1;
  background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: 4px; display: block; }

/* Sections */
.section { padding: 100px 0; }
.section-tinted { background: var(--bg-tinted); }
.section-burgundy { background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 55%, var(--burgundy-dark) 100%);
  position: relative; overflow: hidden; }
.section-burgundy::before { content: ""; position: absolute; inset: 0; opacity: .06;
  background: repeating-linear-gradient(-45deg, transparent 0 36px, #fff 36px 37px); }
.section-burgundy::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.09), transparent); pointer-events: none; }
.section-kicker { color: var(--burgundy); font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  font-size: .78rem; margin-bottom: 10px; }
.section-kicker.light { color: var(--gold-light); }
/* About & Services kickers act as section headlines */
#about .section-kicker, #services .section-kicker {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2;
  letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 30px; line-height: 1.2; }
.section-title.light { color: #fff; }
.section p { margin-bottom: 14px; }
.lead { font-size: 1.12rem; font-weight: 500; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-quote { background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 60%, var(--burgundy-dark) 100%);
  border-radius: 22px; padding: 46px 40px; color: #fff; position: relative; transform: rotate(-1deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), var(--shadow); overflow: hidden; }
.about-quote::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-20deg); }
.aq-mark { font-size: 5rem; line-height: .5; color: var(--gold); margin-bottom: 18px; font-family: Georgia, serif; }
.aq-text { font-size: 1.15rem; font-weight: 500; line-height: 1.6; margin-bottom: 24px !important; }
.aq-list { list-style: none; }
.aq-list li { padding: 8px 0; padding-inline-start: 28px; position: relative; color: rgba(255,255,255,.88); font-size: .95rem; }
.aq-list li::before { content: "✦"; color: var(--gold); position: absolute; inset-inline-start: 0; }

/* Mission / Vision */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 38px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 1px 0 #fff, 0 6px 20px rgba(122,18,51,.05); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mv-card { position: relative; overflow: hidden; }
.mv-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #b02351, var(--burgundy-deep)); color: #fff; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(122,18,51,.3); }
.mv-icon .ic { width: 26px; height: 26px; }
.mv-card h3 { color: var(--burgundy); font-size: 1.3rem; margin-bottom: 12px; }
.mv-card p { color: var(--muted); font-size: .97rem; }
.mv-num { position: absolute; top: 6px; inset-inline-end: 18px; font-size: 5.5rem; font-weight: 700;
  color: var(--bg-tinted); line-height: 1; pointer-events: none; }

/* Services — glossy hover flip */
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 34px 38px; overflow: hidden; transition: all .3s ease; }
.service-card::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .55s ease; }
.service-card:hover::after { left: 130%; }
.service-card .sv-num { position: absolute; top: 14px; inset-inline-end: 22px; font-size: 4.5rem; font-weight: 700;
  color: var(--bg-tinted); transition: color .3s ease; pointer-events: none; }
.service-card h3 { color: var(--burgundy); font-size: 1.35rem; margin-bottom: 10px; position: relative; transition: color .3s ease; }
.service-card p { color: var(--muted); font-size: .97rem; max-width: 85%; position: relative; transition: color .3s ease; }
.service-card .sv-icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-tinted); border: 1px solid var(--line); color: var(--burgundy); margin-bottom: 16px;
  transition: all .3s ease; }
.service-card:hover { background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep));
  transform: translateY(-6px); box-shadow: 0 26px 55px rgba(82,11,34,.4); border-color: transparent; }
.service-card:hover h3 { color: var(--gold-light); }
.service-card:hover p { color: rgba(255,255,255,.85); }
.service-card:hover .sv-num { color: rgba(255,255,255,.12); }
.service-card:hover .sv-icon { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: var(--gold-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }

/* Why Wall-X */
.section-burgundy .container { position: relative; z-index: 1; }
.why-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 42px 30px; text-align: center; color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .25s ease, background .25s ease; }
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.why-icon { width: 68px; height: 68px; border-radius: 20px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #b8934a);
  color: var(--burgundy-dark); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 24px rgba(0,0,0,.3); }
.why-icon .ic { width: 30px; height: 30px; }
.why-card h3 { color: var(--gold-light); font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,.8); font-size: .93rem; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; }
.project-card:first-child { grid-column: 1 / -1; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-head { padding: 26px 28px 16px; }
.project-head h3 { color: var(--burgundy); font-size: 1.25rem; margin: 4px 0 6px; }
.project-meta { color: var(--muted); font-size: .88rem; display: flex; gap: 16px; flex-wrap: wrap; }
.project-scope { color: var(--text); font-size: .92rem; margin-top: 6px; }
.idx-chip { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; }

/* ---- Swipe gallery (Before / During / After tabs + swipe strip) ---- */
.gallery { border-top: 1px solid var(--line); padding: 16px 20px 22px; background: var(--bg-tinted); }
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.ptab { font: inherit; font-weight: 700; font-size: .82rem; padding: 7px 16px; border-radius: 30px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s ease; }
.ptab.active { background: linear-gradient(180deg, #b02351, var(--burgundy-deep)); border-color: transparent; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 12px rgba(122,18,51,.3); }
.ptab:disabled { opacity: .4; cursor: not-allowed; }
.gallery-wrap { position: relative; }
.gallery-stage { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.gallery-stage::-webkit-scrollbar { display: none; }
.gallery-stage img { flex: 0 0 clamp(150px, 42%, 240px); min-width: 0; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px; scroll-snap-align: start; cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease; }
.gallery-stage img:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.95); color: var(--burgundy); font-size: 1.3rem; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.2); z-index: 2; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease; }
.g-arrow:hover { background: var(--gold-light); }
.g-arrow.prev { inset-inline-start: -6px; }
.g-arrow.next { inset-inline-end: -6px; }
.gallery-empty { color: var(--muted); font-size: .85rem; padding: 8px 2px; }

/* Instagram */
.instagram-section { background: linear-gradient(160deg, var(--burgundy-dark) 0%, #38081a 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden; }
.instagram-section::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent); }
.ig-icon { width: 74px; height: 74px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #e8be76, var(--gold) 60%, #b8934a); color: var(--burgundy-dark);
  margin: 0 auto 18px; box-shadow: inset 0 1.5px 0 rgba(255,255,255,.6), 0 14px 32px rgba(0,0,0,.35); }
.ig-icon .ic { width: 34px; height: 34px; }
.ig-inner { position: relative; z-index: 1; }
.instagram-section p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 30px; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1.15fr; background: #fff; border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-panel { background: linear-gradient(165deg, var(--burgundy) 0%, var(--burgundy-deep) 55%, var(--burgundy-dark) 100%);
  color: #fff; padding: 50px 42px; position: relative; overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent); }
.contact-panel h2 { font-size: 1.9rem; line-height: 1.25; margin-bottom: 14px; }
.cp-sub { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 10px !important; }
.contact-details { margin-top: 26px; position: relative; z-index: 1; }
.contact-details p { margin-bottom: 16px; display: flex; align-items: center; gap: 13px; }
.contact-details a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-details a:hover { color: var(--gold-light); }
.cd-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.cd-icon .ic { width: 18px; height: 18px; color: var(--gold-light); }
.contact-form { display: flex; flex-direction: column; gap: 14px; padding: 44px 40px; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit;
  background: var(--bg-tinted); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--burgundy); border-color: transparent; background: #fff; }
.form-note { font-size: .9rem; color: #1d7a3c; min-height: 1.2em; margin: 0; }

/* Footer */
.footer { background: #20050f; color: #bb95a3; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .86rem; }

/* WhatsApp — glossy squircle (iPhone-style) */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 190; width: 58px; height: 58px;
  border-radius: 19px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #46e58a 0%, #26c766 55%, #149947 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12), 0 12px 28px rgba(38,199,102,.5);
  transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }

/* Back to top */
.to-top { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 190; width: 48px; height: 48px;
  border-radius: 16px; border: none; color: #fff; font-size: 1.3rem; cursor: pointer;
  background: linear-gradient(180deg, #b02351, var(--burgundy-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .2s ease; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(24,4,13,.94); display: none;
  align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 78vh; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lb-caption { color: #fff; margin-top: 14px; font-weight: 500; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; color: #fff; font-size: 2rem; cursor: pointer; padding: 8px 18px; }
.lb-close { top: 16px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--burgundy-dark); }

/* ---------------- Showcase slider (top of homepage, managed via Site Manager) ---------------- */
.showcase { padding: 92px 0 0; }
.showcase > .container { max-width: none; padding: 0; }
.showcase-frame { position: relative; overflow: hidden; height: min(80vh, 780px); width: 100%;
  background: var(--burgundy-dark);
  touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.showcase-track { display: flex; height: 100%; transition: transform .65s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.showcase-track.dragging { transition: none; }
/* Each slide: full photo visible (no zoom-crop) over a blurred fill of the same photo,
   so portrait and landscape photos both look right in the wide frame. */
.sc-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; background: #2a0714; }
.sc-blur { position: absolute; inset: 0; background-position: center; background-size: cover;
  filter: blur(30px) brightness(.55) saturate(1.1); transform: scale(1.3); }
.showcase-track img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none; }
.showcase-track img.on { animation: sc-zoom 3.4s ease-out forwards; }
@keyframes sc-zoom { from { transform: scale(1); } to { transform: scale(1.055); } }
@media (prefers-reduced-motion: reduce) { .showcase-track img.on { animation: none; } }
.sc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35); cursor: pointer; font-size: 1.5rem; font-weight: 700;
  background: rgba(82,11,34,.45); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; }
.sc-arrow:hover { background: var(--burgundy); transform: translateY(-50%) scale(1.07); }
.sc-arrow.prev { left: 16px; } .sc-arrow.next { right: 16px; }
.sc-counter { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: .78rem; font-weight: 700;
  color: #fff; background: rgba(32,5,15,.5); border: 1px solid rgba(255,255,255,.25);
  padding: 4px 12px; border-radius: 20px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.showcase-dots { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 7px; max-width: 70%; flex-wrap: wrap; justify-content: center; }
.showcase-dots button { width: 9px; height: 9px; border-radius: 30px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: all .3s ease; }
.showcase-dots button.on { background: var(--gold-light); width: 22px; box-shadow: 0 0 8px rgba(240,215,155,.8); }
@media (max-width: 760px) {
  .showcase { padding: 84px 0 0; }
  .showcase-frame { height: 52vh; }
  .sc-arrow { display: none; } /* swipe on mobile */
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-card { max-width: 440px; }
  .about-grid, .contact-card { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid-2, .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 26px 10px; }
  .section { padding: 70px 0; }
  .g-arrow { display: none; } /* swipe on mobile */
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; top: 80px; inset-inline: 12px; flex-direction: column; background: #fff;
    padding: 24px; gap: 18px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.15); border-radius: var(--radius); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); }
  .nav-links .btn-nav { color: #fff !important; }
  .lang-toggle { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
  .marquee { transform: none; margin: 0; }
  .gallery-stage img { flex-basis: 72%; }
}
