/* ===================== */
/* VARIABLES             */
/* ===================== */

:root {
  --navy: #062a52;
  --deep-navy: #031d3c;
  --blue: #0d5db8;
  --royal: #1e63d5;
  --gold: #f0b52f;
  --white: #ffffff;
  --light: #f5f7fa;
  --text: #08224a;
  --muted: #5d6b7d;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 4px;
}

/* ===================== */
/* BASE STYLES           */
/* ===================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* ===================== */
/* LAYOUT                */
/* ===================== */

.container {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

/* ===================== */
/* TOP BAR               */
/* ===================== */

.top-bar {
  background: linear-gradient(90deg, var(--deep-navy), var(--navy));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.top-bar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-inner span:nth-child(2) {
  color: var(--gold);
}

/* ===================== */
/* HEADER                */
/* ===================== */

.site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 20;
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap img {
  width: 245px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 800;
  color: #061d44;
}

.desktop-nav a:hover {
  color: var(--royal);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #f6c451, #e6a822);
  color: #031b38;
  font-size: 13px;
  font-weight: 900;
  padding: 16px 34px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(116, 78, 0, 0.25);
}

.header-quote {
  min-width: 150px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 32px;
  font-weight: 900;
}

/* ===================== */
/* HERO SECTION          */
/* ===================== */

.hero {
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(2, 24, 50, 0.95) 0%, rgba(3, 31, 62, 0.76) 34%, rgba(3, 31, 62, 0.10) 68%),
    url("/assets/img/inx/hero.jpg");
  background-size: cover;
  background-position: center right;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  width: 560px;
  padding: 38px 0 34px;
}

.hero h1 {
  color: var(--white);
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -1.5px;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: var(--white);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 15px 28px;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.15);
}

/* ===================== */
/* TRUST BAR             */
/* ===================== */

