/* =============================================
   SBV AND SONS – style.css  (v2 – Animated)
   Colors:
     Primary  : #0F2A44
     Accent   : #F97316
     BG       : #F5F7FA
     Text     : #1E293B
     White    : #FFFFFF
   Fonts: Sora (display) + Nunito (body)
============================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #0F2A44;
  --accent:  #F97316;
  --bg:      #F5F7FA;
  --text:    #1E293B;
  --white:   #FFFFFF;
  --shadow:  rgba(15,42,68,0.14);
  --transition: 0.32s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; color: var(--primary); line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.08s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(249,115,22,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.hovered { width: 56px; height: 56px; border-color: var(--accent); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 7px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #ea650a; border-color: #ea650a; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(249,115,22,0.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.btn-outline:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.btn-full { width: 100%; text-align: center; }

/* Ripple */
.ripple-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 14px; }
.section-sub { color: #475569; max-width: 580px; margin: 0 auto; }
.section-header.light h2 { color: #fff; }
.section-header.light .section-sub { color: rgba(255,255,255,0.8); }
.section-header.light .section-label { color: #fdba74; }

/* ============================================================
   TOP BAR
============================================================ */
.topbar { background: var(--primary); color: #cbd5e1; font-size: 0.8rem; padding: 8px 0; }
.topbar a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.partner-badge {
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fdba74;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  animation: pulseBadge 3s ease-in-out infinite;
}
@keyframes pulseBadge { 0%,100% { box-shadow:none; } 50% { box-shadow: 0 0 10px rgba(249,115,22,0.4); } }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(15,42,68,0.1);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; display: flex; flex-direction: column; line-height: 1.2; }
.logo-sbv { color: var(--accent); }
.logo-rest { color: var(--primary); }
.logo-gst { font-size: 0.65rem; font-weight: 400; color: #64748b; margin-top: 2px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.28s ease, left 0.28s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; left: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ============================================================
   HERO — BACKGROUND SLIDER
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider */
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide.leaving { opacity: 0; transform: scale(0.96); }

/* Overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,42,68,0.88) 0%, rgba(15,42,68,0.6) 100%);
  z-index: 1;
}

/* Floating particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(249,115,22,0.18);
  animation: floatParticle linear infinite;
}
.p1 { width:60px;height:60px; left:10%; top:20%; animation-duration:12s; animation-delay:0s; }
.p2 { width:30px;height:30px; left:80%; top:60%; animation-duration:9s; animation-delay:2s; }
.p3 { width:90px;height:90px; left:50%; top:80%; animation-duration:15s; animation-delay:4s; }
.p4 { width:20px;height:20px; left:25%; top:70%; animation-duration:8s; animation-delay:1s; }
.p5 { width:50px;height:50px; left:70%; top:15%; animation-duration:11s; animation-delay:3s; }
.p6 { width:15px;height:15px; left:40%; top:30%; animation-duration:7s; animation-delay:0.5s; }
@keyframes floatParticle {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50%  { opacity: 0.2; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  padding-top: 80px; padding-bottom: 140px;
}
.hero-badge-row {
  display: flex; align-items: center; gap: 10px;
  color: #fdba74;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.pulse-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem,5.5vw,4rem);
  font-weight: 800;
  margin-bottom: 16px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title span { color: var(--accent); }

/* Typewriter text */
.hero-typed { color: #fff; }
.typed-cursor {
  color: var(--accent);
  animation: blink 0.8s step-end infinite;
  font-weight: 400;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 36px;
  font-style: italic;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }

/* Mini stats inside hero */
.hero-mini-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 16px 28px;
  width: fit-content;
  opacity: 0; animation: fadeUp 0.8s 1.1s forwards;
}
.mini-stat { text-align: center; padding: 0 20px; }
.mini-stat strong { display: block; font-family:'Sora',sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.mini-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.mini-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* Slider controls */
.slider-arrow {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.28s;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 10px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.slider-dot.active { width: 30px; background: var(--accent); }

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 3;
}
.slider-progress-bar { height: 100%; background: var(--accent); width: 0; transition: width linear; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 3;
}
.hero-scroll-hint span {
  display: block; width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px; position: relative;
}
.hero-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { top:6px;opacity:1; } 100% { top:22px;opacity:0; } }

/* ============================================================
   ABOUT
============================================================ */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: visible;
}
.about-image-wrap > img {
  height: 480px;
  border-radius: 14px;
  box-shadow: 0 24px 60px var(--shadow);
  transition: transform 0.5s, box-shadow 0.5s;
}
.about-image-wrap:hover > img { transform: scale(1.02); box-shadow: 0 32px 80px rgba(15,42,68,0.22); }

/* Floating secondary image */
.about-img-float {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 200px; height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 36px rgba(15,42,68,0.2);
  animation: floatImg 4s ease-in-out infinite;
}
.about-img-float img { height: 100%; }
@keyframes floatImg { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

.about-badge {
  position: absolute;
  top: 28px; left: -24px;
  background: var(--accent);
  color: #fff;
  padding: 18px 22px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(249,115,22,0.4);
  animation: bounceBadge 3s ease-in-out infinite;
}
.about-badge strong { display: block; font-family:'Sora',sans-serif; font-size: 2rem; font-weight: 800; }
.about-badge span { font-size: 0.78rem; opacity: 0.9; }
@keyframes bounceBadge { 0%,100%{transform:rotate(-3deg) translateY(0);} 50%{transform:rotate(-3deg) translateY(-8px);} }

.about-text .section-label { display: block; margin-bottom: 10px; }
.about-text h2 { font-size: clamp(1.6rem,2.5vw,2rem); margin-bottom: 18px; }
.about-text p { color: #475569; margin-bottom: 16px; }

.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s;
  cursor: default;
}
.about-feat:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px var(--shadow);
  background: #fff;
}
.feat-icon { font-size: 1.8rem; flex-shrink: 0; transition: transform 0.3s; }
.about-feat:hover .feat-icon { transform: scale(1.2) rotate(-5deg); }
.about-feat strong { display: block; font-family:'Sora',sans-serif; font-weight: 700; margin-bottom: 3px; color: var(--primary); }
.about-feat p { margin: 0; font-size: 0.88rem; color: #64748b; }

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip { background: var(--primary); padding: 40px 0; position: relative; overflow: hidden; }
.stats-strip::before {
  content:'';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(249,115,22,0.07);
  border-radius: 50%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.3s;
}
.stat-item:hover { background: rgba(255,255,255,0.06); }
.stat-item .stat-num {
  font-family:'Sora',sans-serif;
  font-size: 3rem; font-weight: 800;
  color: var(--accent);
  display: inline-block;
  transition: transform 0.3s;
}
.stat-item:hover .stat-num { transform: scale(1.1); }
.stat-suffix { font-family:'Sora',sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-item p { margin-top: 4px; color: #94a3b8; font-size: 0.88rem; }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 28px;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
  box-shadow: 0 2px 14px var(--shadow);
  overflow: hidden;
  cursor: default;
}
/* Shine sweep on hover */
.service-card-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transition: left 0.6s;
  pointer-events: none;
}
.service-card:hover .service-card-shine { left: 150%; }

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(15,42,68,0.16);
}
.service-card.featured { background: var(--primary); }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: #94a3b8; }
.service-card.featured:hover { box-shadow: 0 20px 50px rgba(249,115,22,0.25); }

/* Icon wrap with animated ring */
.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all 0.35s;
  position: relative;
}
.service-card.featured .service-icon-wrap { background: rgba(255,255,255,0.1); }
.service-card:hover .service-icon-wrap {
  background: var(--accent);
  transform: rotate(-6deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}
.service-icon { font-size: 1.8rem; }

.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; transition: color 0.2s; }
.service-card:hover h3 { color: var(--accent); }
.service-card.featured:hover h3 { color: #fdba74; }
.service-card p { color: #64748b; font-size: 0.9rem; }
.service-card.featured p { color: #94a3b8; }

/* Arrow that slides in on hover */
.card-arrow {
  position: absolute;
  bottom: 20px; right: 24px;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

.featured-tag {
  position: absolute; top: 18px; right: 18px;
  background: var(--accent); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}

/* ============================================================
   PROJECTS GALLERY
============================================================ */
.projects { background: #fff; }

/* Filter buttons */
.gallery-filters {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 30px;
  border: 2px solid #e2e8f0;
  background: transparent;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item.gallery-item--tall { grid-row: span 2; }
.gallery-item.gallery-item--wide { grid-column: span 2; }

.gallery-item img { height: 100%; transition: transform 0.5s ease; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 16px 40px rgba(15,42,68,0.22); }
.gallery-item:hover img { transform: scale(1.1); }

/* Gallery overlay */
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,42,68,0.95) 0%, rgba(15,42,68,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cat-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: transform 0.35s 0.05s;
}
.gallery-item:hover .gallery-cat-tag { transform: translateY(0); }
.gallery-overlay h4 {
  color: #fff; font-size: 1rem; margin-bottom: 4px;
  transform: translateY(10px); transition: transform 0.35s 0.1s;
}
.gallery-overlay p {
  color: rgba(255,255,255,0.65); font-size: 0.8rem;
  transform: translateY(10px); transition: transform 0.35s 0.15s;
}
.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p { transform: translateY(0); }

/* Filter hide animation */
.gallery-item.hidden { display: none; }
.gallery-item.fade-in { animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity:0; transform: scale(0.95); } to { opacity:1; transform: scale(1); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer;
  transition: all 0.2s;
}
.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 2px 14px var(--shadow);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(15,42,68,0.15); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(249,115,22,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.35s;
}
.why-card:hover .why-icon-wrap {
  background: var(--accent);
  transform: rotate(360deg) scale(1.1);
}
.why-icon { font-size: 2rem; }
.why-card h3 { font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: #64748b; font-size: 0.88rem; }
.why-line { display: none; }

/* ============================================================
   WARRANTY
============================================================ */
.warranty {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 100%);
  position: relative; overflow: hidden;
}
.warranty::before { content:''; position:absolute; top:-80px;right:-80px; width:400px;height:400px; background:rgba(249,115,22,0.05);border-radius:50%; }
.warranty::after  { content:''; position:absolute; bottom:-60px;left:-60px; width:300px;height:300px; background:rgba(255,255,255,0.03);border-radius:50%; }

.warranty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; z-index: 1; }

.warranty-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 44px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s;
  backdrop-filter: blur(8px);
}
.warranty-card.center-card { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.4); transform: translateY(-14px); }
.warranty-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.12); }
.warranty-card.center-card:hover { transform: translateY(-22px); }

.warranty-icon-ring {
  font-size: 3rem; margin-bottom: 18px;
  display: block;
  transition: transform 0.4s;
}
.warranty-card:hover .warranty-icon-ring { transform: scale(1.2) rotate(-10deg); }
.warranty-icon-ring.featured { animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.15);} }

