/* =====================================================================
   SWASS Multi-Services — Main Stylesheet
   Modern · Professional · Sleek
   ===================================================================== */

:root {
  --c-primary: #0e3a5c;
  --c-primary-dark: #08253c;
  --c-primary-deep: #061a2b;
  --c-accent: #1fa7e0;
  --c-accent-2: #0f74c2;
  --c-accent-soft: #e6f4fc;
  --c-dark: #0a1b2b;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f9fc;
  --c-text: #1c2b3a;
  --c-muted: #5a6b7c;
  --c-border: #e3edf5;
  --c-white: #ffffff;

  --grad-accent: linear-gradient(135deg, #1fa7e0 0%, #0f74c2 100%);
  --grad-hero: linear-gradient(135deg, #0e3a5c 0%, #061a2b 100%);

  --shadow-sm: 0 2px 8px rgba(8, 37, 60, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 37, 60, 0.09);
  --shadow-lg: 0 24px 60px rgba(8, 37, 60, 0.14);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --sp-section: 88px;
  --sp-section-sm: 56px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------
   Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.18; font-weight: 700; }

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

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
  font-family: var(--font-head);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 10px 24px rgba(31, 167, 224, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 167, 224, 0.42); }
.btn-outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-white:hover { background: var(--c-accent-soft); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { background: #fff; color: var(--c-primary); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------------------------------------------------------------------
   Topbar
   --------------------------------------------------------------------- */
.site-topbar { background: var(--c-primary-deep); color: rgba(255, 255, 255, 0.82); font-size: 13.5px; padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left i { color: var(--c-accent); }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-hours { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-border); transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 2px; color: var(--c-primary); }
.brand-sub { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--c-accent-2); font-weight: 600; }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 8px; position: relative; transition: var(--transition); }
.nav-list > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.nav-list > li > a:hover, .nav-list > li.active > a { color: var(--c-accent-2); }
.nav-list > li.active > a::after, .nav-list > li > a:hover::after { transform: scaleX(1); }
.nav-list > li > a .fa-chevron-down { font-size: 11px; color: var(--c-muted); }
.nav-list .nav-cta > a::after { display: none; }

.dropdown { position: absolute; top: calc(100% + 14px); left: 0; min-width: 260px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition); border: 1px solid var(--c-border); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 9px; font-size: 14.5px; color: var(--c-text); font-weight: 500; transition: var(--transition); }
.dropdown li a:hover { background: var(--c-accent-soft); color: var(--c-accent-2); padding-left: 18px; }
.dropdown li a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }
.dropdown .dropdown-all { border-top: 1px solid var(--c-border); margin-top: 6px; padding-top: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--c-primary); border-radius: 3px; transition: var(--transition); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--grad-hero); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; z-index: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, #061a2b 0%, rgba(6, 26, 43, 0.85) 45%, rgba(8, 37, 60, 0.5) 100%); z-index: 1; }
.hero::after { content: ''; position: absolute; top: -220px; right: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 167, 224, 0.35) 0%, transparent 68%); z-index: 1; filter: blur(20px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 50px; padding: 96px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); padding: 7px 16px; border-radius: 40px; font-size: 13px; font-weight: 500; letter-spacing: 0.4px; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero-badge i { color: var(--c-accent); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 18px; }
.hero h1 .hl { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, 0.86); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: #fff; }
.hero-stat .num span { color: var(--c-accent); }
.hero-stat .lbl { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.hero-visual { position: relative; z-index: 2; }
.hero-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg); backdrop-filter: blur(10px); padding: 20px; box-shadow: var(--shadow-lg); }
.hero-card img { border-radius: 18px; width: 100%; height: 380px; object-fit: cover; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--c-primary); padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-family: var(--font-head); }
.hero-chip .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-accent); flex-shrink: 0; }
.hero-chip .t { font-weight: 700; font-size: 14px; line-height: 1.2; }
.hero-chip .s { font-size: 12px; color: var(--c-muted); }
.hero-chip.chip-1 { top: 26px; left: -34px; animation: floaty 5s ease-in-out infinite; }
.hero-chip.chip-2 { bottom: 30px; right: -22px; animation: floaty 6s ease-in-out infinite reverse; }

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

