/* ============ Variables ============ */
:root{
  --navy: #0c1a45;
  --navy-dark: #060d29;
  --blue: #2451e0;
  --blue-light: #5b82f2;
  --silver: #a9b2c3;
  --bg: #f6f8fb;
  --white: #ffffff;
  --text: #1b2133;
  --text-muted: #5c6478;
  --border: #e4e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 26, 69, 0.08);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{ font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p{ margin: 0 0 1em; }
ul{ margin: 0; padding: 0; list-style: none; }

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

.skip-link{
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

.eyebrow{
  color: var(--blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: .5em;
}
.eyebrow.center, .center{ text-align: center; }
.section-lead{ color: var(--text-muted); max-width: 620px; margin: 0 auto 3rem; }
.section-lead.center{ margin-left: auto; margin-right: auto; }

.section{ padding: 6rem 0; }
.section-alt{ background: var(--white); }
.section-dark{ background: var(--navy); color: #dfe4f2; }
.section-dark .eyebrow{ color: var(--blue-light); }
.section-dark h2{ color: #fff; }

/* ============ Buttons ============ */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.8em; border-radius: 999px; font-weight: 600; font-family: var(--font-body);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(36,81,224,.35); }
.btn-primary:hover{ background: var(--blue-light); }
.btn-ghost{ background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover{ background: rgba(255,255,255,.12); }

/* ============ Header ============ */
.site-header{
  position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; gap: 16px; }
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-logo{ height: 68px; width: auto; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(12,26,69,.18)); }

.main-nav{ display: flex; gap: 28px; }
.main-nav a{ font-weight: 500; font-size: .95rem; color: var(--text); position: relative; }
.main-nav a:hover{ color: var(--blue); }

.header-actions{ display: flex; align-items: center; gap: 10px; }
.header-call svg{ flex-shrink: 0; }
.btn-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--border); color: var(--navy); flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
.btn-icon:hover{ background: var(--navy); color: #fff; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; width: 22px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ============ Hero ============ */
.hero{ position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(6,13,41,.92) 0%, rgba(12,26,69,.82) 45%, rgba(12,26,69,.55) 100%);
}
.hero-content{ position: relative; z-index: 1; color: #fff; padding: 8rem 24px 6rem; max-width: 720px; }
.hero-brand{
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--blue-light); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .7em;
  padding-left: 1rem; border-left: 3px solid var(--blue-light);
}
.hero-content .eyebrow{ color: var(--blue-light); }
.hero h1{ color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .4em; }
.hero-lead{ font-size: 1.1rem; color: #dbe1f2; max-width: 560px; }
.hero-cta{ display: flex; gap: 16px; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-trust{ display: flex; align-items: center; gap: 10px; color: #cfd6ea; font-size: .95rem; }
.stars{ color: #ffb020; letter-spacing: 2px; }
.stars.big{ font-size: 1.6rem; }

/* ============ About ============ */
.about-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-media img{ border-radius: var(--radius); box-shadow: var(--shadow); }
.about-points{ display: grid; gap: .6rem; margin: 1.5rem 0 2rem; }
.about-points li{ padding-left: 1.6em; position: relative; color: var(--text-muted); }
.about-points li::before{
  content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--blue);
}

/* ============ Services ============ */
.services-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card{
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.6rem; transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon{
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 12px; background: rgba(36,81,224,.1); color: var(--blue); margin-bottom: 1rem;
}
.service-card h3{ font-size: 1.05rem; margin-bottom: .4em; }
.service-card p{ color: var(--text-muted); font-size: .92rem; margin: 0; }

.service-card-cta{
  display: block; text-decoration: none; background: var(--navy); border-color: var(--navy);
}
.service-card-cta .service-icon{ background: rgba(255,255,255,.15); color: #fff; }
.service-card-cta h3{ color: #fff; }
.service-card-cta p{ color: #b9c0d6; }
.service-card-cta:hover{ background: var(--blue); border-color: var(--blue); }

/* ============ Gallery ============ */
.ba-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 2.5rem; }
.ba-pair{ margin: 0; }
.ba-images{ display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-img{ position: relative; border: none; padding: 0; cursor: pointer; background: none; display: block; aspect-ratio: 4/3; overflow: hidden; }
.ba-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ba-img:hover img{ transform: scale(1.05); }
.ba-img span{
  position: absolute; bottom: 10px; left: 10px; background: rgba(6,13,41,.75); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
}

.gallery-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-img{ border: none; padding: 0; cursor: pointer; background: none; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-img:hover img{ transform: scale(1.08); }

/* ============ Reviews ============ */
.rating-summary{ text-align: center; margin-bottom: 2.5rem; }
.rating-summary p{ color: var(--text-muted); margin: .3em 0 0; }
.reviews-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card{
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; margin: 0;
}
.review-card p{ color: var(--text); font-size: .95rem; margin: .8em 0; }
.review-card cite{ font-style: normal; font-weight: 700; color: var(--navy); font-size: .9rem; }
.reviews-cta{ text-align: center; margin-top: 2.5rem; }
.reviews-cta a{ color: var(--blue); font-weight: 600; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* ============ FAQ ============ */
.faq-container{ max-width: 780px; }
.faq-list{ display: grid; gap: 12px; }
.faq-item{
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.4rem;
}
.faq-item summary{
  cursor: pointer; font-weight: 600; color: var(--navy); font-family: var(--font-head);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: '+'; font-size: 1.4rem; color: var(--blue); margin-left: 1rem; }
.faq-item[open] summary::after{ content: '\2212'; }
.faq-item p{ color: var(--text-muted); margin: .9rem 0 0; }
.faq-item p a{ color: var(--blue); font-weight: 600; }

/* ============ Contact ============ */
.contact-single{ max-width: 640px; margin: 0 auto; text-align: center; }
.contact-lead{ color: #b9c0d6; font-size: 1.05rem; }
.contact-cta{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.contact-list{ display: inline-flex; flex-direction: column; gap: 1.1rem; text-align: left; }
.contact-list li{ display: flex; align-items: center; gap: 12px; }
.contact-list svg{ color: var(--blue-light); flex-shrink: 0; }
.contact-list a:hover{ color: var(--blue-light); }

/* ============ Footer ============ */
.site-footer{ background: var(--navy-dark); color: #aab2cb; padding: 3rem 0 1.5rem; }
.footer-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo{ height: 56px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.footer-nav{ display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a:hover{ color: #fff; }
.footer-contact{ display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.footer-contact a:hover{ color: #fff; }
.footer-bottom{ padding-top: 1.5rem; text-align: center; font-size: .85rem; }

/* ============ Lightbox ============ */
.lightbox{
  position: fixed; inset: 0; background: rgba(6,10,26,.92); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close{
  position: absolute; top: 24px; right: 32px; background: none; border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1; z-index: 2;
}

/* ============ Before/After Lightbox ============ */
.ba-lightbox{
  position: fixed; inset: 0; background: rgba(6,10,26,.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 70px 90px;
}
.ba-lightbox.open{ display: flex; }
.ba-lightbox-content{
  display: flex; gap: 18px; max-width: 1200px; width: 100%; align-items: center; justify-content: center;
}
.ba-lightbox-figure{ position: relative; flex: 1; margin: 0; max-width: 560px; min-width: 0; }
.ba-lightbox-figure img{
  width: 100%; max-height: 76vh; object-fit: contain; border-radius: 10px; background: var(--navy);
}
.ba-lightbox-tag{
  position: absolute; bottom: 14px; left: 14px; background: rgba(6,13,41,.8); color: #fff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px;
}
.ba-nav{
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.ba-nav:hover{ background: rgba(255,255,255,.28); }
.ba-nav-prev{ left: 20px; }
.ba-nav-next{ right: 20px; }
.ba-lightbox-counter{
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #cfd6ea; font-size: .85rem; margin: 0;
}

@media (max-width: 760px){
  .ba-lightbox{ padding: 90px 14px 30px; }
  .ba-lightbox-content{ flex-direction: column; gap: 10px; }
  .ba-lightbox-figure img{ max-height: 34vh; }
  .ba-nav{ width: 40px; height: 40px; font-size: 1rem; }
  .ba-nav-prev{ left: 6px; }
  .ba-nav-next{ right: 6px; }
}

/* ============ Responsive ============ */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .about-grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .about-media{ order: -1; }
}

@media (max-width: 760px){
  .brand-logo{ height: 52px; }
  .main-nav{
    position: fixed; top: 69px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); opacity: 0; transition: transform .25s ease, opacity .25s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open{ transform: translateY(0); opacity: 1; }
  .main-nav a{ padding: .7em 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child{ border-bottom: none; }
  .nav-toggle{ display: flex; }
  .header-call{ display: none; }
  .header-email{ display: none; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .section{ padding: 4rem 0; }
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .reviews-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .ba-grid{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-contact{ align-items: flex-start; text-align: left; }
}

@media (max-width: 480px){
  .services-grid{ grid-template-columns: 1fr; }
  .hero-content{ padding: 7rem 20px 4rem; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
}
