/* HERO */
.hero{min-height:100vh;display:flex;align-items:center;padding:10rem 4rem 4rem;position:relative;overflow:hidden;background:var(--bg-pure)}
.hero::before{content:'';position:absolute;width:1400px;height:1400px;border-radius:50%;background:radial-gradient(circle,rgba(212,175,55,0.07) 0%,transparent 70%);top:-500px;right:-300px;pointer-events:none;z-index:0}
.hero::after{content:'';position:absolute;width:900px;height:900px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,0.02) 0%,transparent 70%);bottom:-300px;left:-200px;pointer-events:none;z-index:0}
.hero-inner{position:relative;z-index:1;width:100%;max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1.2fr 0.8fr;gap:6rem;row-gap:2.5rem;align-items:center}

.hero-badge{display:inline-flex;align-items:center;gap:.6rem;padding:.5rem 1.2rem;border-radius:100px;border:1px solid var(--card-border);background:rgba(212,175,55,.05);font-size:.8rem;color:var(--gold);font-weight:600;width:fit-content;margin-bottom:2.5rem;letter-spacing:.05em}
.hero-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);animation:pulse 2s infinite}
/* NOTE: this keyframe was previously referenced but never defined, so the "live" dot never actually pulsed — fixed below */
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(1.35)}}