/* ---------------------------------------------------------------------
   Section scaffolding
   --------------------------------------------------------------------- */
.section { padding: var(--sp-section) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-dark); color: rgba(255, 255, 255, 0.82); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin: 0 auto 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 2.4px; font-size: 13px; font-weight: 700; color: var(--c-accent-2); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--c-accent); }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 2px; background: var(--c-accent); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.4px; }
.section-sub { color: var(--c-muted); margin-top: 14px; font-size: 16.5px; }

/* ---------------------------------------------------------------------
   Features / services cards
   --------------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.features-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 26px; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); transition: var(--transition); overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic { width: 62px; height: 62px; border-radius: 16px; background: var(--c-accent-soft); color: var(--c-accent-2); font-size: 26px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .ic { background: var(--grad-accent); color: #fff; }
.service-card h3 { font-size: 18.5px; margin-bottom: 12px; }
.service-card p { color: var(--c-muted); font-size: 14.5px; }
.service-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--c-accent-2); font-weight: 600; font-size: 14px; }
.service-card .more i { transition: var(--transition); }
.service-card:hover .more i { transform: translateX(5px); }

/* ---------------------------------------------------------------------
   About section
   --------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius-lg); width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-media::before { content: ''; position: absolute; top: -22px; left: -22px; width: 42%; height: 42%; background: var(--c-accent-soft); border-radius: var(--radius-lg); z-index: 0; }
.about-badge { position: absolute; bottom: -26px; right: -20px; background: var(--grad-accent); color: #fff; border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow-lg); text-align: center; z-index: 2; }
.about-badge .num { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }
.about-badge .lbl { font-size: 12.5px; margin-top: 4px; opacity: 0.9; }
.about-content .section-title { margin-bottom: 16px; }
.about-content .lead { color: var(--c-muted); margin-bottom: 24px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.about-list i { color: var(--c-accent); }
.about-meta { display: flex; gap: 30px; margin-bottom: 28px; flex-wrap: wrap; }
.about-meta .m .n { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--c-primary); }
.about-meta .m .t { font-size: 13px; color: var(--c-muted); }

/* ---------------------------------------------------------------------
   Process / steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px 24px; position: relative; transition: var(--transition); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .n { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--c-accent-soft); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { color: var(--c-muted); font-size: 14.5px; }

/* ---------------------------------------------------------------------
   Stats band
   --------------------------------------------------------------------- */
.stats-band { background: var(--grad-accent); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; padding: 54px 0; }
.stat .num { font-family: var(--font-head); font-size: 42px; font-weight: 800; }
.stat .lbl { opacity: 0.9; font-size: 14.5px; }

/* ---------------------------------------------------------------------
   Portfolio
   --------------------------------------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card .img { position: relative; height: 320px; overflow: hidden; }
.product-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .img img { transform: scale(1.08); }
.product-card .img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 26, 43, 0.88) 0%, transparent 58%); }
.product-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 2; }
.product-info .cat { display: inline-block; background: var(--grad-accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 30px; margin-bottom: 10px; }
.product-info h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.product-info .sum { font-size: 13px; color: rgba(255, 255, 255, 0.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .view { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--c-primary); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.product-card:hover .view { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); position: relative; transition: var(--transition); }
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial .quote { font-size: 30px; color: var(--c-accent); opacity: 0.6; position: absolute; top: 24px; right: 26px; }
.testimonial .stars { color: #f6b93b; margin-bottom: 16px; font-size: 15px; letter-spacing: 2px; }
.testimonial p.body { color: var(--c-muted); font-size: 15px; margin-bottom: 22px; }
.testimonial .who { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; flex-shrink: 0; }
.testimonial .who .nm { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); }
.testimonial .who .rl { font-size: 13px; color: var(--c-muted); }

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-accent); color: #fff; padding: 60px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band::before { content: ''; position: absolute; top: -60px; right: -20px; width: 240px; height: 240px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; }
.cta-band::after { content: ''; position: absolute; bottom: -80px; left: 40px; width: 200px; height: 200px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); position: relative; z-index: 1; }
.cta-band p { position: relative; z-index: 1; margin-top: 8px; opacity: 0.92; max-width: 560px; }
.cta-band .btn-white { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   Page hero (inner pages)
   --------------------------------------------------------------------- */
