/* =========================================
   SECTION BASE
========================================= */
.realestate-hero {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
  background: #071327;
  font-family: Inter, system-ui;
}

/* BACKGROUND IMAGE BLEND */
.realestate-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg, rgba(7,19,39,0.95) 20%, rgba(7,19,39,0.7) 50%, rgba(7,19,39,0.3)),
    url("../images/real-estate/herosecbg.png");

  background-size: cover;
  background-position: center right;

  opacity: 0.9;
  z-index: 0;
}

/* =========================================
   CONTAINER
========================================= */
.hero-container {
  position: relative;
  z-index: 2;

  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =========================================
   LEFT CONTENT
========================================= */
.hero-content {
  max-width: 620px;
}

/* BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;

  color: #6ea8ff;
  background: rgba(30, 60, 110, 0.4);
  border: 1px solid rgba(80,140,255,.25);

  margin-bottom: 26px;
}

/* TITLE */
.hero-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title span {
  color: #ff6b1b;
}

/* DESCRIPTION */
.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #9fb1c7;
  margin-bottom: 34px;
}

/* =========================================
   BUTTONS
========================================= */
.hero-actions {
  display: flex;
  gap: 18px;
}

.btn-primary {
  background: #ff6b1b;
  color: white;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(255,107,27,.3);
  transition: all .3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255,107,27,.5);
}

/* SECONDARY */
.btn-secondary {
  padding: 16px 28px;
  border-radius: 10px;

  color: #d3dbe7;
  border: 1px solid rgba(255,255,255,.2);
  text-decoration: none;

  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);

  transition: all .3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.08);
}

/* =========================================
   IMAGE
========================================= */
.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image {
  position: relative;
  max-width: 520px;

  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 40px rgba(80,140,255,.1);
}

.hero-image img {
  width: 100%;
  display: block;
}

/* =========================================
   FLOATING CARD
========================================= */
.floating-card {
  position: absolute;

  bottom: -30px;
  left: 20px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;

  box-shadow:
    0 20px 40px rgba(0,0,0,.2);

  animation: floatCard 5s ease-in-out infinite;
}

/* CARD TEXT */
.floating-card span {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.floating-card strong {
  font-size: 20px;
  color: #ff6b1b;
}

/* ICON */
.card-icon {
  font-size: 20px;
}

/* FLOAT ANIMATION */
@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1000px) {

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-media {
    margin-top: 40px;
  }

  .floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
}

.hero-image {
  position: relative;
  max-width: 520px;

  border-radius: 20px;
  overflow: visible; /* ✅ allow card to escape */

  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 40px rgba(80,140,255,.1);
}

/* clip ONLY the image, not the container */
.hero-image img {
  width: 100%;
  display: block;
  border-radius: 20px; /* keeps image rounded */
}
.floating-card {
  position: absolute;

  bottom: -40px;   /* pushes OUTSIDE */
  left: 30px;

  z-index: 3;      /* ensures it sits above */

  display: flex;
  align-items: center;
  gap: 14px;

  background: #ffffff;
  padding: 18px 22px;
  border-radius: 14px;

  box-shadow:
    0 25px 60px rgba(0,0,0,.25),
    0 0 20px rgba(80,140,255,.08);

  animation: floatCard 5s ease-in-out infinite;
}
.hero-image::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;

  transform: translateX(-50%);

  width: 80%;
  height: 40px;

  background: radial-gradient(
    ellipse,
    rgba(0,0,0,.25),
    transparent
  );

  filter: blur(10px);
  z-index: 1;
}

/* PHILOSOPHY */

.property-section {
  padding: 120px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui, sans-serif;
}

.property-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 770px);
  gap: 72px;
  align-items: center;
}

.property-content {
  max-width: 560px;
}

.property-badge {
  display: inline-block;
  margin-bottom: 18px;
  color: #f26a21;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.property-content h2 {
  margin: 0 0 28px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.property-desc {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.75;
  color: #64748b;
  max-width: 520px;
}

.property-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.property-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.property-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
}

.check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  border: 2px solid #4f8dfd;
  color: #4f8dfd;
  font-size: 12px;
  font-weight: 700;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 274px 340px;
  gap: 20px;
  align-items: stretch;
}

.grid-item {
  border-radius: 20px;
  overflow: hidden;
  background: #dfe6ee;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transition: transform .35s ease, box-shadow .35s ease;
}

.grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.grid-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.grid-item:hover img {
  transform: scale(1.04);
}

/* exact position layout */
.grid-item--1 {
  grid-column: 1;
  grid-row: 1;
}

.grid-item--2 {
  grid-column: 2;
  grid-row: 1;
}

.grid-item--3 {
  grid-column: 1;
  grid-row: 2;
}

