@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  --primary: #0f5f8f;
  --primary-dark: #0a3f60;
  --accent: #f5a623;
  --success: #18a558;
  --ink: #172331;
  --muted: #5d6a77;
  --soft: #f4f8fb;
  --line: #dce6ee;
  --white: #ffffff;
  --glow-primary: rgba(15, 95, 143, .25);
  --glow-accent: rgba(245, 166, 35, .3);
  --radius: 12px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  padding-top: 74px;
  -webkit-font-smoothing: antialiased;
}

/* ── scroll progress ── */
.scroll-progress {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  height: 3px;
  left: 0;
  position: fixed;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
  z-index: 1100;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── navbar ── */
.navbar {
  min-height: 74px;
  transition: background var(--transition), box-shadow var(--transition), min-height var(--transition);
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.92) !important;
}

.navbar.nav-scrolled {
  box-shadow: 0 4px 30px rgba(16, 50, 75, .1) !important;
  min-height: 62px;
  background: rgba(255,255,255,.97) !important;
}

.navbar-brand { align-items: center; display: flex; gap: 10px; max-width: 360px; white-space: normal; }

.brand-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  transition: transform var(--transition), filter var(--transition);
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px var(--glow-primary));
}

.brand-text { color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.2; }

.nav-link {
  color: var(--ink);
  font-weight: 700;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%; left: 20%;
}
.nav-link.active, .nav-link:hover { color: var(--primary); }

/* ── buttons ── */
.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.btn:hover::before { opacity: 1; }
.btn:hover {
  box-shadow: 0 8px 28px rgba(16, 50, 75, .18);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #072d47);
  border-color: var(--primary-dark);
  box-shadow: 0 8px 28px var(--glow-primary);
}

.btn-success { background: var(--success); border-color: var(--success); }

.btn-outline-primary {
  position: relative;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px var(--glow-primary);
}

/* ── hero ── */
.hero-section, .page-hero {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
  margin-top: -74px;
  overflow: hidden;
  position: relative;
}

.home-hero { background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80"); }
.about-hero { background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80"); }
.services-hero { background-image: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80"); }
.gallery-hero { background-image: url("https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&w=1800&q=80"); }
.contact-hero { background-image: url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1800&q=80"); }

.hero-overlay {
  background: linear-gradient(135deg, rgba(10, 25, 40, .88) 0%, rgba(10, 25, 40, .6) 50%, rgba(10, 25, 40, .25) 100%);
  inset: 0;
  position: absolute;
}

.hero-section h1, .page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 16px 0 22px;
  max-width: 860px;
  animation: heroFadeUp .9s ease-out both;
}
.hero-section .lead, .page-hero p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.2rem;
  max-width: 720px;
  animation: heroFadeUp 1.1s ease-out both;
}
.eyebrow, .section-kicker {
  color: var(--accent);
  display: inline-block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-kicker { color: var(--primary); }

.page-hero { padding: 180px 0 105px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 10px;
  animation: heroFadeUp 1.3s ease-out both;
}
.hero-actions .btn-success, .whatsapp-float { animation: softPulse 2.6s ease-in-out infinite; }

/* ── sections ── */
.section-pad { padding: 100px 0; }
.bg-soft { background: var(--soft); }
.bg-dark-blue { background: linear-gradient(135deg, var(--primary-dark), #061e30); }

/* ── stats strip ── */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark), #061e30);
  color: var(--white);
  padding: 36px 0;
}
.stat-item {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  height: 100%;
  padding: 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, .4);
  background: rgba(255,255,255,.08);
}
.stat-item strong {
  color: var(--accent);
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}
.stat-item span {
  color: rgba(255, 255, 255, .84);
  display: block;
  font-weight: 700;
  margin-top: 10px;
  font-size: .9rem;
}
.text-accent { color: var(--accent); }

/* ── headings ── */
h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: 0; }
p { color: var(--muted); }
.text-white p { color: rgba(255, 255, 255, .84); }

.section-heading { margin: 0 auto 50px; max-width: 760px; text-align: center; }

/* ── cards ── */
.service-card, .feature-box, .testimonial-card, .info-panel, .process-card, .contact-card, .form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  padding: 30px;
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before, .feature-box::before, .testimonial-card::before, .process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before, .feature-box:hover::before, .testimonial-card:hover::before, .process-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover, .feature-box:hover, .testimonial-card:hover, .process-card:hover {
  border-color: rgba(15, 95, 143, .2);
  box-shadow: 0 20px 50px rgba(16, 50, 75, .1);
  transform: translateY(-6px);
}

.service-card i, .feature-box i, .info-panel i {
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 95, 143, .1), rgba(15, 95, 143, .05));
  border-radius: var(--radius);
  color: var(--primary);
  display: inline-flex;
  font-size: 28px;
  height: 56px;
  justify-content: center;
  margin-bottom: 18px;
  width: 56px;
  transition: transform var(--transition), background var(--transition);
}
.service-card:hover i, .feature-box:hover i {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(15, 95, 143, .18), rgba(15, 95, 143, .08));
}

