:root {
  --blue-dark: #16396b;
  --blue-main: #284f93;
  --blue-soft: #eff3fb;
  --teal: #1ea7a1;
  --teal-dark: #148984;
  --green: #42b883;
  --orange: #f39a37;
  --text: #22304a;
  --muted: #6c7891;
  --white: #ffffff;
  --border: #e8ecf4;
  --shadow: 0 20px 50px rgba(33, 53, 85, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #ffffff 0%, #f4f6fb 55%, #edf1f9 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 39, 79, 0.95), rgba(34, 80, 149, 0.72)),
    url('https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 24px 0 110px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 25, 50, 0.15), rgba(8, 25, 50, 0.25));
  pointer-events: none;
}

.topbar,
.hero-content,
.search-bar {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(77, 214, 221, 0.16);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: #6fe5e8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
}

.nav a.active {
  border-bottom: 2px solid #8feaf0;
  padding-bottom: 4px;
}

.btn-contact {
  background: var(--orange);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(243, 154, 55, 0.28);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 20px 0 28px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #d8f7f7;
  font-size: 0.95rem;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero-left h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.hero-left p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 650px;
  margin: 22px 0 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 18px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 35px rgba(0,0,0,0.14);
}

.btn-orange {
  background: var(--orange);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.btn-blue {
  background: var(--blue-main);
}

.hero-image-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 34px;
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.22);
}

.hero-image-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 26px;
}

.search-bar {
  margin-top: 10px;
  background: rgba(255,255,255,0.96);
  border-radius: 26px;
  padding: 10px;
  display: grid;
  grid-template-columns: 140px 140px 1.4fr 160px 150px 90px 170px;
  gap: 10px;
  box-shadow: 0 20px 45px rgba(14, 31, 61, 0.22);
}

.search-bar button,
.search-bar input {
  height: 58px;
  border-radius: 18px;
  border: 1px solid #e5eaf3;
  font-size: 1rem;
}

.search-bar button {
  background: #fff;
  color: #50607d;
  cursor: pointer;
  font-weight: 600;
}

.search-bar input {
  padding: 0 18px;
  outline: none;
  color: #44516a;
}

.search-btn {
  background: var(--blue-main) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
}

/* SECTIONS */
.section {
  padding: 82px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #243454;
}

.section-title p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 760px;
  line-height: 1.7;
}

/* MAIN 4 CARDS */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.main-card {
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}

.main-card.warm {
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 100%);
}

.main-card.blueish {
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
}

.main-card.greenish {
  background: linear-gradient(180deg, #f5fcf8 0%, #ffffff 100%);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

.main-card h3 {
  margin: 0;
  font-size: 2rem;
  color: #243454;
}

.main-card p {
  margin: 12px 0 24px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
  min-height: 86px;
}

.btn-card {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 15px 16px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
}

.btn-teal {
  background: linear-gradient(135deg, #2aa6a6, #2d7fbe);
}

.btn-orange {
  background: linear-gradient(135deg, #f39a37, #f47b30);
}

.btn-blue2 {
  background: linear-gradient(135deg, #298bc1, #255eaf);
}

.btn-green2 {
  background: linear-gradient(135deg, #4eb584, #2f9f8f);
}

/* SERVICES */
.services-section {
  padding-top: 20px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #f3f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.8rem;
  color: #243454;
}

.service-card p {
  margin: 12px 0 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.btn-service {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #4fb584, #2594a0);
}

/* LISTINGS */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.listing-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.listing-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.listing-body {
  padding: 24px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #243454;
}

.surface {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1rem;
}

.desc {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #344562;
}

.location {
  margin-top: 10px;
  color: var(--muted);
}

.center-btn {
  text-align: center;
  margin-top: 30px;
}

.btn-outline {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  background: #fff;
  color: #44516a;
  border: 1px solid var(--border);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
}

.contact-box,
.alert-box {
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-box {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 38px;
  backdrop-filter: blur(8px);
}

.contact-box h2 {
  margin: 0;
  font-size: 2.6rem;
  color: #243454;
  line-height: 1.15;
}

.contact-box p {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 760px;
}

.alert-box {
  background: linear-gradient(135deg, #244a89, #16396b);
  color: #fff;
  padding: 38px;
}

.alert-box h3 {
  margin: 0;
  font-size: 2rem;
}

.alert-box p {
  margin: 14px 0 24px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.alert-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.alert-form input {
  flex: 1;
  min-width: 220px;
  height: 56px;
  border: none;
  outline: none;
  border-radius: 16px;
  padding: 0 18px;
  color: #44516a;
}

.alert-form button {
  height: 56px;
  border: none;
  border-radius: 16px;
  padding: 0 22px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: #0f2f5d;
  color: #fff;
  padding: 26px 0;
  margin-top: 10px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
}

.footer-logo span {
  color: #6fe5e8;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.82);
}

/* RESPONSIVE */
@media (max-width: 1150px) {
  .hero-content,
  .contact-grid,
  .cards-4,
  .cards-3,
  .listing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .search-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .nav {
    display: none;
  }

  .section-title h2,
  .contact-box h2 {
    font-size: 2.2rem;
  }

  .hero-left h1 {
    font-size: 2.8rem;
  }

  .hero-left p {
    font-size: 1.05rem;
  }

  .cards-4,
  .cards-3,
  .listing-grid,
  .contact-grid,
  .search-bar {
    grid-template-columns: 1fr;
  }

  .main-card p {
    min-height: auto;
  }

  .hero {
    padding-bottom: 70px;
  }
}