.page-hero { position: relative; color: #fff; background: var(--c-dark); padding: 84px 0 60px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, #061a2b 0%, rgba(8, 37, 60, 0.85) 60%, rgba(15, 116, 194, 0.45) 100%); z-index: 1; }
.page-hero::after { content: ''; position: absolute; top: -80px; right: -40px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 167, 224, 0.35), transparent 70%); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--c-accent); }
.breadcrumb i { font-size: 11px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.5px; }
.page-hero .sub { color: rgba(255, 255, 255, 0.85); max-width: 660px; margin-top: 14px; font-size: 17px; }

/* ---------------------------------------------------------------------
   Blog
   --------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .thumb { height: 210px; overflow: hidden; position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card .cat { position: absolute; top: 14px; left: 14px; background: var(--grad-accent); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 30px; }
.blog-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 16px; font-size: 13px; color: var(--c-muted); margin-bottom: 12px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta i { color: var(--c-accent); }
.blog-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--c-accent-2); }
.blog-card p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 16px; }
.blog-card .more { margin-top: auto; color: var(--c-accent-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }

/* Blog single */
.blog-single-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.post-hero img { width: 100%; border-radius: var(--radius); height: 420px; object-fit: cover; }
.post-content { max-width: 820px; margin: 0 auto; padding-top: 36px; }
.post-content h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.post-body { font-size: 16.5px; color: var(--c-text); line-height: 1.85; }
.post-body h3 { margin: 28px 0 14px; font-size: 21px; }
.post-body p { margin-bottom: 18px; }
.post-body ul { margin: 0 0 18px; padding-left: 0; }
.post-body ul li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.post-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.post-tags span { background: var(--c-accent-soft); color: var(--c-accent-2); padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------------
   Service detail
   --------------------------------------------------------------------- */
.service-detail-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: start; }
.service-detail-main img { width: 100%; border-radius: var(--radius); height: 380px; object-fit: cover; margin-bottom: 28px; }
.service-detail-main h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.service-detail-main .body { font-size: 16.5px; line-height: 1.85; }
.service-detail-main .body h3 { margin: 26px 0 12px; font-size: 21px; }
.service-detail-main .body ul { margin-bottom: 20px; }
.service-detail-main .body ul li { position: relative; padding-left: 26px; margin-bottom: 10px; font-weight: 500; }
.service-detail-main .body ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad-accent); }
.sidebar-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 18px; margin-bottom: 16px; }
.side-services li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-weight: 500; font-size: 14.5px; transition: var(--transition); }
.side-services li:last-child a { border-bottom: 0; }
.side-services li a:hover { color: var(--c-accent-2); padding-left: 6px; }
.side-services li a i { color: var(--c-accent); font-size: 12px; }
.side-cta { background: var(--c-dark); color: #fff; }
.side-cta h4, .side-cta p { color: #fff; }
.side-cta p { font-size: 14px; opacity: 0.9; margin-bottom: 18px; }

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-card h4 { font-size: 15px; margin-bottom: 3px; }
.contact-card p { color: var(--c-muted); font-size: 14.5px; }

.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--c-muted); margin-bottom: 24px; font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 6px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-weight: 600; font-size: 13.5px; margin-bottom: 7px; color: var(--c-primary); }
.form-field input, .form-field textarea, .form-field select { padding: 13px 15px; border: 1px solid var(--c-border); border-radius: 11px; background: var(--c-bg-soft); font-size: 15px; transition: var(--transition); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 4px rgba(31, 167, 224, 0.12); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--c-muted); margin-top: 10px; }
.alert { padding: 14px 18px; border-radius: 11px; margin-bottom: 20px; font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #e8f8ef; color: #1a7f4b; border: 1px solid #bfe8d2; }
.alert-error { background: #fdecee; color: #c0392b; border: 1px solid #f5c3c3; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--c-primary-deep); color: rgba(255, 255, 255, 0.72); padding-top: 68px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--c-accent); }
.footer-about p { font-size: 14px; margin: 16px 0 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; position: relative; transition: var(--transition); }
.footer-links a::before { content: '→ '; color: var(--c-accent); opacity: 0; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 18px; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.footer-contact i { color: var(--c-accent); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.72); }
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links span { margin: 0 6px; opacity: 0.5; }

/* Float buttons */
.to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition); z-index: 900; box-shadow: var(--shadow-md); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent-2); }
.whatsapp-float { position: fixed; bottom: 28px; left: 28px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; z-index: 900; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); animation: floaty 4s ease-in-out infinite; }

