:root {
  --red: #ed1c24;
  --red-dark: #c70f18;
  --navy: #06223b;
  --navy-2: #0a2f4f;
  --text: #101010;
  --muted: #68717a;
  --line: #e8ebef;
  --bg: #f7f9fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}


/* TOPBAR */

.topbar {
  height: 38px;
  background: #f4f5f6;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
  color: #444;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-links {
  display: flex;
  gap: 22px;
}

.topbar-links a:hover {
  color: var(--red);
}


/* HEADER */

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-icon {
  color: var(--red);
  font-size: 37px;
  line-height: 1;
}

.logo strong {
  color: var(--red);
}

.logo b {
  color: #081c2d;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

nav a {
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

nav a:hover {
  color: var(--red);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 14px;
  transition: .25s;
}

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

.btn-primary,
.btn-header {
  background: var(--red);
  color: white;
  box-shadow: 0 10px 30px rgba(237, 28, 36, .22);
}

.btn-primary:hover,
.btn-header:hover {
  background: var(--red-dark);
}

.btn-header {
  min-height: 46px;
  padding-inline: 20px;
}


/* HERO */

.hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.90) 37%, rgba(255,255,255,.12) 70%),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=88");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.06));
}

.hero-content {
  min-height: 520px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}

.hero-text {
  max-width: 680px;
  padding-block: 60px;
}

.eyebrow,
.section-label,
.cta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: .8px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -2.8px;
  font-weight: 900;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--red);
}

.hero p {
  max-width: 600px;
  font-size: 17px;
  color: #252b30;
  margin-bottom: 24px;
}

.hero small {
  display: block;
  margin-top: 12px;
  color: #535a60;
}

.hero-shield {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield {
  width: 230px;
  height: 270px;
  border: 11px solid rgba(237,28,36,.72);
  border-radius: 90px 90px 115px 115px;
  clip-path: polygon(50% 0, 100% 20%, 93% 75%, 50% 100%, 7% 75%, 0 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237,28,36,.08);
  backdrop-filter: blur(2px);
  transform: rotate(-3deg);
}

.house {
  font-size: 120px;
  color: white;
  text-shadow: 0 5px 20px rgba(0,0,0,.2);
}


/* BENEFITS */

.benefits {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 105px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 22px;
}

.benefit + .benefit {
  border-left: 1px solid #f0f0f0;
}

.benefit-icon {
  font-size: 35px;
  color: var(--red);
  font-weight: 900;
}

.benefit h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}


/* GENERIC */

.section {
  padding: 80px 0;
}

.section-small {
  padding: 0 0 70px;
}


/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 58px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
}

.about-image img {
  height: 370px;
  object-fit: cover;
}

.about-content h2,
.section-header h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.about-content p {
  color: #5d6670;
  margin-bottom: 18px;
  font-size: 15px;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
}

.partner {
  display: block;
  margin-top: 10px;
  color: #69727a;
}


/* SERVICE CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(10, 30, 50, .04);
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(237,28,36,.35);
  box-shadow: 0 15px 35px rgba(10, 30, 50, .09);
}

.service-icon {
  color: var(--red);
  font-size: 38px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
  min-height: 62px;
}

.service-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}


/* CTA */

.cta-section {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(90deg, rgba(4,37,64,.96), rgba(4,37,64,.70)),
    url("https://images.unsplash.com/photo-1524230572899-a752b3835840?auto=format&fit=crop&w=1900&q=85");
  background-size: cover;
  background-position: center;
  color: white;
}