.grid-item--4 {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 1100px) {
  .property-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .property-content {
    max-width: 100%;
  }

  .property-content h2 {
    font-size: 44px;
  }

  .property-desc {
    max-width: 100%;
  }

  .property-grid {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .property-section {
    padding: 80px 20px;
  }

  .property-content h2 {
    font-size: 34px;
  }

  .property-desc {
    font-size: 16px;
  }

  .property-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .grid-item--1,
  .grid-item--2,
  .grid-item--3,
  .grid-item--4 {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }
}
/* =========================================
   GRID WRAPPER
========================================= */
.property-grid {
  display: flex;
  gap: 24px;
}

/* COLUMNS */
.col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 🔥 THIS creates the offset layout */
.col-right {
  margin-top: 80px; /* adjust to match screenshot */
}

/* =========================================
   IMAGE CARDS
========================================= */
.grid-item {
  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 20px 50px rgba(0,0,0,.12);

  transition: all .35s ease;
}

/* IMAGE */
.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

  transition: transform .6s ease;
}

/* HOVER */
.grid-item:hover img {
  transform: scale(1.05);
}

.grid-item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 25px 60px rgba(0,0,0,.18);
}


/* SOLUTIONS {} */

/* =========================
   BASE
========================= */
.enterprise {
  background: linear-gradient(180deg, #071327, #091a34);
  padding: 120px 40px;
  font-family: Inter, system-ui;
}

.container {
  max-width: 1300px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
.enterprise-header {
  text-align: center;
  margin-bottom: 70px;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s ease forwards;
}

.enterprise-header h2 {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.enterprise-header p {
  font-size: 17px;
  color: #8ea2bd;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* =========================
   GRID
========================= */
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* =========================
   CARD
========================= */
.enterprise-card {
  background: #f3f4f6;
  padding: 34px;
  border-radius: 20px;

  transition: all .35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);

  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);
}

/* stagger animation */
.enterprise-card:nth-child(1) { animation: fadeUp .6s .2s forwards; }
.enterprise-card:nth-child(2) { animation: fadeUp .6s .4s forwards; }
.enterprise-card:nth-child(3) { animation: fadeUp .6s .6s forwards; }
.enterprise-card:nth-child(4) { animation: fadeUp .6s .8s forwards; }

/* hover */
.enterprise-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0,0,0,.2),
    0 0 30px rgba(80,140,255,.15);
}

/* subtle shine */
.enterprise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.2),
    transparent
  );
  transition: .7s;
}

.enterprise-card:hover::before {
  left: 120%;
}

/* =========================
   ICON
========================= */
.icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  margin-bottom: 22px;

  transition: transform .3s ease;
}

/* icon hover */
.enterprise-card:hover .icon {
  transform: scale(1.15) rotate(4deg);
}

/* colors */
.icon.orange {
  background: #fde7d8;
  color: #f25c0d;
}

.icon.blue {
  background: #e3ecff;
  color: #4f7cff;
}

/* =========================
   TEXT
========================= */
.enterprise-card h3 {
  font-size: 20px;
  color: #111827;
  margin-bottom: 12px;
}

.enterprise-card p {
  font-size: 15px;
  color: #6b7a90;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* =========================
   LINK
========================= */
.enterprise-card a {
  font-size: 14px;
  font-weight: 600;
  color: #f25c0d;
  text-decoration: none;
  position: relative;
}

.enterprise-card a.blue-link {
  color: #4f7cff;
}

/* underline animation */
.enterprise-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: .3s;
}

.enterprise-card a:hover::after {
  width: 100%;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .enterprise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-header h2 {
    font-size: 32px;
  }
}

.enterprise-card {
  background: #f3f4f6;
  padding: 34px;
  border-radius: 20px;

  transition: all .35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);

  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);
}

/* IOT STACK  */

.iot-stack {
  padding: 120px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

.stack-container {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.stack-badge {
  color: #f25c0d;
  font-size: 13px;
  letter-spacing: .15em;
  font-weight: 700;
}

.stack-title {
  font-size: 48px;
  font-weight: 800;
  margin: 14px 0 40px;
  color: #0f172a;
}

.stack-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .7s ease forwards;
}

.stack-item:nth-child(3){ animation-delay:.2s }
.stack-item:nth-child(4){ animation-delay:.4s }

.stack-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
}

.stack-icon.orange {
  background: #fde7d8;
  color: #f25c0d;
}

.stack-item h4 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #111827;
}

.stack-item p {
  margin: 0;
  color: #6b7a90;
  font-size: 15px;
  line-height: 1.6;
}

/* RIGHT */
.stack-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