/* ---------------------------------------------------------------------
   Content / prose (generic CMS page body)
   --------------------------------------------------------------------- */
.content-page { padding: var(--sp-section-sm) 0 var(--sp-section); }
.content-body { max-width: 820px; margin: 0 auto; font-size: 16.5px; line-height: 1.85; }
.content-body h3 { margin: 28px 0 14px; font-size: 22px; }
.content-body h4 { margin: 24px 0 12px; font-size: 18px; }
.content-body p { margin-bottom: 18px; }
.content-body ul { margin-bottom: 20px; }
.content-body ul li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.content-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.content-body ul li::marker { color: var(--c-accent); }
.content-body img { border-radius: var(--radius); margin: 20px 0; }

/* Empty states */
.empty-state { text-align: center; padding: 80px 20px; color: var(--c-muted); }
.empty-state i { font-size: 44px; color: var(--c-accent); margin-bottom: 16px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--c-border); font-weight: 600; font-size: 14px; color: var(--c-text); background: #fff; transition: var(--transition); }
.pagination a:hover { border-color: var(--c-accent); color: var(--c-accent-2); }
.pagination .current { background: var(--grad-accent); color: #fff; border-color: transparent; }

/* ---------------------------------------------------------------------
   Portfolio filters
   --------------------------------------------------------------------- */
.products-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pf { padding: 9px 20px; border: 1px solid var(--c-border); border-radius: 40px; font-weight: 600; font-size: 14px; color: var(--c-muted); background: #fff; transition: var(--transition); }
.pf:hover { border-color: var(--c-accent); color: var(--c-accent-2); }
.pf.active { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(31, 167, 224, 0.3); }

/* Product detail meta */
.product-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; padding: 18px 22px; background: var(--c-bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--c-border); }
.product-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.product-meta i { color: var(--c-accent); }

/* Search */
.search-form { display: flex; gap: 12px; margin-bottom: 30px; }
.search-form input { flex: 1; padding: 14px 18px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; font-size: 15px; transition: var(--transition); }
.search-form input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(31, 167, 224, 0.12); }
.search-count { color: var(--c-muted); margin-bottom: 20px; font-size: 14.5px; }
.search-results { display: flex; flex-direction: column; gap: 14px; }
.search-item { display: block; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 22px; transition: var(--transition); background: #fff; }
.search-item:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.search-item .badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-accent-2); background: var(--c-accent-soft); padding: 4px 10px; border-radius: 30px; margin-bottom: 10px; }
.search-item h3 { font-size: 18px; margin-bottom: 4px; }
.search-item p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* 404 */
.error-404 .code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--c-accent-soft); line-height: 1; letter-spacing: -4px; }
.error-404 h1 { margin-bottom: 12px; }
.error-404 p { color: var(--c-muted); max-width: 460px; margin: 0 auto; }

/* ---------------------------------------------------------------------
   Reveal animations
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-section: 64px; }
  .site-topbar { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px); background: #fff; box-shadow: -10px 0 40px rgba(6, 26, 43, 0.15); padding: 90px 28px 40px; transform: translateX(100%); transition: transform 0.34s ease; overflow-y: auto; z-index: 1001; }
  .site-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list > li > a { justify-content: space-between; padding: 14px 10px; font-size: 16px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .nav-list > li > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: auto; padding: 0 0 0 14px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .has-dropdown.open .dropdown { max-height: 600px; }
  .nav-list .nav-cta { margin-top: 16px; }
  .nav-list .nav-cta > a { border-bottom: 0; justify-content: center; }

  .hero-grid { padding: 62px 0; }
  .hero-chip.chip-1 { left: -8px; }
  .hero-chip.chip-2 { right: -6px; }
  .features-grid, .features-grid.cols-3, .steps, .testimonials-grid, .blog-grid, .products-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
  .cta-band { padding: 40px 28px; }
  .about-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .post-hero img { height: 260px; }
  .page-hero { padding: 60px 0 44px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
