:root {
  --primary: #2c497f;
  --accent: #34bcbd;
  --primary-dark: #1a2c4d;
  --primary-light: #3d5c9b;
  --text: #1f2937;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #e6e9ef;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(20, 30, 60, 0.06);
  --shadow: 0 8px 24px rgba(20, 30, 60, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 30, 60, 0.14);
  --font-body: "Noto Sans", system-ui, sans-serif;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; }
.icon { display: inline-flex; width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
.icon svg { width: 100%; height: 100%; }
.icon-sm { width: 0.95em; height: 0.95em; }

.container { width: min(var(--container), 92vw); margin: 0 auto; }

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

/* Top bar */
.top-bar { background: var(--primary-dark); color: #fff; font-size: 0.8rem; padding: 0.55rem 0; }
.top-bar .container { display: flex; justify-content: flex-end; gap: 1.75rem; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar a:hover { color: #fff; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo img { max-height: 56px; width: auto; border-radius: 8px; }
.nav-desktop { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); background: var(--bg-alt); }
.nav-toggle {
  display: none;
  background: var(--bg-alt);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary);
}
.nav-toggle .icon { width: 1.4em; height: 1.4em; }

/* Mobile slide-in nav */
.nav-mobile-overlay {
  position: fixed; inset: 0; background: rgba(10,15,30,0.5);
  z-index: 199; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-mobile-overlay.open { opacity: 1; visibility: visible; }
.nav-mobile {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 85vw);
  background: #fff; z-index: 200; padding: 1.5rem;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-close { align-self: flex-end; background: var(--bg-alt); border: none; border-radius: var(--radius-sm); padding: 0.5rem; cursor: pointer; color: var(--primary); }
.nav-mobile-close .icon { width: 1.3em; height: 1.3em; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a { display: block; padding: 0.85rem 1rem; color: var(--text); font-weight: 600; border-radius: var(--radius-sm); }
.nav-mobile a:hover { background: var(--bg-alt); color: var(--primary); }

/* Hero */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,55,0.82) 0%, rgba(20,30,55,0.75) 50%, rgba(20,30,55,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0 0 1.25rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero p { font-size: 1.15rem; opacity: 0.95; max-width: 640px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Stats bar */
.stats-bar { background: var(--primary); color: #fff; padding: 2.25rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.04em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-weight: 700;
  border: 2px solid transparent; cursor: pointer; font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(44,73,127,0.3); }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(52,188,189,0.35); }
.btn-accent:hover { background: #2aa8a9; color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.65rem, 3vw, 2.25rem); text-align: center; margin: 0 0 0.6rem; color: var(--primary); font-weight: 800; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); }

/* Split section (about page) */
.split-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-text h2 { color: var(--primary); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 0; }
.split-image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 2.5rem; }
.trust-logos { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust-logos img { max-height: 70px; width: auto; border-radius: var(--radius-sm); background: #fff; padding: 0.75rem 1.25rem; box-shadow: var(--shadow-sm); }

/* Photo cards (homepage category cards) */
.photo-card {
  display: block; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid var(--border);
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo-card-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.photo-card-body { padding: 1.5rem; }
.photo-card-body h3 { margin: 0 0 0.5rem; color: var(--primary); font-size: 1.15rem; }
.photo-card-body p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 0.9rem; min-height: 2.6em; }
.photo-card-link { font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; }

/* Featured project strip */
.project-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.strip-item { border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow-sm); }
.strip-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.4s var(--ease); }
.strip-item:hover img { transform: scale(1.06); }

/* Cards grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--bg-alt); }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1rem; margin: 0 0 0.5rem; color: var(--primary); font-weight: 700; }
.card-price { font-weight: 800; color: var(--accent); font-size: 1.15rem; margin: 0 0 0.75rem; }
.card-price-quote { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.card-text { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1rem; }

/* Page header */
.page-header { background: var(--bg-alt); padding: 3rem 0; border-bottom: 1px solid var(--border); }
.page-header-photo { background-size: cover; background-position: center; position: relative; }
.page-header-photo::before { content: ""; position: absolute; inset: 0; background: rgba(20,30,55,0.65); }
.page-header-photo .container { position: relative; z-index: 1; }
.page-header h1 { margin: 0; color: var(--primary); font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; }
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.breadcrumbs a { color: var(--text-muted); }
.content { padding: 3.5rem 0; }
.content h2, .content h3, .content h4 { color: var(--primary); }
.content img { border-radius: var(--radius); margin: 1rem 0; }
.content p { margin: 0 0 1rem; }
.content-body ul { padding-left: 1.25rem; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li { display: flex; align-items: center; gap: 0.6rem; }
.check-list .icon { color: var(--accent); flex-shrink: 0; }
.check-list-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; }
.plain-list li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--text-muted); }
.plain-list .icon { color: var(--accent); flex-shrink: 0; margin-top: 0.15em; }

/* Services page */
.service-block { margin-bottom: 3rem; }
.service-block-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.service-block-head .icon { width: 1.6em; height: 1.6em; color: var(--accent); }
.service-block-head h2 { margin: 0; color: var(--primary); }
.service-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.service-item h4 { margin: 0 0 0.5rem; color: var(--primary); font-size: 1.05rem; }
.service-item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Clients */
.clients-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.client-logo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 2.5rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; }
.client-logo img { max-height: 90px; width: auto; }

/* Product detail */
.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
.product-gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); aspect-ratio: 1/1; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.product-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.product-thumbs img.active { border-color: var(--accent); }
.product-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.product-price { font-size: 1.85rem; font-weight: 800; color: var(--accent); margin: 0 0 1rem; }
.product-price-quote { font-size: 1.2rem; color: var(--text-muted); }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; justify-content: center; }
.gallery-filters { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 0.5rem; }
.chip {
  padding: 0.55rem 1.15rem; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--text);
  cursor: pointer; white-space: nowrap; transition: 0.2s var(--ease);
}
.chip:hover, .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Gallery */
.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-item { display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item.hidden { display: none; }
.gallery-item img { width: 100%; transition: transform 0.35s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
.contact-card { padding: 2rem; }
.contact-info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-info-card p { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.contact-info-card .icon { color: var(--accent); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit;
  transition: border-color 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.875rem; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.82); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer .icon { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150;
  background: #25d366; color: #fff; 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);
}
.wa-float .icon { width: 1.8em; height: 1.8em; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(10,15,25,0.94); z-index: 300;
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 85vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: #fff; background: rgba(255,255,255,0.1); border: none;
  cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-close .icon, .lightbox-prev .icon, .lightbox-next .icon { width: 1.4em; height: 1.4em; }

@media (max-width: 900px) {
  .split-section, .trust-strip, .contact-grid, .product-layout { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .product-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-desktop, .top-bar { display: none; }
  .nav-toggle { display: block; }
  .gallery-grid { columns: 2; }
  .hero { padding: 4.5rem 0; }
  .section { padding: 3rem 0; }
  .check-list-2col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
