/* ============================================================
   WIDA — Witty Inventions Digital Agency
   Design tokens derived from brand logo (navy cube face / red cube face)
   Fonts: Sora (display) + Inter (body)
============================================================ */

:root{
  /* -- Brand palette, sampled from logo -- */
  --navy: #0D3868;
  --navy-600: #0A2E58;
  --navy-700: #082548;
  --navy-900: #061A34;
  --red: #9E0B0F;
  --red-600: #85090D;
  --red-700: #6C070A;
  --ink: #0B0C0E;
  --paper: #F6F7FA;
  --paper-dim: #EEF1F6;
  --white: #FFFFFF;
  --gray-600: #5B6472;
  --gray-500: #7A8494;
  --gray-300: #D6DBE3;
  --gray-100: #EEF1F5;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(6, 26, 52, 0.06);
  --shadow-md: 0 12px 30px rgba(6, 26, 52, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 26, 52, 0.18);
  --shadow-red: 0 14px 30px rgba(158, 11, 15, 0.28);

  --container-max: 1200px;
  --nav-height: 84px;
}

/* ---------------------------- Reset ---------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color: inherit; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; }
:focus-visible{ outline: 3px solid var(--red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

h1,h2,h3,h4,h5{
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.4vw, 3.85rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 700; }
h3{ font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; }
p{ margin: 0 0 1em; color: var(--gray-600); }
.lead{ font-size: 1.15rem; color: var(--gray-600); }

.container{ max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section{ padding: 108px 0; position: relative; }
.section-sm{ padding: 64px 0; }
@media (max-width: 768px){
  .section{ padding: 76px 0; }
  .section-sm{ padding: 48px 0; }
}

.bg-paper{ background: var(--paper); }
.bg-navy{ background: var(--navy-900); color: rgba(255,255,255,.86); }
.bg-navy h1, .bg-navy h2, .bg-navy h3{ color: var(--white); }
.bg-navy p{ color: rgba(255,255,255,.72); }

/* ---------------------------- Eyebrow / labels ---------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  display:inline-block;
}
.bg-navy .eyebrow{ color:#FF8B8E; }
.bg-navy .eyebrow::before{ background:#FF8B8E; }

.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------------------------- Buttons ---------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-3px); }
.btn-red{ background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn-red:hover{ background: var(--red-600); color:var(--white); }
.btn-navy{ background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.btn-navy:hover{ background: var(--navy-700); color:var(--white); }
.btn-outline{ border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy{ border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size: .85rem; }
.btn svg{ width:18px; height:18px; flex-shrink:0; }

/* ---------------------------- Cube bullet / signature mark ---------------------------- */
.cube-mark{
  position: relative;
  width: 14px; height: 14px;
  flex-shrink:0;
  display:inline-block;
  transform: rotate(45deg);
  border-radius: 3px;
  overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.cube-mark::before, .cube-mark::after{
  content:""; position:absolute; top:0; bottom:0; width:50%;
}
.cube-mark::before{ left:0; background: var(--red); }
.cube-mark::after{ right:0; background: var(--navy); }

.check-list li{
  display:flex; align-items:flex-start; gap:14px;
  margin-bottom: 14px;
  color: var(--gray-600);
}
.check-list .cube-mark{ margin-top: 6px; }

/* ---------------------------- Floating navbar ---------------------------- */
.nav-wrap{
  position: fixed; top: 18px; left: 0; right: 0;
  z-index: 1000;
  display:flex; justify-content:center;
  padding: 0 16px;
  transition: top .3s ease;
}
.navbar{
  width:100%; max-width: 1180px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 34px rgba(6,26,52,.10);
  transition: box-shadow .3s ease, background .3s ease, padding .3s ease;
}
.nav-wrap.scrolled .navbar{
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 40px rgba(6,26,52,.16);
}
.nav-brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; color: var(--navy-900); }
.nav-brand img{ height: 38px; width:auto; }
.nav-brand span{ font-size: 1rem; letter-spacing: -.01em; }
.nav-brand small{ display:block; font-family: var(--font-body); font-weight:500; font-size:.62rem; letter-spacing:.14em; color: var(--red); text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap: 6px; }
.nav-links a{
  font-family: var(--font-display);
  font-size: .87rem; font-weight: 600;
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease;
  position:relative;
}
.nav-links a:hover{ background: rgba(13,56,104,.08); }
.nav-links a.active{ background: var(--navy); color: var(--white); }