.warranty-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.warranty-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 20px; }
.warranty-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}

/* ============================================================
   CONTACT
============================================================ */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

.contact-form-wrap { background: var(--bg); border-radius: 16px; padding: 44px 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Floating label inputs */
.form-group { margin-bottom: 20px; }
.float-label { position: relative; }
.float-label input,
.float-label textarea {
  width: 100%;
  padding: 20px 16px 8px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.float-label label {
  position: absolute;
  left: 16px; top: 14px;
  font-size: 0.9rem;
  color: #94a3b8;
  pointer-events: none;
  transition: all 0.22s ease;
  background: transparent;
}
.float-label input:focus,
.float-label textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(249,115,22,0.12); }
.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:focus ~ label,
.float-label textarea:not(:placeholder-shown) ~ label {
  top: 5px; font-size: 0.72rem; color: var(--accent); font-weight: 700; letter-spacing: 0.5px;
}
.float-label textarea { resize: vertical; padding-top: 22px; }
.field-error { color: #ef4444; font-size: 0.78rem; display: block; margin-top: 4px; min-height: 16px; }

/* Contact info */
.contact-info { padding-top: 4px; }
.info-block { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.info-icon-box {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(249,115,22,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.info-block:hover .info-icon-box { background: var(--accent); transform: rotate(-8deg) scale(1.1); }
.info-block strong { display: block; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.info-block p { color: #64748b; margin: 0; }
.info-block a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.info-block a:hover { color: var(--accent); }
.map-placeholder { border-radius: 12px; overflow: hidden; border: 2px solid #e2e8f0; margin-top: 10px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--primary); color: #94a3b8; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { font-family:'Sora',sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.footer-logo .logo-sbv { color: var(--accent); }
.footer-logo .logo-rest { color: #fff; }
.footer-tagline { font-style: italic; color: #64748b; margin-bottom: 10px; font-size: 0.9rem; }
.footer-partner { font-size: 0.82rem; color: #64748b; }
.footer-partner strong { color: #fdba74; }
.footer h4 { font-family:'Sora',sans-serif; color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer ul li a { color: #94a3b8; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer ul li a:hover { color: var(--accent); padding-left: 6px; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-col p a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col p a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #475569;
  max-width: 1160px; margin: 0 auto;
}

/* ============================================================
   WHATSAPP FLOATING
============================================================ */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPop 0.5s 2s ease both;
}
@keyframes waPop { from{transform:scale(0);} to{transform:scale(1);} }
.whatsapp-btn:hover { transform: scale(1.12) rotate(-8deg); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
.wa-tooltip {
  position: absolute; right: 68px;
  background: var(--text); color: #fff;
  font-size: 0.78rem; white-space: nowrap;
  padding: 6px 12px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.wa-tooltip::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text); border-right: none;
}
.whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 999;
  background: var(--primary); color: #fff;
  border: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s;
  box-shadow: 0 4px 14px var(--shadow);
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(249,115,22,0.35); }

/* ============================================================
   SUCCESS POPUP with animated checkmark
============================================================ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,42,68,0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(6px);
}
.popup-overlay.show { opacity: 1; pointer-events: auto; }
.popup-box {
  background: #fff; border-radius: 18px;
  padding: 52px 44px;
  text-align: center;
  max-width: 440px; width: 90%;
  box-shadow: 0 28px 70px rgba(15,42,68,0.22);
  transform: scale(0.88);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.popup-overlay.show .popup-box { transform: scale(1); }
.popup-check { margin-bottom: 20px; }
.checkmark-svg { width: 72px; height: 72px; }
.checkmark-circle {
  stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-linecap: round;
}
.popup-overlay.show .checkmark-circle { animation: strokeCircle 0.6s 0.2s ease forwards; }
.checkmark-check {
  stroke: var(--accent); stroke-width: 2.5;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  stroke-linecap: round; stroke-linejoin: round;
}
.popup-overlay.show .checkmark-check { animation: strokeCheck 0.4s 0.8s ease forwards; }
@keyframes strokeCircle { to { stroke-dashoffset: 0; } }
@keyframes strokeCheck  { to { stroke-dashoffset: 0; } }
.popup-box h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary); }
.popup-box p { color: #64748b; margin-bottom: 26px; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }

/* ============================================================
   GLOBAL KEYFRAMES
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap > img { height: 380px; }
  .about-img-float { right: 0; bottom: -20px; width: 160px; height: 120px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: auto; }
  .warranty-grid { grid-template-columns: 1fr; }
  .warranty-card.center-card { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: 68px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 0 32px; gap: 18px;
    box-shadow: 0 12px 30px rgba(15,42,68,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 999;
  }
  .nav-links.open { max-height: 400px; padding: 24px 32px; }
  .hero-title { font-size: clamp(1.8rem,6vw,2.8rem); }
  .hero-btns { flex-direction: column; }
  .hero-mini-stats { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .mini-stat-sep { display: none; }
  .about-badge { left: 0; top: auto; bottom: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .map-placeholder iframe { width: 100% !important; height: 180px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-mini-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}