.hero-title{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(2.5rem,4.6vw,4.2rem);line-height:1.25;color:#fff;max-width:760px;font-weight:800;letter-spacing:-.01em}
.hero-title .gradient-text{background:var(--gold-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
/* 3D flipping rotator for the sentence's last word(s) — a genuine CSS 3D
   transform (perspective + rotateX on a real Z-axis), not a fade dressed up
   as one. Inline and same size as the surrounding text on purpose: it reads
   as one continuous sentence, and lets the word wrap normally like any other
   text instead of being force-nowrapped (which clipped long phrases off the
   left edge of the viewport — verified live). */
.hero-rotate{display:inline-block;perspective:800px}
.hero-rotate-word{display:inline-block;opacity:1;transform:rotateX(0deg);transform-origin:50% 50%}
@keyframes heroFlipWord{0%{transform:rotateX(0deg);opacity:1}45%{transform:rotateX(-100deg);opacity:0}55%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}
.hero-rotate-word.flipping{animation:heroFlipWord 1s cubic-bezier(.16,1,.3,1) both}
@media (prefers-reduced-motion: reduce){
  .hero-rotate-word.flipping{animation:none !important}
}
.hero-desc{margin-top:2rem;max-width:550px;font-size:1.15rem;color:var(--text-muted);font-weight:300;line-height:1.8}
.hero-desc strong{color:#fff;font-weight:600}
.hero-cta{margin-top:3rem;display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}

.btn{display:inline-flex;align-items:center;gap:.7rem;padding:1.1rem 2.5rem;border-radius:100px;font-size:.9rem;font-weight:700;transition:all .4s cubic-bezier(.16,1,.3,1);cursor:pointer;border:none;font-family:inherit}
.btn-primary{background:var(--gold-gradient);color:var(--bg-pure);box-shadow:0 10px 25px rgba(212,175,55,0.15)}
.btn-primary:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(212,175,55,0.3);color:#000}
.btn-outline{border:1px solid rgba(255,255,255,0.1);color:var(--text-light);background:transparent}
.btn-outline:hover{border-color:var(--gold);color:#fff;background:rgba(212,175,55,0.03);transform:translateY(-4px)}

/* HERO 3D CARD SHOWCASE */
.hero-visual{position:relative;perspective:1500px;height:550px;display:flex;align-items:center;justify-content:center}
/* Ambient scene behind the card — a rotating 3D wireframe form, not a CSS
   illusion. Drawn on a 2D canvas with plain trigonometry (hero code in
   index.html) instead of WebGL: the Three.js build it replaced pulled ~600 KB
   of third-party script for the same visual. Sits behind the card/badges via
   DOM order + z-index, ignores pointer events so the card's own tilt still
   gets the mouse, and never initializes under reduced-motion rather than
   rendering a static frame — a canvas nobody can turn off isn't worth the
   trade for visitors who asked for less motion. */
.hero-3d-canvas{position:absolute;inset:-15%;z-index:0;pointer-events:none;opacity:0;transition:opacity 1.2s ease}
.hero-3d-canvas.ready{opacity:1}
.hero-card{width:400px;height:500px;border-radius:var(--live-radius,24px);overflow:hidden;border:2px solid var(--gold-dark);transform-style:preserve-3d;transition:transform .1s ease-out;position:relative;z-index:1;box-shadow:0 30px 60px rgba(0,0,0,0.8), 0 0 50px rgba(212,175,55,0.1);background:var(--bg-pure)}
.hero-card img{width:100%;height:100%;object-fit:contain;transition:transform 0.5s}
.hero-card:hover img{transform:scale(1.02)}
/* Transparent shadow container behind the card to create glow */
.hero-card::after{content:'';position:absolute;inset:-2px;border-radius:var(--live-radius,24px);background:var(--gold-gradient);z-index:-1;opacity:0.3;filter:blur(20px)}

/* Floating stats badges */
.float-badge{position:absolute;z-index:2;background:rgba(7,7,8,0.92);backdrop-filter:blur(30px);border:1px solid var(--card-border);border-radius:16px;padding:.8rem 1.2rem;display:flex;align-items:center;gap:.8rem;animation:floatB 6s ease-in-out infinite;box-shadow:0 15px 30px rgba(0,0,0,0.5)}
.float-badge-1{top:12%;right:-20px;animation-delay:0s}
.float-badge-2{bottom:15%;left:-30px;animation-delay:2s}
@keyframes floatB{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)}}
.float-badge-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.float-badge-text{font-size:.85rem;font-weight:800;color:#fff;line-height:1.3}
.float-badge-sub{font-size:.68rem;color:var(--text-muted);font-weight:400}

/* INFINITE MARQUEE */
.marquee{background:var(--bg-dark);border-top:1px solid rgba(212,175,55,0.08);border-bottom:1px solid rgba(212,175,55,0.08);padding:1.8rem 0;overflow:hidden;white-space:nowrap;position:relative;z-index:2}
.marquee-inner{display:inline-flex;animation:scroll 40s linear infinite}
.marquee-inner span{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:1.6rem;color:rgba(255,255,255,0.15);padding:0 3rem;text-transform:uppercase;letter-spacing:1px;display:inline-flex;align-items:center;gap:1.5rem;transition:color 0.3s}
.marquee-inner span:hover{color:var(--gold)}
.marquee-inner em{color:var(--gold);font-style:normal}
@keyframes scroll{to{transform:translateX(50%)}} /* RTL scroll direction */

/* SECTION LAYOUT */
section{padding:10rem 4rem;position:relative;z-index:2}
.section-inner{max-width:1400px;margin:0 auto}
.section-tag{font-size:.8rem;color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.25em;margin-bottom:1.2rem;display:flex;align-items:center;gap:1rem}
.section-tag::before{content:'';width:40px;height:1px;background:var(--gold-gradient)}
.section-title{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(2.8rem,5vw,4.5rem);line-height:1.1;color:#fff;font-weight:900}
.section-title .it{font-style:normal;background:var(--gold-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}

/* ABOUT SECTION (Featuring Panda Brand Story) */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start}
.about-text{font-size:1.12rem;color:var(--text-muted);line-height:1.8;font-weight:300}
.about-text p{margin-bottom:1.1rem}
.about-text p:last-child{margin-bottom:0}
.about-text strong{color:#fff;font-weight:600}
.about-img{position:relative;border-radius:var(--live-radius,24px);overflow:hidden;border:1px solid rgba(212,175,55,0.15);box-shadow:0 30px 60px rgba(0,0,0,0.5);background:var(--bg-pure)}
.about-img img{width:100%;height:520px;object-fit:contain;transition:transform 0.8s}
.about-img:hover img{transform:scale(1.05)}
.about-img::after{content:'';position:absolute;inset:0;background:linear-gradient(to top, var(--bg-pure), transparent)}

/* SERVICES BENTO GRID */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:5rem}
.svc{background:var(--card-bg);border:1px solid rgba(255, 255, 255, 0.03);border-radius:var(--live-radius,24px);padding:3rem;transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s cubic-bezier(.16,1,.3,1),border-color .5s cubic-bezier(.16,1,.3,1);position:relative;overflow:hidden;box-shadow:0 15px 35px rgba(0,0,0,0.2);display:block}
.svc::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top left, rgba(212,175,55,0.06), transparent 60%);opacity:0;transition:opacity .5s}
.svc:hover{border-color:var(--gold);transform:translateY(-8px) scale(1.012);box-shadow:0 25px 50px rgba(212,175,55,0.12)}
.svc:hover::before{opacity:1}
.svc-icon{width:56px;height:56px;border-radius:14px;background:rgba(212,175,55,0.05);border:1px solid rgba(212,175,55,0.1);display:flex;align-items:center;justify-content:center;margin-bottom:2rem;transition:all .4s}
.svc:hover .svc-icon{background:var(--gold-gradient);transform:scale(1.08)}
.svc:hover .svc-icon svg{stroke:#000}
.svc h3{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:1.5rem;color:#fff;margin-bottom:1rem;font-weight:700}
.svc p{font-size:.95rem;color:var(--text-muted);line-height:1.8;font-weight:300}
.svc-link{display:inline-flex;align-items:center;gap:0.5rem;color:var(--gold);font-size:0.9rem;font-weight:700;margin-top:1.5rem;transition:all 0.3s}
.svc:hover .svc-link{color:#fff;transform:translateX(-5px)}

/* WHY US GRID */
.why-section{background:var(--bg-pure);border-top:1px solid rgba(212,175,55,0.05);border-bottom:1px solid rgba(212,175,55,0.05)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2.5rem;margin-top:5rem}
.why-card{padding:2.5rem;background:var(--card-bg);border-radius:20px;border:1px solid rgba(255,255,255,0.02);transition:transform .45s cubic-bezier(.16,1,.3,1),border-color .45s cubic-bezier(.16,1,.3,1),background-color .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1);box-shadow:0 0 0 rgba(0,0,0,0)}
.why-card:hover{border-color:var(--card-border);background:rgba(212,175,55,0.02);transform:translateY(-6px) scale(1.012);box-shadow:0 20px 40px rgba(0,0,0,0.3)}
.why-num{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:2.5rem;color:var(--gold);margin-bottom:1.2rem;display:block}
.why-card h3{font-size:1.2rem;color:#fff;margin-bottom:0.8rem;font-weight:700}
.why-card p{font-size:0.9rem;color:var(--text-muted);line-height:1.7}

/* STATS */
.stats-section{background:var(--bg-pure);padding:6rem 4rem;position:relative;z-index:2}
.stats-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:3rem;text-align:center}
.stat-item{position:relative}
.stat-num{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(3.5rem,6vw,5rem);color:#fff;line-height:1;font-weight:900}
.stat-num em{color:var(--gold);font-style:normal;background:var(--gold-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.stat-label{font-size:.85rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.2em;margin-top:1rem;font-weight:600}

/* PORTFOLIO */
.port-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:5rem}
.port{display:block;position:relative;border-radius:var(--live-radius,24px);overflow:hidden;aspect-ratio:4/3;background:#0a0a0c;border:1px solid rgba(255,255,255,0.03);box-shadow:0 15px 35px rgba(0,0,0,0.3);transition:all .5s cubic-bezier(.16,1,.3,1);text-decoration:none;color:inherit}
.port:hover{border-color:var(--gold);transform:scale(1.02);box-shadow:0 25px 50px rgba(212,175,55,0.15)}
/* Real client logos (square, transparent PNGs) — contained, never cropped, with
   room at the bottom so the always-visible caption never sits on the logo. */
.port img{width:100%;height:100%;object-fit:contain;padding:1.6rem 1.6rem 5.6rem;transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.port:hover img{transform:scale(1.08)}
/* Always visible (not hover-only) — a caption only readable to mouse users
   who happen to hover fails keyboard/touch/screen-reader users entirely. */
.port-info{position:absolute;inset:0;background:linear-gradient(to top, rgba(0,0,0,0.92) 20%, transparent 85%);display:flex;flex-direction:column;justify-content:flex-end;padding:2.5rem}
.port-label{font-size:.75rem;font-weight:800;color:var(--gold);text-transform:uppercase;letter-spacing:.15em;margin-bottom:.5rem}
.port h3{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:1.5rem;color:#fff;font-weight:700}
.port-cta{display:flex;align-items:center;gap:.4rem;margin-top:.8rem;font-size:.85rem;font-weight:700;color:var(--gold);opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s}
.port:hover .port-cta,.port:focus-visible .port-cta{opacity:1;transform:translateY(0)}
/* HOMEPAGE PORTFOLIO — a dark tile map. The heading block sits on a gold spine
   in its own column with the featured project underneath it, and the rest of
   the work fills a dense wall of uniform tiles in the wide column, headed by
   the category legend. Every tile is the same rectangle — a numbered corner,
   an ivory mat, then the project's name and category — so the band reads as a
   wall of work rather than a row of cards. The numbers are pure CSS
   (counter-reset:pftile on the grid, ::before on the number span), so the
   markup stays a plain list of links and all 41 projects stay crawlable. The
   ivory mat is load-bearing: the portfolio files mix transparent logos,
   white-background logos and photos, and a light mat is the one surface all
   three read correctly on — never put the artwork straight on the dark
   background. Server-rendered by renderPortfolioFeatured() /
   renderPortfolioChips() / renderPortfolioRoster(), which fill the
   <!--PORTFOLIO_TAG/TITLE/INTRO/FEATURED/CHIPS/ROSTER--> placeholders in
   public/index.html. Heading copy, featured project and tile order are edited
   under "תוכן עמוד הבית" in the admin. */
#portfolio.pftile{
  --pfbg:#1A1A1A; --pftile:#262626; --pfmat:#F6F3EC; --pfmuted:#A6A6A6; --pfrule:rgba(255,255,255,.08);
  background:var(--pfbg);
  border-top:1px solid var(--card-border);border-bottom:1px solid var(--card-border);
  padding:7.5rem 4rem 7rem;
}
.pftile-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:minmax(250px,1fr) 2.2fr;gap:4rem;align-items:start;counter-reset:pftile}
.pftile-head{display:flex;flex-direction:column;align-items:flex-start;padding-inline-start:1.7rem;border-inline-start:2px solid var(--gold)}
.pftile-num{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(2.6rem,4.2vw,3.6rem);line-height:1;font-weight:900;color:var(--gold);letter-spacing:.02em}
.pftile-eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.24em;color:var(--gold);margin-top:1rem;text-transform:uppercase}
.pftile-title{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(1.9rem,3vw,2.6rem);font-weight:900;color:#fff;line-height:1.18;letter-spacing:-.01em;margin-top:.6rem}
.pftile-intro{font-size:1rem;line-height:1.9;color:var(--pfmuted);max-width:42ch;font-weight:300;margin-top:1.3rem}
.pftile-btn{display:inline-flex;align-items:center;gap:.6rem;margin-top:1.9rem;font-weight:700;font-size:.92rem;color:var(--gold)}
.pftile-btn span{display:inline-block;transition:transform .3s}
.pftile-btn:hover span{transform:translateX(-4px)}
.pftile-btn:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:8px}
/* the featured project keeps the heading's column, one step larger than a tile */
.pftile-featured{width:100%;margin-top:2.6rem}
.pftile-featured:empty{display:none}

/* the wide column — the category legend, then the wall */
.pftile-main{min-width:0}
.pftile-more-title{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:1.02rem;font-weight:700;color:#fff;letter-spacing:.01em;margin-bottom:1.1rem}
.pftile-chips{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 2.4rem;padding:0;list-style:none}
.pftile-chip{font-family:inherit;cursor:pointer;padding:.5rem 1.15rem;border-radius:100px;border:1px solid var(--pfrule);background:var(--pftile);color:var(--pfmuted);font-size:.8rem;font-weight:600;white-space:nowrap;transition:border-color .25s,color .25s,background .25s}
.pftile-chip:hover{color:#fff;border-color:rgba(212,175,55,.45)}
.pftile-chip.active{background:rgba(212,175,55,.14);border-color:var(--gold);color:#fff}
.pftile-chip:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* a tile: numbered corner, ivory mat, name and category */
.pftile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.pftile-tile{display:flex;flex-direction:column;background:var(--pftile);border:1px solid var(--pfrule);border-radius:18px;padding:1rem 1rem 1.25rem;color:inherit;transition:border-color .3s,transform .3s}
.pftile-tile:hover{border-color:rgba(212,175,55,.45);transform:translateY(-3px)}
.pftile-tile:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.pftile-tile-num{counter-increment:pftile;align-self:flex-end;margin-bottom:.85rem;font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:.76rem;font-weight:700;color:var(--pfmuted);letter-spacing:.12em;line-height:1}
.pftile-tile-num::before{content:counter(pftile,decimal-leading-zero)}
.pftile-mat{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;flex:0 0 auto;min-height:0;padding:1.15rem;border-radius:12px;background:var(--pfmat);overflow:hidden}
.pftile-mat img{width:100%;height:100%;object-fit:contain}
.pftile-tile-text{display:flex;flex-direction:column;gap:.25rem;min-width:0;margin-top:auto;padding-top:1rem}
.pftile-tile-text strong{color:#fff;font-weight:700;font-size:.96rem;line-height:1.35}
.pftile-tile-text em{color:var(--pfmuted);font-style:normal;font-size:.74rem;font-weight:600;letter-spacing:.04em}
/* the featured tile — one shade brighter, with a wide mat */
.pftile-tile.is-featured{border-color:rgba(212,175,55,.35);border-radius:22px;padding:1.15rem 1.15rem 1.45rem}
.pftile-tile.is-featured .pftile-mat{aspect-ratio:16/10;padding:1.6rem}
.pftile-tile.is-featured .pftile-tile-text strong{font-size:clamp(1.1rem,1.6vw,1.4rem)}
@media(max-width:1180px){
  .pftile-inner{grid-template-columns:1fr;gap:3rem}
  .pftile-grid{grid-template-columns:repeat(3,1fr)}
  .pftile-featured{max-width:560px}
}
@media(max-width:860px){
  #portfolio.pftile{padding:5.5rem 2rem 5rem}
  .pftile-grid{grid-template-columns:repeat(2,1fr);gap:1.1rem}
  .pftile-tile-text strong{font-size:.9rem}
}
@media(max-width:640px){
  #portfolio.pftile{padding:4.5rem 1.3rem 4rem}
  .pftile-inner{gap:2.4rem}
  .pftile-head{padding-inline-start:1.1rem}
  .pftile-tile{padding:.8rem .8rem 1rem;border-radius:15px}
  .pftile-mat{padding:.85rem}
  .pftile-tile.is-featured{padding:1rem}
}

/* HOMEPAGE LEAD RAIL — the page's conversion point, sitting directly under the
   hero: name + phone + an optional email, posted to /api/messages by the shared
   lead-form script, with WhatsApp offered as the one-tap alternative beside the
   submit button. Follows the site's dark/gold palette; the cream catalogue band
   further down keeps its own scoped colours. */
.lead-rail{background:linear-gradient(180deg,rgba(212,175,55,.07),rgba(212,175,55,0) 70%),var(--bg-dark);border-top:1px solid var(--card-border);border-bottom:1px solid var(--card-border);padding:4.5rem 4rem}
.lead-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1.35fr;gap:3.5rem;align-items:center}
.lead-eyebrow{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.22em;color:var(--gold);text-transform:uppercase}
.lead-title{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:clamp(1.7rem,2.8vw,2.4rem);font-weight:800;color:var(--text-light);line-height:1.2;letter-spacing:-.01em;margin-top:.7rem}
.lead-sub{color:var(--text-muted);font-size:.98rem;line-height:1.8;font-weight:300;margin-top:.9rem;max-width:38ch}
.lead-form{position:relative;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--live-radius,24px);padding:2rem 2.2rem}
.lead-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.lead-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}
.lead-field label{font-size:.72rem;font-weight:700;letter-spacing:.08em;color:var(--text-muted);text-transform:uppercase}
.lead-field input{width:100%;padding:.95rem 1.1rem;border-radius:14px;border:1px solid rgba(212,175,55,.22);background:rgba(255,255,255,.03);color:var(--text-light);font-family:inherit;font-size:.98rem;outline:none;transition:border-color .3s,background .3s}
.lead-field input:focus{border-color:var(--gold);background:rgba(212,175,55,.06)}
.lead-field input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.lead-actions{display:flex;flex-wrap:wrap;gap:.8rem;align-items:stretch;margin-top:1.4rem}
.lead-actions .submit-btn{flex:1 1 220px;margin-top:0}
.lead-note{color:var(--text-muted);font-size:.78rem;line-height:1.7;margin-top:1rem}
.lead-success{text-align:center;padding:2.5rem}
.lead-success-mark{font-size:3rem;color:var(--gold);line-height:1}
.lead-success h3{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-weight:800;font-size:1.6rem;color:var(--text-light);margin-top:.8rem}
.lead-success p{color:var(--text-muted);font-size:.98rem;margin-top:.5rem}
@media(max-width:980px){
  .lead-rail{padding:3.5rem 2rem}
  .lead-inner{grid-template-columns:1fr;gap:2.2rem}
  .lead-sub{max-width:none}
}
@media(max-width:760px){
  .lead-rail{padding:3rem 1.5rem}
  .lead-form{padding:1.6rem 1.4rem}
  .lead-fields{grid-template-columns:1fr}
  .lead-actions .submit-btn,.lead-actions .whatsapp-btn{flex:1 1 100%}
}

/* TESTIMONIAL */
.testimonial-section{background:var(--bg-pure);border-top:1px solid rgba(212,175,55,0.05)}
.testimonial{max-width:900px;margin:0 auto;text-align:center;padding:5rem;border:1px solid var(--card-border);background:var(--card-bg);border-radius:32px;position:relative;transition:transform .5s cubic-bezier(.16,1,.3,1),border-color .5s cubic-bezier(.16,1,.3,1);box-shadow:0 30px 60px rgba(0,0,0,0.4)}
.testimonial::before{content:'״';font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:12rem;color:rgba(212,175,55,0.05);position:absolute;top:-1.5rem;left:50%;transform:translateX(-50%);line-height:1;pointer-events:none}
.testimonial:hover{border-color:var(--gold);transform:translateY(-5px)}
.testimonial-text{font-size:clamp(1.3rem,2.5vw,1.75rem);line-height:1.6;color:#fff;font-weight:300;position:relative;z-index:1;transition:opacity .5s}
.testimonial-author{margin-top:3rem;display:flex;align-items:center;justify-content:center;gap:1.2rem}
.testimonial-author img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--gold)}
/* Real client reviews carry no photo — show initials instead of a stock portrait
   (a stranger's face next to a real person's name is worse than no face at all). */
.testimonial-initials{width:56px;height:56px;border-radius:50%;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--gold);font-size:1.05rem;flex-shrink:0}
.testimonial-author strong{display:block;color:#fff;font-size:1rem;font-weight:700}
.testimonial-author span{color:var(--text-muted);font-size:.85rem}
.testimonial-nav{margin-top:2.5rem;display:flex;align-items:center;justify-content:center;gap:1.5rem}
.testimonial-btn{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,0.05);background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s}
.testimonial-btn:hover{border-color:var(--gold);color:#fff;background:rgba(212,175,55,0.05)}
.testimonial-dots{display:flex;gap:.6rem}
.testimonial-dot{width:8px;height:8px;border-radius:50%;background:#222;cursor:pointer;transition:all .3s;border:none;padding:0}
.testimonial-dot.active{width:30px;border-radius:4px;background:var(--gold-gradient)}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:6rem;align-items:start}
.contact-form{background:var(--card-bg);border:1px solid rgba(255,255,255,0.02);border-radius:var(--live-radius,24px);padding:3.5rem;box-shadow:0 30px 60px rgba(0,0,0,0.3)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
@media(max-width:600px){.form-row{grid-template-columns:1fr}}
.form-group{margin-bottom:1.8rem}
.form-group label{display:block;font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.6rem;font-weight:700}
.form-group input,.form-group textarea,.form-group select{width:100%;background:transparent;border:none;border-bottom:1.5px solid rgba(255,255,255,.08);padding:1rem 0;color:#fff;font-size:.95rem;font-family:inherit;outline:none;transition:border-color .3s;border-radius:0}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-bottom-color:var(--gold)}
.form-group input:focus-visible,.form-group textarea:focus-visible,.form-group select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.form-group input::placeholder,.form-group textarea::placeholder{color:#444}
.form-group textarea{min-height:120px;resize:vertical}
.form-group select{appearance:none;background:transparent}
.form-group select option{background:var(--bg-dark);color:#fff}
.submit-btn{width:100%;padding:1.2rem;background:var(--gold-gradient);color:var(--bg-pure);border:none;border-radius:100px;font-size:1rem;font-weight:800;cursor:pointer;transition:all .3s;margin-top:1.5rem;font-family:inherit}
.submit-btn:hover{transform:translateY(-3px);box-shadow:0 15px 40px rgba(212,175,55,0.25)}
.submit-btn:disabled{opacity:.6}
.form-lead{color:var(--text-muted);font-size:.9rem;margin-bottom:1.6rem;line-height:1.7}
.form-actions{display:flex;gap:1rem;align-items:stretch;flex-wrap:wrap;margin-top:1.5rem}
.form-actions .submit-btn{flex:1 1 220px;margin-top:0}
.whatsapp-btn{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:.6rem;padding:1.2rem 1.7rem;border-radius:100px;background:#25D366;color:#062b12;font-weight:800;font-size:1rem;text-decoration:none;transition:transform .3s,box-shadow .3s}
.whatsapp-btn:hover{transform:translateY(-3px);box-shadow:0 15px 40px rgba(37,211,102,.28)}
.whatsapp-btn svg{width:20px;height:20px;flex:0 0 auto}

/* FOOTER */
footer{background:var(--bg-pure);border-top:1px solid rgba(212,175,55,0.08);padding:5rem 4rem 3rem;position:relative;z-index:2}
.footer-inner{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:3rem}
.footer-logo{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:2rem;color:#fff;font-weight:700}
.footer-logo em{color:var(--gold);font-style:normal}
.footer-text{font-size:.9rem;color:var(--text-muted);margin-top:.8rem}
.footer-links{display:flex;gap:2.5rem}
.footer-links a{font-size:.85rem;color:var(--text-muted);transition:color .3s}
.footer-links a:hover{color:var(--gold)}

/* STICKY DIAL CTA */
/* UNIFIED CONTACT HUB — replaces the old separate dial + WhatsApp buttons
   with one floating button that opens a small panel of real, working
   quick-actions (WhatsApp/call/email/SMS) plus the social links. */
.contact-hub-toggle{position:fixed;bottom:2.5rem;right:2.5rem;z-index:950;width:60px;height:60px;border-radius:50%;background:var(--gold-gradient);color:var(--bg-pure);display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;box-shadow:0 10px 30px rgba(212,175,55,0.35);transition:transform .3s cubic-bezier(0.16,1,0.3,1)}
.contact-hub-toggle:hover{transform:scale(1.08)}
.contact-hub-toggle:focus-visible{outline:3px solid #fff;outline-offset:3px}
.contact-hub-toggle svg{width:26px;height:26px}
.contact-hub-panel{position:fixed;bottom:8.4rem;right:2.5rem;z-index:950;width:300px;max-width:calc(100vw - 2rem);background:#0c0c0e;border:1px solid var(--card-border);border-radius:22px;padding:1.5rem;box-shadow:0 25px 60px rgba(0,0,0,.65)}
.contact-hub-panel[hidden]{display:none}
.contact-hub-panel h2{font-family:var(--live-heading-font,'Rubik'),sans-serif;font-size:1.05rem;color:#fff;margin-bottom:1.1rem}
.contact-hub-close{position:absolute;top:.9rem;left:.9rem;background:transparent;border:none;color:var(--text-muted);font-size:1.2rem;cursor:pointer;line-height:1;padding:.3rem}
.contact-hub-close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.contact-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:1.2rem}
.contact-hub-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem .5rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);transition:transform .25s,border-color .25s}
.contact-hub-item:hover{transform:translateY(-3px);border-color:var(--gold)}
.contact-hub-item:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.contact-hub-item svg{width:24px;height:24px}
.contact-hub-item span{font-size:.78rem;color:var(--text-light);font-weight:600}
.contact-hub-item.whatsapp svg{color:#25D366}
.contact-hub-item.phone svg{color:var(--gold)}
.contact-hub-item.email svg{color:#8ab4f8}
.contact-hub-item.sms svg{color:#b98af0}
.contact-hub-social{display:flex;justify-content:center;gap:.8rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.07)}
.contact-hub-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;color:var(--text-muted);transition:all .25s}
.contact-hub-social a:hover{color:#fff;background:var(--gold-dark);border-color:var(--gold);transform:translateY(-3px)}
.contact-hub-social svg{width:17px;height:17px;fill:currentColor}
@media(max-width:600px){
  .contact-hub-toggle{bottom:1.5rem;right:1.5rem;width:54px;height:54px}
  .contact-hub-panel{bottom:7.2rem;right:1rem;left:1rem;width:auto}
}

/* CALL TO ACTION SECTION */
.cta-section{padding:12rem 4rem;text-align:center;position:relative;overflow:hidden;background:var(--bg-dark)}
.cta-section::before{content:'';position:absolute;width:1200px;height:1200px;border-radius:50%;background:radial-gradient(circle,rgba(212,175,55,0.06) 0%,transparent 70%);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}
.cta-actions{margin-top:3.5rem;display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap}

@media(max-width:1024px){
  section{padding:6rem 2rem}
  nav{padding:1.5rem 2rem}
  nav.scrolled{padding:1rem 2rem}
  .hero{padding:8rem 2rem 4rem}
  .hero-inner{grid-template-columns:1fr;gap:4rem;text-align:center}
  .hero-title{margin:0 auto}
  .hero-desc{margin:2rem auto 0}
  .hero-badge{margin:0 auto 2rem}
  .hero-cta{justify-content:center}
  .hero-visual{height:450px}
  .hero-card{width:340px;height:425px}
  .about-grid{grid-template-columns:1fr;gap:2.5rem}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .port-grid{grid-template-columns:repeat(2,1fr)}
  .stats-section{padding:6rem 2rem}
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr;gap:4rem}
  .contact-form{padding:2.5rem}
  .cta-section{padding:6rem 2rem}
  .testimonial{padding:3.5rem 2rem}
  footer{padding:4rem 2rem 2rem}
}

@media(max-width:768px){
  section{padding:5rem 1.5rem}
  .services-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .port-grid{grid-template-columns:1fr}
  nav .nav-center{display:none} /* Collapses main navigation for simpler mobile experience */
  nav .nav-left{display:none}
  .nav-logo{margin: 0 auto}
  .stats-section{padding:5rem 1.5rem}
  .cta-section{padding:5rem 1.5rem}
  .testimonial{padding:2.5rem 1.5rem}
  .contact-form{padding:2rem 1.5rem}
}

@media(max-width:480px){
  .hero-visual{height:340px}
  .hero-card{width:min(280px,78vw);height:350px}
  .stats-inner{grid-template-columns:1fr;gap:2rem}
  .footer-links{flex-wrap:wrap;justify-content:center}
  .testimonial::before{font-size:7rem}
}