/* highlight card */
.highlight-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: var(--primary); }
.highlight-card h3, .highlight-card p, .highlight-card i { color: var(--white); }
.highlight-card i { background: rgba(255, 255, 255, .14); }
.highlight-card::before { background: linear-gradient(90deg, var(--accent), #ffd060); }

.feature-box { min-height: 240px; }

/* ── stars / testimonials ── */
.stars { color: var(--accent); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { color: var(--ink); font-style: italic; }

/* ── FAQ ── */
.faq-accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion-button { font-weight: 800; transition: background var(--transition), color var(--transition); }
.accordion-button:not(.collapsed) { background: rgba(15, 95, 143, .06); color: var(--primary); }
.accordion-item { transition: background var(--transition); }
.accordion-body { animation: accordionSlide .35s ease-out; }

/* ── check-list ── */
.check-list { background: var(--soft); border-radius: var(--radius); padding: 30px; }
.check-list div { align-items: flex-start; display: flex; gap: 14px; padding: 15px 0; transition: transform var(--transition); }
.check-list div:hover { transform: translateX(6px); }
.check-list i { color: var(--success); font-size: 22px; margin-top: 1px; }
.check-list span { color: var(--ink); font-weight: 700; }

/* ── service detail ── */
.service-detail {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: 76px 1fr;
  padding: 36px 0;
}
.service-detail:first-of-type { padding-top: 0; }
.service-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  color: var(--white);
  display: flex;
  font-size: 34px;
  height: 76px;
  justify-content: center;
  width: 76px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-detail:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px var(--glow-primary);
}
.service-list { color: var(--muted); padding-left: 20px; }

/* ── process card ── */
.process-card span {
  color: var(--accent);
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
  transition: transform var(--transition);
}
.process-card:hover span { transform: scale(1.15); }

/* ── gallery ── */
.gallery-item { border-radius: var(--radius); display: block; overflow: hidden; position: relative; }
.gallery-item img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), filter .5s ease;
  width: 100%;
}
.gallery-item span {
  background: linear-gradient(0deg, rgba(10, 20, 35, .85) 0%, rgba(10, 20, 35, 0) 100%);
  bottom: 0; color: var(--white); font-weight: 800; left: 0;
  padding: 50px 18px 18px; position: absolute; right: 0;
  transform: translateY(4px);
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover span { transform: translateY(0); }
.gallery-item::after {
  align-items: center;
  background: rgba(15, 95, 143, .85);
  border-radius: 50%;
  color: var(--white);
  content: "+";
  display: flex;
  font-size: 28px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(.7);
  transition: opacity .3s ease, transform .3s ease;
  width: 48px;
  backdrop-filter: blur(4px);
}
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── gallery filters ── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  align-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0;
  padding: 10px 22px;
  transition: all var(--transition);
}

.filter-btn i {
  font-size: 1rem;
  transition: transform var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px var(--glow-primary);
  transform: translateY(-2px);
}

.filter-btn:hover i {
  transform: scale(1.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px var(--glow-primary);
}

.filter-btn.active:hover {
  transform: translateY(-2px);
}

/* ── gallery badge ── */
.gallery-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50px;
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  left: 14px;
  letter-spacing: .04em;
  padding: 5px 14px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
  backdrop-filter: blur(6px);
}

.gallery-item:hover .gallery-badge {
  opacity: 1;
  transform: translateY(0);
}

/* ── gallery card filter animation ── */
.gallery-card {
  transition: opacity .45s cubic-bezier(.4, 0, .2, 1), transform .45s cubic-bezier(.4, 0, .2, 1);
}

.gallery-card.hiding {
  opacity: 0;
  transform: scale(.88);
  pointer-events: none;
}

.gallery-card.hidden-card {
  display: none !important;
}

.gallery-card.showing {
  animation: galleryReveal .5s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes galleryReveal {
  from { opacity: 0; transform: scale(.88) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── gallery item label with icon ── */
.gallery-item span i {
  margin-right: 6px;
  font-size: .9em;
}

/* ── contact ── */
.contact-card p { align-items: flex-start; display: flex; gap: 14px; margin-bottom: 18px; }
.contact-card i { color: var(--primary); font-size: 22px; min-width: 24px; }

.form-control {
  border-color: var(--line);
  border-radius: 8px;
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-primary);
}

.map-section { background: var(--soft); padding: 80px 0 95px; }

/* ── footer ── */
.site-footer {
  background: linear-gradient(180deg, #0e1920, #090f14);
  color: var(--white);
  padding: 64px 0 26px;
}
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.2rem; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255, 255, 255, .7); transition: color var(--transition); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
}

/* ── whatsapp float ── */
.whatsapp-float {
  align-items: center;
  background: var(--success);
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 6px 20px rgba(24, 165, 88, .35);
  color: var(--white);
  display: flex;
  font-size: 30px;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 22px;
  width: 58px;
  z-index: 1000;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(24, 165, 88, .45);
}

/* ── back-to-top ── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px var(--glow-primary);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ══ keyframe animations ══ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(24, 165, 88, .22); }
  50% { box-shadow: 0 6px 30px rgba(24, 165, 88, .45); }
}

@keyframes accordionSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* scroll-reveal class used by JS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .hero-section, .page-hero { background-attachment: scroll; }
}

/* ── responsive ── */
@media (max-width: 991px) {
  body { padding-top: 70px; }
  .navbar { min-height: 70px; }
  .navbar-collapse { padding: 16px 0 10px; }
  .hero-section, .page-hero { margin-top: -70px; background-attachment: scroll; }
  .hero-section h1, .page-hero h1 { font-size: 2.55rem; }
  .section-pad { padding: 72px 0; }
}

@media (max-width: 767px) {
  .brand-text { font-size: 11px; }
  .brand-logo { height: 38px; }
  .navbar-brand { max-width: 280px; }
  .hero-section .row { min-height: 720px !important; }
  .page-hero { padding: 145px 0 72px; }
  .hero-section h1, .page-hero h1 { font-size: 2.18rem; }
  .hero-section .lead, .page-hero p { font-size: 1.04rem; }
  .btn-lg { font-size: 1rem; padding: .72rem 1rem; }
  .service-detail { grid-template-columns: 1fr; }
  .service-icon { height: 64px; width: 64px; }
  .ratio-21x9 { --bs-aspect-ratio: 70%; }
  .filter-btn { padding: 8px 16px; font-size: .8rem; }
  .gallery-filters { gap: 8px; }
}
