/* ===================================================================
   Flauratek — Design tokens
   =================================================================== */
:root{
  --navy-950:#070d21;
  --navy-900:#0b1739;
  --navy-800:#122055;
  --navy-700:#1a2c6b;
  --gold:#d4af37;
  --gold-light:#f0d97b;
  --ink:#0f1524;
  --ink-soft:#4a5170;
  --paper:#ffffff;
  --paper-soft:#f6f7fb;
  --line:#e7e9f2;
  --whatsapp:#25d366;

  --font-head:'Plus Jakarta Sans', sans-serif;
  --font-body:'Inter', sans-serif;

  --radius:16px;
  --shadow-sm:0 2px 10px rgba(11,23,57,.06);
  --shadow-md:0 12px 32px rgba(11,23,57,.12);
  --shadow-gold:0 10px 26px rgba(212,175,55,.35);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{overflow-x:clip;width:100%;}
body.lightbox-open{overflow:hidden;}
body.lightbox-open .fab-stack{display:none;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{font-family:var(--font-head);margin:0 0 .5em;line-height:1.15;color:var(--navy-900);}
p{margin:0 0 1em;color:var(--ink-soft);line-height:1.7;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.accent{color:var(--gold);}

.eyebrow{
  display:inline-block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:.75em;
}

.section-sub{max-width:560px;}
.section-head{margin-bottom:44px;}
.section-head.light h2,.section-head.light p{color:#fff;}
.section-head.light .section-sub{color:#c6cbe0;}

/* Reveal-on-scroll */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease, transform .7s ease;}
.reveal.in-view{opacity:1;transform:translateY(0);}

/* ===================================================================
   Buttons
   =================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  padding:12px 22px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-lg{padding:15px 30px;font-size:1rem;}
.btn-block{width:100%;justify-content:center;}

.btn-primary{
  background:linear-gradient(135deg,var(--whatsapp),#1fb855);
  color:#fff;
  box-shadow:0 10px 24px rgba(37,211,102,.32);
}
.btn-primary:hover{box-shadow:0 14px 30px rgba(37,211,102,.42);}

.btn-outline{
  background:transparent;
  color:var(--navy-900);
  border-color:var(--navy-900);
}
.btn-outline:hover{background:var(--navy-900);color:#fff;}

.btn-ghost{
  color:var(--navy-900);
  padding:10px 6px;
}
.btn-ghost:hover{color:var(--gold);}

/* ===================================================================
   Header
   =================================================================== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled{
  box-shadow:var(--shadow-sm);
  border-color:var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 24px;
}
.brand{display:flex;align-items:center;gap:12px;}
.brand-mark{
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  background:var(--navy-900);
  color:var(--gold);
  font-family:'Georgia',serif;
  font-size:1.3rem;
  border-radius:10px;
  flex-shrink:0;
}
.brand-text{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.15rem;
  color:var(--navy-900);
  line-height:1.1;
  display:flex;
  flex-direction:column;
}
.brand-text small{
  font-family:var(--font-body);
  font-weight:600;
  font-size:.55rem;
  letter-spacing:.12em;
  color:var(--ink-soft);
}

.nav{display:flex;align-items:center;gap:30px;}
.nav-link{
  font-family:var(--font-head);
  font-weight:600;
  font-size:.92rem;
  color:var(--navy-900);
  position:relative;
  padding:4px 0;
}
.nav-link::after{
  content:'';
  position:absolute;left:0;bottom:-2px;
  width:0;height:2px;background:var(--gold);
  transition:width .25s ease;
}
.nav-link:hover::after{width:100%;}

.header-actions{display:flex;align-items:center;gap:18px;}
.header-only{font-size:.9rem;}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;border:none;cursor:pointer;padding:8px;
}
.nav-toggle span{width:24px;height:2px;background:var(--navy-900);border-radius:2px;transition:.25s;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ===================================================================
   Hero
   =================================================================== */
.hero{
  position:relative;
  overflow:hidden;
  background:radial-gradient(1100px 600px at 85% -10%, rgba(212,175,55,.16), transparent 60%),
             linear-gradient(180deg,var(--navy-950),var(--navy-900) 60%, var(--navy-800));
  padding:96px 0 110px;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero-copy .eyebrow{color:var(--gold-light);}
.hero h1{
  color:#fff;
  font-size:clamp(2.1rem, 4vw, 3.2rem);
  font-weight:800;
  margin-bottom:.5em;
}
.hero-sub{color:#c6cbe0;font-size:1.05rem;max-width:520px;}
.hero-cta{display:flex;flex-wrap:wrap;gap:16px;margin:28px 0 26px;}
.hero .btn-outline{color:#fff;border-color:rgba(255,255,255,.5);}
.hero .btn-outline:hover{background:#fff;color:var(--navy-900);}

.hero-tags{display:flex;flex-wrap:wrap;gap:12px;}
.hero-tags li{
  font-size:.82rem;
  font-weight:600;
  color:#e7e9f7;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  padding:7px 14px;
  border-radius:999px;
}

.hero-art{position:relative;height:420px;}
.glow-blob{
  position:absolute;inset:0;
  margin:auto;
  width:280px;height:280px;
  background:radial-gradient(circle,rgba(212,175,55,.35),transparent 70%);
  filter:blur(10px);
}
.orbit-card{
  position:absolute;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  width:120px;
  padding:18px 10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  backdrop-filter:blur(6px);
  color:var(--gold-light);
  font-family:var(--font-head);
  font-weight:600;
  font-size:.8rem;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
  animation:float 6s ease-in-out infinite;
}
.orbit-card span{color:#f2f4ff;}
.card-1{top:6%;left:12%;animation-delay:0s;}
.card-2{top:2%;right:6%;animation-delay:1.1s;}
.card-3{top:42%;right:22%;animation-delay:.4s;}
.card-4{bottom:10%;left:4%;animation-delay:1.6s;}
.card-5{bottom:2%;right:2%;animation-delay:.8s;}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-14px);}
}

/* ===================================================================
   About
   =================================================================== */
.about{padding:100px 0;background:var(--paper);}
.about-inner{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:64px;
  align-items:center;
}
.about-frame{
  aspect-ratio:1/1;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(160deg,var(--navy-800),var(--navy-950));
  box-shadow:var(--shadow-md);
}
.about-copy h2{font-size:clamp(1.6rem,3vw,2.2rem);}
.feature-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;}
.feature-chips span{
  font-size:.82rem;font-weight:600;
  color:var(--navy-900);
  background:var(--paper-soft);
  border:1px solid var(--line);
  padding:8px 16px;
  border-radius:999px;
}

/* ===================================================================
   Products
   =================================================================== */
.products{padding:100px 0;background:var(--paper-soft);}
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 26px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.product-icon{
  width:54px;height:54px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg,var(--navy-900),var(--navy-700));
  color:var(--gold);
  margin-bottom:18px;
}
.product-card h3{font-size:1.15rem;margin-bottom:.4em;}
.product-card p{font-size:.92rem;margin-bottom:1.2em;}
.card-link{
  font-family:var(--font-head);
  font-weight:700;
  font-size:.85rem;
  color:var(--navy-900);
  border-bottom:2px solid var(--gold);
  padding-bottom:2px;
}
.card-link:hover{color:var(--gold);}

/* ===================================================================
   Gallery
   =================================================================== */
.gallery{padding:100px 0;background:var(--paper-soft);}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:190px;
  gap:16px;
}
.gallery-item{
  position:relative;
  display:block;
  width:100%;height:100%;
  padding:0;margin:0;
  border:none;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.gallery-item.span-2{grid-column:span 2;}
.gallery-item.span-2-rows{grid-row:span 2;}
.gallery-item img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.gallery-item:hover img{transform:scale(1.08);}
.gallery-overlay{
  position:absolute;inset:0;
  display:flex;
  align-items:flex-end;
  padding:16px;
  opacity:0;
  background:linear-gradient(180deg,rgba(7,13,33,0) 45%,rgba(7,13,33,.88) 100%);
  transition:opacity .3s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay{opacity:1;}
.gallery-label{
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:.9rem;
  text-align:left;
}
.gallery-zoom{
  position:absolute;
  top:14px;right:14px;
  width:34px;height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
  line-height:1;
  backdrop-filter:blur(4px);
}

/* ===================================================================
   Lightbox
   =================================================================== */
.lightbox{
  position:fixed;inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 80px;
  background:rgba(4,8,20,.94);
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease;
}
.lightbox.is-open{opacity:1;visibility:visible;}
.lightbox-figure{
  margin:0;
  max-width:min(90vw,1000px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.lightbox-img{
  max-width:100%;
  max-height:74vh;
  border-radius:12px;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  object-fit:contain;
  background:var(--navy-900);
}
.lightbox-caption{
  color:#fff;
  font-family:var(--font-head);
  font-weight:600;
  font-size:1rem;
}
.lightbox-close{
  position:absolute;
  top:22px;right:26px;
  width:44px;height:44px;
  background:none;
  border:none;
  color:#fff;
  font-size:2.2rem;
  line-height:1;
  cursor:pointer;
}
.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;height:52px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  font-size:2rem;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background .2s ease;
}
.lightbox-nav:hover{background:rgba(255,255,255,.2);}
.lightbox-prev{left:20px;}
.lightbox-next{right:20px;}

/* ===================================================================
   Why Us
   =================================================================== */
.why-us{
  padding:100px 0;
  background:linear-gradient(180deg,var(--navy-900),var(--navy-950));
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.why-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);
  padding:28px 24px;
}
.why-icon{
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:rgba(212,175,55,.15);
  color:var(--gold);
  margin-bottom:16px;
}
.why-card h3{color:#fff;font-size:1.05rem;}
.why-card p{color:#b9bfd9;font-size:.9rem;margin-bottom:0;}

/* ===================================================================
   Contact
   =================================================================== */
.contact{padding:100px 0;background:var(--paper);}
.contact-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:start;
}
.info-list{margin:28px 0;display:flex;flex-direction:column;gap:20px;}
.info-list li{display:flex;gap:14px;align-items:flex-start;}
.info-icon{
  width:40px;height:40px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:var(--paper-soft);
  color:var(--navy-900);
}
.info-list strong{display:block;font-family:var(--font-head);font-size:.85rem;color:var(--navy-900);margin-bottom:2px;}
.info-list a,.info-list span{font-size:.94rem;color:var(--ink-soft);}
.info-list a:hover{color:var(--gold);}

.map-frame{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}

.contact-form-wrap{
  background:var(--paper-soft);
  border:1px solid var(--line);
  border-radius:20px;
  padding:36px;
}
.form-row{margin-bottom:18px;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
label{
  display:block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.82rem;
  color:var(--navy-900);
  margin-bottom:6px;
}
input,select,textarea{
  width:100%;
  font-family:var(--font-body);
  font-size:.95rem;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  transition:border-color .2s ease, box-shadow .2s ease;
}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,.18);
}
textarea{resize:vertical;}
.form-note{font-size:.82rem;text-align:center;margin:14px 0 0;color:var(--ink-soft);}
.form-note.success{color:#1f9d55;font-weight:600;}
.form-note.error{color:#d13c3c;font-weight:600;}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer{background:var(--navy-950);color:#c6cbe0;}
.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding:64px 24px 40px;
}
.footer-brand .brand-mark{background:var(--gold);color:var(--navy-950);}
.footer-brand .brand-text{color:#fff;}
.footer-brand .brand-text small{color:#8b93b8;}
.footer-brand p{color:#9aa1c2;font-size:.9rem;margin-top:14px;max-width:320px;}
.footer-col h4{color:#fff;font-size:.95rem;margin-bottom:16px;}
.footer-col{display:flex;flex-direction:column;gap:10px;}
.footer-col a,.footer-col span{color:#9aa1c2;font-size:.9rem;}
.footer-col a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:20px 24px;}
.footer-bottom .container{
  font-size:.82rem;
  color:#7c83a6;
  text-align:center;
}

/* ===================================================================
   Floating Action Buttons
   =================================================================== */
.fab-stack{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:200;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.fab{
  width:56px;height:56px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  transition:transform .2s ease, box-shadow .2s ease;
}
.fab:hover{transform:translateY(-4px) scale(1.05);}
.fab-stack{transition:opacity .25s ease, transform .25s ease, visibility .25s ease;}
.fab-whatsapp{background:var(--whatsapp);box-shadow:0 10px 24px rgba(37,211,102,.45);}
.fab-call{
  background:var(--navy-900);
  width:48px;height:48px;
  align-self:flex-end;
  box-shadow:0 10px 24px rgba(11,23,57,.35);
}
.fab-call svg{width:22px;height:22px;}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width:1024px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-art{height:320px;order:-1;}
  .about-inner{grid-template-columns:1fr;}
  .about-art{max-width:320px;margin:0 auto;}
  .product-grid,.why-grid{grid-template-columns:repeat(2,1fr);}
  .contact-inner{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(3,1fr);grid-auto-rows:160px;}
}

@media (max-width:840px){
  .nav,.header-actions{display:none;}
  .nav-toggle{display:flex;}
  .nav.nav-open{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:72px;left:0;right:0;
    height:calc(100vh - 72px);
    height:calc(100dvh - 72px);
    background:#fff;
    padding:20px 24px 26px;
    box-shadow:var(--shadow-md);
    gap:4px;
    overflow-y:auto;
    z-index:150;
  }
  .nav.nav-open .nav-link{padding:14px 4px;border-bottom:1px solid var(--line);}
  body.nav-open-body .fab-stack{display:none;}
}

@media (max-width:640px){
  .container{padding:0 18px;}
  .header-inner{padding:12px 18px;}
  .brand-text{font-size:1rem;}
  .product-grid,.why-grid{grid-template-columns:1fr;}
  .form-row-2{grid-template-columns:1fr;}

  /* Justify body copy on mobile so both edges line up evenly */
  p{
    text-align:justify;
    text-align-last:left;
    -webkit-hyphens:auto;
    hyphens:auto;
  }
  .eyebrow{text-align:left;}
  .contact-form-wrap{padding:26px;}
  .footer-inner{grid-template-columns:1fr;padding:48px 20px 30px;}
  .fab-stack{right:14px;bottom:14px;gap:10px;}
  .fab-whatsapp{width:46px;height:46px;}
  .fab-whatsapp svg{width:22px;height:22px;}
  .fab-call{width:38px;height:38px;}
  .fab-call svg{width:18px;height:18px;}
  .footer-bottom{padding:20px 24px 76px;}
  .fab-stack.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);}

  /* Static grid instead of absolute-positioned floating cards to avoid
     any risk of horizontal overflow on narrow viewports */
  .hero-art{
    height:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    padding:6px 0 28px;
  }
  .glow-blob{display:none;}
  .orbit-card{
    position:static;
    width:auto;
    padding:16px 6px;
    animation:none;
    font-size:.72rem;
  }

  .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:140px;gap:10px;}
  .gallery-item.span-2{grid-column:span 2;}
  .gallery-label{font-size:.78rem;}
  .lightbox{padding:70px 16px 24px;}
  .lightbox-nav{width:42px;height:42px;font-size:1.6rem;}
  .lightbox-prev{left:6px;}
  .lightbox-next{right:6px;}
  .lightbox-close{top:14px;right:14px;}
}
