:root {
  --blue: #0797e7;
  --blue-dark: #0274bf;
  --blue-soft: #e8f6ff;
  --black: #07121f;
  --text: #344052;
  --muted: #718096;
  --line: #dce8f2;
  --white: #ffffff;
  --bg: #f6fbff;
  --shadow: 0 20px 50px rgba(7, 18, 31, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.top-bar {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: var(--white);
  font-size: 14px;
  position: relative;
  z-index: 20;
}
.top-bar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.license { margin: 0; font-weight: 800; letter-spacing: .04em; }
.license span { margin-right: 8px; }
.top-contact { display: flex; align-items: center; gap: 24px; }
.socials { display: flex; align-items: center; gap: 9px; }
.socials a {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: 12px;
  font-weight: 800;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 15;
  backdrop-filter: blur(16px);
}
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 155px; height: 74px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 15px; }
.nav-menu a { position: relative; padding: 12px 0; color: #1c2635; }
.nav-menu a.active, .nav-menu a:hover { color: var(--blue); }
.nav-menu a.active::after, .nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--black); margin: 4px auto; border-radius: 99px; }

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); box-shadow: 0 12px 24px rgba(7, 151, 231, .25); }
.btn--outline { background: var(--white); color: var(--black); border: 1px solid #b9dff5; }
.btn--light { background: rgba(255,255,255,.92); color: var(--black); border: 1px solid #cbdff0; }

.hero {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #f8fcff 45%, #e8f6ff 100%);
}
.hero__bg {
  position: absolute;
  inset: 0 0 0 38%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 19%, rgba(255,255,255,.15) 60%),
    linear-gradient(180deg, rgba(7,151,231,.04), rgba(7,18,31,.16)),
    url('../images/project-01.jpg') center/cover no-repeat;
}
.hero__inner { position: relative; min-height: 580px; display: flex; align-items: center; }
.hero__content { max-width: 570px; padding: 70px 0 100px; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 20px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 16px; }
h3 { font-size: 20px; }
.hero p { color: #2e3a4a; font-size: 18px; max-width: 560px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.trust { margin-top: -72px; position: relative; z-index: 5; }
.trust__grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-card { padding: 28px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; border-right: 1px solid var(--line); }
.trust-card:last-child { border-right: 0; }
.trust-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; }
.trust-card h3 { margin: 0 0 5px; font-size: 17px; }
.trust-card p { margin: 0; color: var(--text); font-size: 14px; }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.section-heading--row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 20px; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.split p { color: var(--text); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stats strong { display: block; color: var(--blue); font-size: 32px; line-height: 1; }
.stats span { font-weight: 800; color: var(--text); font-size: 13px; }
.about-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--line); }
.about-card img { width: 100%; height: 390px; object-fit: cover; }
.about-card div { padding: 28px; }
.about-card p { margin: 0; color: var(--text); }