.trust-bar {
  background: linear-gradient(90deg, #05315e, #084b86);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.trust-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  color: var(--gold);
  font-size: 48px;
  line-height: 1;
}

.trust-icon img,
.trust-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.people-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.stars {
  color: var(--gold);
  font-size: 34px;
  letter-spacing: 1px;
}

.trust-item strong {
  display: block;
  color: var(--gold);
  font-size: 19px;
  line-height: 1.1;
  font-weight: 900;
}

.trust-item span {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

/* ===================== */
/* SECTION TITLES        */
/* ===================== */

.section-title {
  text-align: center;
  margin-bottom: 22px;
}

.section-title h2 {
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.section-title span {
  display: block;
  width: 42px;
  height: 3px;
  background: var(--gold);
  margin: 8px auto 0;
}

.section-title.left {
  text-align: left;
}

.section-title.left span {
  margin-left: 0;
}

/* ===================== */
/* SERVICES SECTION      */
/* ===================== */

.services-section {
  padding: 20px 0 30px;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 120px;
  background: var(--white);
  border: 1px solid #dfe4eb;
  border-radius: 5px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

/* =========================
   SERVICE ICONS
========================= */

.service-icon {
    width: 72px;
    min-width: 72px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.service-card h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 7px;
}

.service-card p {
  color: #354457;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.service-card a {
  display: inline-flex;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  padding: 8px 28px;
  border-radius: 3px;
}

/* ===================== */
/* WHY / GALLERY         */
/* ===================== */

.why-gallery {
  padding: 18px 0 34px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 58px;
  align-items: start;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.check-grid p {
  color: #2d3d51;
  font-size: 14px;
  font-weight: 600;
}

.check-grid p::first-letter {
  color: var(--blue);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.gallery-thumb {
  height: 78px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay only on before/after images */
.before-after-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 45, 0.35);
}

.before-after-thumb span {
  position: absolute;
  inset: auto 0 8px;
  z-index: 2;
  color: var(--white);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.gallery-btn {
  display: flex;
  justify-content: center;
  background: var(--gold);
  color: #061d38;
  width: 180px;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
}

/* ===================== */
/* BOTTOM CONTENT        */
/* ===================== */

.bottom-content {
  background: linear-gradient(
    90deg,
    #f6f9fc 0%,
    #ffffff 58%,
    #06325f 58%,
    #06325f 100%
  );
}

.bottom-grid {
  display: grid;
  grid-template-columns: 330px 430px 430px;
  gap: 24px;
  align-items: stretch;
}

.service-area,
.reviews-box {
  padding: 24px 0 28px;
}

.service-area h2,
.reviews-box h2,
.quote-box h2 {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 16px;
}

.service-area h2 span {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.1;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 14px;
}

.area-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-grid li {
  color: #17314f;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.area-grid li::before {
  content: "📍";
  margin-right: 7px;
}

.map-box {
  height: 118px;
  background: #dfeaf3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
}

.map-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-area > p {
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}

.reviews-box h2 {
  line-height: 1.05;
  margin-bottom: 18px;
}

.reviews-box h2 span {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.1;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-grid article {
  background: var(--white);
  border-radius: 5px;
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 180px;
}

.review-grid article div {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 8px;
}

.review-grid p {
  font-size: 12px;
  color: #29384a;
  margin-bottom: 10px;
}

.review-grid strong {
  display: block;
  font-size: 12px;
  color: var(--text);
}

.review-grid span {
  color: var(--muted);
  font-size: 11px;
}

.quote-box {
  padding: 24px 0 30px 24px;
  color: var(--white);
}

.quote-box h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
}

.quote-box form {
  max-width: 390px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quote-box input,
.quote-box select,
.quote-box textarea {
  width: 100%;
  border: 1px solid #b7c1cd;
  padding: 8px;
  font-size: 12px;
}

.quote-box textarea {
  height: 54px;
  resize: none;
}

.quote-box button {
  margin: 8px auto 0;
  width: 250px;
  background: var(--gold);
  color: #061d38;
  border: none;
  padding: 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

/* ===================== */
/* FOOTER                */
/* ===================== */

.site-footer {
  background: linear-gradient(90deg, #031d3c, #073867);
  color: var(--white);
}

.footer-grid {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1.35fr 1.05fr 0.95fr 1.25fr 0.75fr;
  gap: 24px;
  align-items: center;
}

.footer-grid img {
  width: 230px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-grid p,
.footer-grid a {
  font-size: 12px;
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 12px;
}

.footer-logo-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.footer-logo-box img {
  width: 230px;
  max-width: 100%;
  display: block;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.footer-facebook span {
  width: 22px;
  height: 22px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.footer-award img {
  width: 120px;
  height: auto;
  display: block;
  margin-left: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 14px 40px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-bottom p:first-child {
  text-align: left;
}

.footer-bottom p:last-child {
  text-align: right;
}

.g7-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.g7-credit img {
  height: 24px;
  width: auto;
}

/* ===================== */
/* MOBILE NAVIGATION     */
/* ===================== */

.mobile-nav {
  display: none;
}

/* ===================== */
/* MEDIA QUERIES         */
/* ===================== */

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .top-bar-inner {
    height: 30px;
    justify-content: center;
    font-size: 11px;
  }

  .top-bar-inner span:first-child,
  .top-bar-inner span:last-child {
    display: none;
  }

  .header-inner {
    height: 86px;
  }

  .logo-wrap img {
    width: 205px;
  }

  .desktop-nav,
  .header-quote {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 360px;
    background:
      linear-gradient(180deg, rgba(2, 24, 50, 0.92), rgba(2, 24, 50, 0.58)),
      url("/assets/img/inx/hero.jpg");
    background-size: cover;
    background-position: center;
  }

  .hero-text {
    width: 100%;
    padding: 38px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    display: grid;
    gap: 10px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item {
    min-height: 122px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px 8px;
  }

  .trust-icon {
    font-size: 38px;
  }

  .stars {
    font-size: 24px;
  }

  .people-icon {
    width: 54px;
    height: 54px;
  }

  .trust-item strong {
    font-size: 15px;
  }

  .trust-item span {
    font-size: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 74px 1fr;
    padding: 26px 24px;
  }

  .split-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .why-gallery {
    padding-top: 32px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .mini-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-content {
    background: var(--light);
  }

  .quote-box {
    background: var(--navy);
    margin: 0 -16px;
    padding: 24px 16px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 0;
    text-align: center;
  }

  .footer-grid img {
    margin: 0 auto;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    text-align: center;
  }
}