/* METRIC CARD */
.metric-card {
  flex: 1;
  padding: 36px;
  border-radius: 22px;
  text-align: center;

  transition: all .35s ease;
  cursor: pointer;

  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.metric-card i {
  font-size: 22px;
  margin-bottom: 16px;
  display: block;
}

.metric-card h3 {
  font-size: 34px;
  margin: 6px 0;
  font-weight: 800;
}

.metric-card span {
  font-size: 14px;
  opacity: .8;
}

/* COLORS */
.metric-card.dark {
  background: #1e3557;
  color: #fff;
}

.metric-card.orange {
  background: #f25c0d;
  color: #fff;
}

/* HOVER */
.metric-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 70px rgba(0,0,0,.2);
}

/* INTEGRATIONS */
.integrations {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.int-label {
  color: #f25c0d;
  font-weight: 600;
}

.int-icons {
  display: flex;
  gap: 10px;
}

.int-icons div {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #1e3557;
  color: #fff;
  font-size: 12px;

  transition: all .3s ease;
}

/* hover bounce */
.int-icons div:hover {
  transform: translateY(-6px);
  background: #f25c0d;
}

/* NOTE */
.int-note {
  color: #6b7a90;
  font-size: 14px;
}

/* ANIMATION */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .stack-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stack-item {
    justify-content: center;
    text-align: left;
  }

  .stack-cards {
    flex-direction: column;
  }

  .integrations {
    flex-direction: column;
    gap: 20px;
  }
}

/* COMAPRISON  */


.twin-wrap {
  padding: 110px 40px;
  background: linear-gradient(180deg,#071327,#0b1f3f);
  text-align: center;
  font-family: Inter, system-ui;
}

.twin-heading {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 60px;
}

/* GRID */
.twin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}

/* CARD */
.twin-box {
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  transition: all .35s ease;
  box-shadow: 0 25px 70px rgba(0,0,0,.4);
}

/* hover */
.twin-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(0,0,0,.6);
}

/* TOP SECTION */
.twin-top {
  padding: 28px 34px 26px;
}

/* HEADER */
.twin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.twin-head h3 {
  font-size: 20px;
  margin: 0;
}

/* BADGE */
.badge {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.badge.gray {
  background: #e5e7eb;
  color: #6b7280;
}

.badge.white {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* LIST BASE */
.twin-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.twin-box ul li {
  font-size: 15px;
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
}

/* CROSS */
.list-cross li {
  color: #6b7280;
}

.list-cross li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-weight: bold;
}

/* CHECK */
.list-check li {
  color: #fff;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
}

/* IMAGE */
.twin-img img {
  width: 100%;
  display: block;
  transition: transform .6s ease;
}

/* image hover */
.twin-box:hover img {
  transform: scale(1.05);
}

/* THEMES */
.twin-light {
  background: #f3f4f6;
}

.twin-orange {
  background: #f25c0d;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .twin-grid {
    grid-template-columns: 1fr;
  }

  .twin-heading {
    font-size: 30px;
  }
}

.twin-img {
  height: 260px; /* 🔥 controls exact visual height like design */
  overflow: hidden;
}

.twin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ✅ KEY: fills perfectly without distortion */
  object-position: center;
  display: block;
}
.iot-stack::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 250px;
  height: 250px;

  background: radial-gradient(
    circle,
    rgba(255,140,60,0.25),
    transparent 70%
  );

  filter: blur(40px);
  z-index: 0;
}

.stack-container {
  position: relative;
  z-index: 2;
}

.iot-stack {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.iot-stack::before {
  content: "";
  position: absolute;

  top: -150px;
  left: -150px;

  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(242,92,13,0.45) 0%,
    rgba(242,92,13,0.25) 30%,
    rgba(242,92,13,0.1) 55%,
    transparent 75%
  );

  filter: blur(80px);

  z-index: 0;
}

/* STATS */