.services { background: linear-gradient(180deg, #fff, #f5fbff); }
.service-group { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(7,18,31,.05); }
.group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.group-title h3 { margin: 0; }
.service-icon { color: var(--blue); font-size: 28px; }
.service-grid { display: grid; gap: 16px; }
.service-grid--five { grid-template-columns: repeat(5, 1fr); }
.service-grid--extras { grid-template-columns: repeat(5, 1fr); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  min-height: 190px;
  transition: transform .2s ease, box-shadow .2s ease, border .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #a7dbfb; }
.service-card > span { color: var(--blue); font-size: 34px; line-height: 1; display: block; margin-bottom: 14px; }
.service-card h4 { font-size: 18px; margin-bottom: 14px; }
.service-card ul { list-style: none; margin: 0; padding: 0; color: var(--text); font-size: 14px; }
.service-card li { position: relative; padding-left: 22px; margin: 8px 0; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.service-card--coming { border: 2px solid var(--blue); background: linear-gradient(180deg, #fff, var(--blue-soft)); }
.service-card--coming small { display: inline-flex; background: var(--blue); color: var(--white); padding: 5px 9px; border-radius: 999px; text-transform: uppercase; font-weight: 900; font-size: 11px; margin-bottom: 12px; }
.service-card--coming p { color: var(--text); font-size: 14px; margin: 0; }

.areas { padding: 38px 0; background: var(--white); }
.areas__inner { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-radius: 24px; padding: 34px; color: var(--white); display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; box-shadow: 0 20px 45px rgba(7,151,231,.24); }
.areas__title { display: flex; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.35); }
.areas__title span { width: 70px; height: 70px; border: 2px solid rgba(255,255,255,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.areas__title h2 { margin: 0; font-size: 28px; }
.areas__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 22px; font-weight: 800; }
.areas__list li::before { content: "✓"; margin-right: 8px; }

.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { border-radius: 17px; overflow: hidden; position: relative; min-height: 210px; background: #111; box-shadow: 0 12px 35px rgba(7,18,31,.08); }
.gallery-item img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; color: var(--white); background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0)); padding: 44px 16px 16px; font-weight: 900; font-size: 14px; }

.reviews { background: #f5fbff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 14px 34px rgba(7,18,31,.05); }
.review-card div { color: var(--blue); margin-bottom: 14px; letter-spacing: 2px; }
.review-card p { color: var(--text); font-size: 17px; }
.review-card strong { color: var(--black); }

.contact { padding: 96px 0; background: linear-gradient(135deg, #061523, #092438); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: start; }
.contact h2 { color: var(--white); }
.contact p { color: rgba(255,255,255,.78); font-size: 18px; }
.contact-list { display: grid; gap: 12px; margin: 30px 0; }
.contact-list a, .contact-list p { color: var(--white); margin: 0; }
.social-row { flex-wrap: wrap; }
.social-row a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); width: auto; padding: 0 14px; }
.estimate-form, .upload-form { background: var(--white); color: var(--black); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.estimate-form label, .upload-form label { display: grid; gap: 8px; font-weight: 900; color: var(--black); }
.estimate-form input, .estimate-form textarea, .estimate-form select, .upload-form input, .upload-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  background: #fbfdff;
}
.estimate-form input:focus, .estimate-form textarea:focus, .estimate-form select:focus, .upload-form input:focus, .upload-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,151,231,.10); }
.form-note { color: var(--muted) !important; font-size: 13px !important; margin: 0; }

.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__grid { padding: 50px 0; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 28px; }
.footer-logo { width: 160px; margin-bottom: 14px; }
.footer p { color: var(--text); }
.footer a { display: block; margin: 8px 0; color: var(--text); }
.footer a:hover { color: var(--blue); }
.footer h3 { margin-bottom: 14px; }
.footer-bottom { background: var(--blue); color: var(--white); display: flex; justify-content: center; gap: 60px; padding: 16px 20px; font-size: 14px; font-weight: 800; }
.footer-bottom p { margin: 0; color: var(--white); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 900; z-index: 50; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.modal { position: fixed; inset: 0; z-index: 100; opacity: 0; visibility: hidden; transition: .2s ease; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 12, 22, .72); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(620px, calc(100% - 32px)); margin: 6vh auto; background: var(--white); border-radius: 24px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.modal__close { position: absolute; top: 16px; right: 16px; border: 0; background: #eef7ff; color: var(--black); width: 40px; height: 40px; border-radius: 12px; cursor: pointer; font-size: 28px; line-height: 1; }
.file-preview { display: grid; gap: 8px; color: var(--text); font-size: 13px; }
.file-preview div { padding: 10px 12px; background: var(--blue-soft); border-radius: 10px; }

@media (max-width: 1100px) {
  .nav-menu { gap: 18px; }
  .nav-actions { display: none; }
  .service-grid--five, .service-grid--extras { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .top-contact { display: none; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 92px; left: 20px; right: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px; border-radius: 12px; }
  .nav-menu a.active::after, .nav-menu a:hover::after { display: none; }
  .hero__bg { inset: 0; opacity: .28; }
  .hero__content { max-width: none; }
  .trust { margin-top: 0; padding-top: 28px; }
  .trust__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .trust-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-card:last-child { border-bottom: 0; }
  .areas__inner { grid-template-columns: 1fr; }
  .areas__title { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 20px; }
  .areas__list { grid-template-columns: repeat(2, 1fr); }
  .review-grid, .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 132px; height: 64px; }
  .nav { min-height: 78px; }
  .nav-menu { top: 78px; }
  .hero, .hero__inner { min-height: auto; }
  .hero__content { padding: 58px 0 70px; }
  .hero__buttons, .section-heading--row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .trust-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .service-grid--five, .service-grid--extras, .gallery-grid { grid-template-columns: 1fr; }
  .areas__list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .modal__panel { margin-top: 18px; padding: 24px; }
}