.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-inner {
  position: relative;
  z-index: 2;
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.cta-label {
  color: #cfe1f0;
}

.cta-inner h2 {
  font-size: 38px;
  line-height: 1.08;
  margin-bottom: 11px;
}

.cta-inner p {
  max-width: 650px;
  color: #e6eef5;
}

.cta-action {
  text-align: center;
}

.cta-action small {
  display: block;
  margin-top: 9px;
  color: #e6eef5;
}


/* BLOG */

.blog {
  background: #fff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 28px;
}

.section-header p {
  color: var(--muted);
}

.section-header > a {
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.blog-card img {
  height: 185px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-content p {
  color: var(--muted);
  font-size: 14px;
  min-height: 65px;
}

.blog-content a {
  display: inline-block;
  margin-top: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}


/* FOOTER */

.footer {
  background: var(--navy);
  color: white;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: 50px;
  padding-bottom: 45px;
}

.footer-logo strong,
.footer-logo b,
.footer-logo .logo-icon {
  color: white;
}

.footer-brand p,
.footer-grid p {
  color: #b9c9d6;
  font-size: 13px;
  margin-top: 15px;
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-grid > div > a:not(.logo) {
  display: block;
  color: #c9d5de;
  font-size: 13px;
  margin-bottom: 7px;
}

.footer-grid a:hover {
  color: white;
}

.footer-partner {
  color: white !important;
  font-weight: 800;
  margin-top: 12px;
}

.footer-bottom {
  min-height: 70px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #a9bbc8;
  font-size: 12px;
}

.footer-bottom a {
  color: white;
  font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 12px;
  }

  .btn-header {
    display: none;
  }

  .benefits-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit:nth-child(3) {
    border-left: 0;
  }

}

@media (max-width: 820px) {

  .topbar-links {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: relative;
  }

  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,.13);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 10px;
    font-size: 14px;
  }

  .hero {
    background-position: 65% center;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    max-width: 580px;
  }

  .hero-shield {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding-block: 45px;
    gap: 25px;
  }

  .cta-action {
    text-align: left;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 580px) {

  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    height: 34px;
  }

  .nav {
    height: 69px;
  }

  nav {
    top: 69px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    font-size: 30px;
  }

  .hero {
    min-height: 510px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.80)),
      url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=80");
    background-position: center;
  }

  .hero-content {
    min-height: 510px;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }

  .hero p {
    font-size: 15px;
  }

  .benefits-grid,
  .cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-left: 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .section {
    padding: 58px 0;
  }

  .about-content h2,
  .section-header h2 {
    font-size: 34px;
  }

  .about-image img {
    height: 280px;
  }

  .cta-inner h2 {
    font-size: 31px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: 20px;
  }

}


/* FLOAT CONTACT */

.float-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.float-call,
.float-whatsapp {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 205px;
  padding: 11px 15px 11px 11px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.float-call {
  background: #071f35;
}

.float-whatsapp {
  background: #25D366;
}

.float-call:hover,
.float-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 38px rgba(0,0,0,.26);
}

.float-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}

.float-icon svg {
  width: 24px;
  height: 24px;
}

.whatsapp-icon svg {
  width: 27px;
  height: 27px;
}

.float-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.float-copy small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  opacity: .82;
  margin-bottom: 3px;
}

.float-copy strong {
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 580px) {

  .float-contact {
    right: 13px;
    bottom: 13px;
    gap: 8px;
  }

  .float-call,
  .float-whatsapp {
    min-width: 0;
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .float-icon {
    width: 55px;
    height: 55px;
    background: transparent;
  }

  .float-icon svg {
    width: 27px;
    height: 27px;
  }

  .whatsapp-icon svg {
    width: 32px;
    height: 32px;
  }

  .float-copy {
    display: none;
  }

}

/* MOBILE FINAL FIX */

@media (max-width: 580px) {

  body {
    overflow-x: hidden;
    padding-bottom: 85px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-text {
    padding: 48px 0 55px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.06;
    letter-spacing: -1.3px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-buttons,
  .hero-buttons .btn,
  .about-content .btn,
  .cta-action .btn {
    width: 100%;
  }

  .service-card {
    padding: 22px;
  }

  .service-card p {
    min-height: auto;
  }

  .blog-content p {
    min-height: auto;
  }

  .about-grid,
  .blog-grid,
  .cards-grid,
  .footer-grid {
    gap: 20px;
  }

  .cta-inner {
    min-height: auto;
  }

  .float-contact {
    right: 12px;
    bottom: 12px;
  }

  .float-call,
  .float-whatsapp {
    width: 54px;
    height: 54px;
  }

}

/* DASK BLOG IMAGE FIX */

.blog-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #071f35;
}

.blog-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(6,34,59,.12);
}

@media (max-width: 580px) {
  .blog-card img {
    height: 190px;
  }
}