/* SECTION */
.stats {
  padding: 100px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.stats-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

/* ITEM */
.stat {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.stat:nth-child(1){ animation-delay: .2s; }
.stat:nth-child(2){ animation-delay: .4s; }
.stat:nth-child(3){ animation-delay: .6s; }

/* NUMBER */
.stat h2 {
  font-size: 64px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

/* TEXT */
.stat p {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #f25c0d;
  font-weight: 600;
  text-transform: uppercase;
}

/* ORANGE LINE */
.stat span {
  display: block;
  width: 70px;
  height: 4px;
  background: #f25c0d;
  margin: 14px auto 0;
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: center;
  animation: lineGrow 0.6s ease forwards;
}

.stat:nth-child(1) span { animation-delay: .6s; }
.stat:nth-child(2) span { animation-delay: .8s; }
.stat:nth-child(3) span { animation-delay: 1s; }

/* HOVER (premium subtle) */
.stat:hover h2 {
  transform: scale(1.05);
  transition: .3s ease;
}

.stat:hover span {
  width: 90px;
}

/* ANIMATION */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat h2 {
    font-size: 48px;
  }
}

/* CTA */
/* SECTION */
.cta-split {
  padding: 100px 40px;
  background: radial-gradient(circle at center, #0b1f3f, #071327);
  font-family: Inter, system-ui;
}

/* CONTAINER */
.cta-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  border-radius: 28px;
  overflow: hidden;

  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}

/* LEFT */
.cta-left {
  background: #1f3658;
  padding: 70px 60px;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-left h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-left p {
  color: #b7c6db;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* USERS */
.cta-users {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #1f3658;
  margin-left: -10px;
}

/* RIGHT */
.cta-right {
  background: #f3f4f6;
  padding: 60px;
}

/* FORM */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ROW */
.row {
  display: flex;
  gap: 14px;
}

/* INPUT GROUP */
.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.input-group label {
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 600;
}

.input-group input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;

  transition: all .25s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #f25c0d;
  box-shadow: 0 0 0 2px rgba(242,92,13,.15);
}

/* BUTTON */
.cta-btn {
  margin-top: 10px;
  padding: 16px;
  border-radius: 12px;

  background: #f25c0d;
  color: white;
  font-weight: 700;
  border: none;

  cursor: pointer;

  box-shadow: 0 15px 35px rgba(242,92,13,.4);
  transition: all .3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(242,92,13,.5);
}

/* NOTE */
.cta-note {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin-top: 8px;
}

/* ======================
   ANIMATION
====================== */
.cta-left, .cta-right {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .9s ease forwards;
}

.cta-right {
  animation-delay: .3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {
  .cta-container {
    grid-template-columns: 1fr;
  }

  .cta-left, .cta-right {
    padding: 40px 30px;
  }

  .row {
    flex-direction: column;
  }
}

/* =================================
   REAL ESTATE PAGE BUTTON EFFECTS
   matched to actual button colors
   ================================= */

.btn-primary,
.btn-secondary,
.cta-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    color .45s ease,
    background-color .45s ease,
    background .45s ease,
    border-color .45s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

/* animated layers */
.btn-primary::before,
.btn-secondary::before,
.cta-btn::before,
.btn-primary::after,
.btn-secondary::after,
.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .35s ease,
    background .45s ease;
}

/* subtle fill sweep */
.btn-primary::before,
.btn-secondary::before,
.cta-btn::before {
  transform: translateX(-102%);
}

/* gloss sweep */
.btn-primary::after,
.btn-secondary::after,
.cta-btn::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.07) 35%,
    rgba(255,255,255,.16) 50%,
    rgba(255,255,255,.07) 65%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  opacity: 0;
}

.btn-primary:hover,
.btn-secondary:hover,
.cta-btn:hover {
  transform: translateY(-3px);
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.cta-btn:hover::before {
  transform: translateX(0);
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.cta-btn:hover::after {
  transform: translateX(130%) skewX(-20deg);
  opacity: 1;
}

.btn-primary:active,
.btn-secondary:active,
.cta-btn:active {
  transform: translateY(-1px);
}

/* keep text above layers */
.btn-primary,
.btn-secondary,
.cta-btn {
  z-index: 1;
}

/* ---------------------------------
   PRIMARY BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.btn-primary {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 12px 32px rgba(255,120,40,.30);
}

.btn-primary::before {
  background: rgba(255,122,50,.05);
}

.btn-primary:hover {
  background: rgba(255,122,50,.02);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 14px 30px rgba(255,120,40,.14);
}

/* ---------------------------------
   SECONDARY BUTTON
   translucent -> slightly brighter
   --------------------------------- */
.btn-secondary {
  background: rgba(255,255,255,.03);
  color: #ecf2fb !important;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.btn-secondary::before {
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.035);
  color: #ffffff !important;
  border-color: rgba(255,255,255,.20);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 12px 26px rgba(0,0,0,.16);
}

/* ---------------------------------
   CTA BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.cta-btn {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 10px 25px rgba(255,122,50,.35);
}

.cta-btn::before {
  background: rgba(255,122,50,.05);
}

.cta-btn:hover {
  background: rgba(255,122,50,.02);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 16px 32px rgba(255,122,50,.16);
}

/* focus */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.cta-btn:focus-visible {
  outline: 2px solid rgba(90,150,255,.7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-secondary,
  .cta-btn,
  .btn-primary::before,
  .btn-secondary::before,
  .cta-btn::before,
  .btn-primary::after,
  .btn-secondary::after,
  .cta-btn::after {
    transition: none !important;
  }
}