.nav-cta{ display:flex; align-items:center; gap: 10px; }
.nav-toggle{
  display:none; width:44px; height:44px; border-radius:50%;
  border: none; background: var(--navy); color:var(--white);
  align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
}
.nav-toggle svg{ width:20px; height:20px; }

@media (max-width: 992px){
  .nav-links{
    position: fixed; top: calc(var(--nav-height) + 22px); left: 16px; right: 16px;
    background: var(--white); border-radius: var(--radius-lg);
    flex-direction: column; align-items: stretch;
    padding: 14px; box-shadow: var(--shadow-lg);
    gap: 4px;
    opacity:0; visibility:hidden; transform: translateY(-14px);
    transition: all .25s ease;
  }
  .nav-links.open{ opacity:1; visibility:visible; transform: translateY(0); }
  .nav-links a{ padding: 14px 16px; }
  .nav-toggle{ display:inline-flex; }
  .nav-cta .btn span.long{ display:none; }
}
@media (min-width: 993px){
  .nav-cta .btn span.short{ display:none; }
}

/* ---------------------------- Hero ---------------------------- */
.hero{
  position: relative;
  padding: calc(var(--nav-height) + 76px) 0 100px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(13,56,104,.9), transparent 60%),
    linear-gradient(180deg, var(--navy-900), #050f1e 120%);
  z-index:-2;
}
.hero-facet{
  position:absolute; top:-10%; right:-8%; width:60%; height:130%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 46%, var(--red) 46%, var(--red-700) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity:.55;
  z-index:-1;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center;
}
@media (max-width: 992px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero-kicker{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 18px 8px 10px;
  border-radius: var(--radius-pill);
  font-size:.78rem; font-weight:600; letter-spacing:.05em;
  color: rgba(255,255,255,.85);
  margin-bottom: 26px;
}
.hero-kicker .dot{ width:8px; height:8px; border-radius:50%; background:#3CE07A; box-shadow: 0 0 0 4px rgba(60,224,122,.18); }

.hero h1{ color: var(--white); margin-bottom: .45em; }
.hero h1 em{ font-style: normal; color: transparent; background: linear-gradient(92deg,#FF8B8E,#FFC98B); -webkit-background-clip:text; background-clip:text; }
.hero p.lead{ color: rgba(255,255,255,.72); max-width: 540px; margin-bottom: 34px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap: 16px; margin-bottom: 46px; }
.hero-stats{ display:flex; flex-wrap:wrap; gap: 34px; }
.hero-stats div strong{ display:block; font-family: var(--font-display); font-size:1.7rem; color:var(--white); }
.hero-stats div span{ font-size:.82rem; color: rgba(255,255,255,.6); }

.hero-panel{
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel-logo{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
}
.hero-panel-logo img{ width: 150px; }
.hero-service-pill{
  display:flex; align-items:center; gap:14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.hero-service-pill:last-child{ margin-bottom:0; }
.hero-service-pill .ic{
  width: 40px; height:40px; border-radius: 10px;
  background: linear-gradient(135deg,var(--red),var(--navy));
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hero-service-pill .ic svg{ width:20px; height:20px; color:var(--white); }
.hero-service-pill strong{ display:block; color: var(--white); font-size:.92rem; font-family: var(--font-display); }
.hero-service-pill span{ font-size:.78rem; color: rgba(255,255,255,.58); }

/* ---------------------------- Marquee / trust strip ---------------------------- */
.trust-strip{ background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 26px 0; }
.trust-strip .container{ display:flex; align-items:center; gap: 34px; flex-wrap:wrap; justify-content:center; }
.trust-strip span{ font-family: var(--font-display); font-weight:600; color: var(--gray-500); font-size: .92rem; letter-spacing:.02em; }

/* ---------------------------- Cards ---------------------------- */
.grid{ display:grid; gap: 28px; }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
@media (max-width: 992px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height:100%;
}
.card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-tile{
  width: 58px; height:58px; border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  margin-bottom: 22px;
  position:relative;
}
.icon-tile::after{
  content:""; position:absolute; width:16px; height:16px; right:-6px; bottom:-6px;
  background: var(--red); border-radius:5px; transform: rotate(15deg);
}
.icon-tile svg{ width:26px; height:26px; color:var(--white); }

.service-card .price{
  display:inline-block; margin-top: 10px; font-family: var(--font-display);
  font-weight:700; color: var(--navy); font-size:.85rem;
  background: var(--paper-dim); padding: 6px 14px; border-radius: var(--radius-pill);
}
.service-card a.more{
  display:inline-flex; align-items:center; gap:8px; margin-top:18px;
  font-family: var(--font-display); font-weight:600; font-size:.88rem; color: var(--red);
}
.service-card a.more svg{ width:16px; height:16px; transition: transform .2s ease; }
.service-card a.more:hover svg{ transform: translateX(4px); }

/* ---------------------------- Numbered process ---------------------------- */
.process-row{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 0;
  position:relative;
}
.process-step{ position:relative; padding: 0 22px 22px 0; }
.process-step .num{
  font-family: var(--font-display); font-weight:700; font-size: 2.1rem;
  color: rgba(13,56,104,.14);
  -webkit-text-stroke: 1px rgba(13,56,104,.35);
  margin-bottom: 10px;
}
.bg-navy .process-step .num{ color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.3); }
.process-step h3{ font-size:1.08rem; margin-bottom:.4em; }
.process-step p{ font-size:.92rem; }

/* ---------------------------- Stat band ---------------------------- */
.stat-band{ display:grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
@media (max-width: 768px){ .stat-band{ grid-template-columns: repeat(2,1fr); } }
.stat-band .stat{ text-align:center; padding: 20px 10px; }
.stat-band .stat strong{ display:block; font-family: var(--font-display); font-size: clamp(1.9rem,3vw,2.6rem); color:var(--white); }
.stat-band .stat span{ font-size:.85rem; color: rgba(255,255,255,.62); letter-spacing:.03em; }

/* ---------------------------- Team ---------------------------- */
.team-card{ text-align:center; }
.team-photo{
  width: 118px; height:118px; margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg,var(--navy),var(--red));
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-family: var(--font-display); font-weight:700; font-size:1.5rem;
  border: 4px solid var(--white); box-shadow: var(--shadow-md);
}
.team-card h3{ margin-bottom: 2px; }
.team-role{ color: var(--red); font-weight:600; font-size:.85rem; margin-bottom: 12px; display:block; }
.team-card p{ font-size:.9rem; }

/* ---------------------------- Testimonials ---------------------------- */
.testi-card{ position:relative; }
.testi-card .quote-mark{ font-family: var(--font-display); font-size: 3rem; color: var(--gray-300); line-height:1; margin-bottom: 6px; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top: 20px; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%;
  overflow: hidden;
  background: linear-gradient(135deg,var(--red),var(--navy));
  color:var(--white); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700;
}
.testi-person strong{ display:block; font-size:.9rem; color: var(--navy-900); }
.testi-person strong a{ color: var(--navy-900); text-decoration: none; }
.testi-person strong a:hover{ color: var(--red); text-decoration: underline; }
.testi-person span{ font-size:.78rem; color: var(--gray-500); }
.stars{ color:#F5A623; letter-spacing:2px; margin-bottom:12px; font-size:.9rem; }

/* ---------------------------- Testimonial slider ---------------------------- */
.testimonial-slider{
  overflow: hidden;
  padding: 6px 2px 18px;
}
.testimonial-track{
  display: flex;
  margin: 0 -12px;
  transition: transform .5s ease;
  will-change: transform;
}
.testi-slide{
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}
.testi-slide .testi-card{ height: 100%; }
@media (min-width: 601px) and (max-width: 900px){
  .testi-slide{ flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 901px){
  .testi-slide{ flex: 0 0 33.3333%; max-width: 33.3333%; }
}
.testimonial-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.testimonial-nav button{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  flex-shrink: 0;
}
.testimonial-nav button:hover{ border-color: var(--navy); color: var(--navy); }
.testimonial-nav button svg{ width: 18px; height: 18px; }
.testimonial-dots{ display: flex; align-items: center; gap: 8px; }
.testimonial-dots button{
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: var(--gray-300);
  transition: width .2s ease, background .2s ease, border-radius .2s ease;
}
.testimonial-dots button.is-active{
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

/* ---------------------------- CTA band ---------------------------- */
.cta-band{
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 60%, var(--red-700) 130%);
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  color: var(--white);
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; width:340px; height:340px; border-radius:50%;
  background: rgba(255,255,255,.06); top:-140px; right:-100px;
}
.cta-band h2{ color:var(--white); margin-bottom:.3em; }
.cta-band p{ color: rgba(255,255,255,.72); margin-bottom:0; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1;}

/* ---------------------------- Accordion / FAQ ---------------------------- */
.faq-item{ border-bottom: 1px solid var(--gray-100); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 22px 4px; cursor:pointer; background:none; border:none; width:100%; text-align:left;
  font-family: var(--font-display); font-weight:600; font-size:1rem; color: var(--navy-900);
}
.faq-q .plus{
  width:30px; height:30px; border-radius:50%; background: var(--paper-dim); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; position:relative; transition: background .2s ease, transform .3s ease;
}
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background: var(--navy); border-radius:2px; }
.faq-q .plus::before{ width:12px; height:2px; }
.faq-q .plus::after{ width:2px; height:12px; transition: transform .25s ease; }
.faq-item.open .plus{ background: var(--red); transform: rotate(180deg); }
.faq-item.open .plus::before, .faq-item.open .plus::after{ background: var(--white); }
.faq-item.open .plus::after{ transform: scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .32s ease; }
.faq-a p{ padding: 0 4px 22px; margin:0; }

/* ---------------------------- Forms ---------------------------- */
.form-control-wrap label{ display:block; font-family: var(--font-display); font-weight:600; font-size:.85rem; color: var(--navy-900); margin-bottom:8px; }
.form-control{
  width:100%; padding: 15px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300); background: var(--white);
  font-family: var(--font-body); font-size:.95rem; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus{ border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,56,104,.1); outline:none; }
textarea.form-control{ resize: vertical; min-height: 140px; }
.form-row{ margin-bottom: 20px; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }

.contact-info-card{
  background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-item{ display:flex; gap:16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .ic{
  width:44px; height:44px; border-radius:12px; background: rgba(255,255,255,.08); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.contact-info-item .ic svg{ width:20px; height:20px; color:#FF8B8E; }
.contact-info-item strong{ display:block; font-family: var(--font-display); font-size:.88rem; margin-bottom:2px; }
.contact-info-item span, .contact-info-item a{ font-size:.87rem; color: rgba(255,255,255,.68); }
.contact-info-item a:hover{ color: var(--white); }

.social-row{ display:flex; gap:10px; margin-top: 26px; }
.social-row a{
  width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition: background .2s ease, transform .2s ease;
}
.social-row a:hover{ background: var(--red); transform: translateY(-3px); }
.social-row a svg{ width:17px; height:17px; color:var(--white); }

.map-wrap{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); line-height:0; }
.map-wrap iframe{ width:100%; height: 360px; border:0; filter: grayscale(.15); }

.alert{ padding: 16px 20px; border-radius: var(--radius-sm); font-size:.9rem; margin-bottom: 20px; }
.alert-success{ background:#E8F8EE; color:#166534; border:1px solid #B8ECC7; }
.alert-danger{ background:#FDEDEE; color:#9E0B0F; border:1px solid #F6C3C5; }
.error-text{ display:block; color:#9E0B0F; font-size:.8rem; margin-top:6px; }

/* ---------------------------- Footer ---------------------------- */
.site-footer{ background: var(--navy-900); color: rgba(255,255,255,.65); padding: 84px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
@media (max-width: 992px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-brand img{ height:40px; }
.footer-brand span{ font-family: var(--font-display); font-weight:700; color:var(--white); font-size:1.05rem; }
.site-footer h4{ color: var(--white); font-family: var(--font-display); font-size:.95rem; letter-spacing:.03em; margin-bottom:20px; }
.site-footer ul li{ margin-bottom: 12px; }
.site-footer ul li a{ font-size:.9rem; transition: color .2s ease, padding-left .2s ease; }
.site-footer ul li a:hover{ color: var(--white); padding-left: 4px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  display:flex; justify-content:space-between; align-items:center; gap: 14px; flex-wrap:wrap;
  font-size: .82rem;
}
.footer-bottom a{ color: rgba(255,255,255,.75); }

/* ---------------------------- Floating WhatsApp + Back-to-top ---------------------------- */
.float-stack{ position: fixed; right: 24px; bottom: 24px; z-index: 1100; display:flex; flex-direction:column; align-items:flex-end; gap:14px; }

.wa-fab{
  position: relative;
  width: 62px; height:62px; border-radius:50%;
  background: #25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 14px 30px rgba(37,211,102,.42);
  transition: transform .25s ease;
}
.wa-fab:hover{ transform: scale(1.07); }
.wa-fab svg{ width:30px; height:30px; }
.wa-fab .ring{
  position:absolute; inset:0; border-radius:50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity:.7; }
  100%{ transform: scale(1.7); opacity:0; }
}
.wa-tooltip{
  position:absolute; right: 74px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--white); font-size:.8rem; font-weight:600;
  padding: 9px 14px; border-radius: 8px; white-space:nowrap;
  opacity:0; visibility:hidden; transition: all .2s ease;
}
.wa-tooltip::after{ content:""; position:absolute; right:-5px; top:50%; transform: translateY(-50%) rotate(45deg); width:10px; height:10px; background: var(--ink); }
.wa-fab:hover .wa-tooltip{ opacity:1; visibility:visible; right:80px; }

.top-fab{
  width: 44px; height:44px; border-radius:50%;
  background: var(--navy); color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .25s ease;
}
.top-fab.show{ opacity:1; visibility:visible; transform: translateY(0); }
.top-fab svg{ width:18px; height:18px; }

@media (max-width:576px){
  .float-stack{ right:16px; bottom:16px; }
  .wa-fab{ width:56px; height:56px; }
  .wa-tooltip{ display:none; }
}

/* ---------------------------- Page hero (inner pages) ---------------------------- */
.page-hero{
  position:relative; overflow:hidden;
  background: var(--navy-900);
  padding: calc(var(--nav-height) + 64px) 0 90px;
  text-align:center;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(900px 500px at 50% -20%, rgba(13,56,104,.85), transparent 60%);
}
.page-hero .facet-strip{
  position:absolute; bottom:0; left:0; right:0; height:8px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--navy) 50% 100%);
}
.breadcrumb{
  position:relative; z-index:1;
  display:flex; gap:8px; justify-content:center; align-items:center;
  font-size:.85rem; color: rgba(255,255,255,.55); margin-bottom: 18px;
}
.breadcrumb a{ color: rgba(255,255,255,.8); }
.page-hero h1{ position:relative; z-index:1; color:var(--white); margin-bottom:.3em; }
.page-hero p{ position:relative; z-index:1; color: rgba(255,255,255,.68); max-width:600px; margin:0 auto; }

/* ---------------------------- Misc utilities ---------------------------- */
.text-red{ color: var(--red); }
.text-navy{ color: var(--navy); }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }
.divider-fade{ height:1px; background: linear-gradient(90deg, transparent, var(--gray-300), transparent); margin: 0; border:0; }

.value-card{ display:flex; gap:18px; align-items:flex-start; }
.value-card .icon-tile{ margin-bottom:0; flex-shrink:0; width:52px; height:52px; }
.value-card .icon-tile svg{ width:22px; height:22px; }

.timeline{ position:relative; padding-left: 34px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background: var(--gray-300); }
.timeline-item{ position:relative; padding-bottom: 34px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-34px; top:2px; width:20px; height:20px; border-radius:50%;
  background: var(--white); border: 3px solid var(--red);
}
.timeline-item h3{ font-size:1.02rem; margin-bottom:.3em; }
