* {
  box-sizing: border-box;
}

:root {
  --bg: #eef4fb;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #12264f;
  --muted: #5f6f8f;
  --primary: #123a72;
  --primary-2: #1f67c6;
  --accent: #27a46b;
  --line: rgba(18, 58, 114, 0.12);
  --shadow: 0 18px 42px rgba(18, 38, 79, 0.08);
  --shadow-strong: 0 24px 54px rgba(18, 38, 79, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Segoe UI, Arial, sans-serif;
  background: linear-gradient(180deg, #f5f8fe 0%, #edf3fb 100%);
  color: var(--text);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 248, 254, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand small {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo,
.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 0.3rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 79, 0.12);
}

.links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 700;
}

.links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.links a:hover,
.footer a:hover {
  color: var(--primary-2);
}

.menu {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.18rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 28px rgba(31, 103, 198, 0.2);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

.nav-cta {
  white-space: nowrap;
}

.panel,
.service-card,
.tab-panel,
.side-card,
.timeline-card,
.trust-panel,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-section {
  padding: 1.5rem 0 1rem;
}

.hero,
.service-grid,
.pricing-wrap,
.process-wrap,
.contact-wrap,
.stats,
.grid2,
.footer-row,
.detail-list {
  display: grid;
  gap: 1rem;
}

.hero {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.side-card,
.timeline-card,
.contact-card {
  padding: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.5rem 0.84rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.86rem;
}

.eyebrow.soft {
  background: #eef9f3;
  color: #19784d;
}

.hero-copy h1,
.section-head h2 {
  margin: 0.9rem 0 1rem;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 15ch;
}

.hero-copy p,
.section-head p,
.hero-visual-copy p,
.service-body p,
.timeline-step p,
.side-card p,
.form-note,
.mini-note,
.detail-list span,
.addon-list span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.2rem;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-image-wrap,
.service-media,
.trust-image-wrap,
.contact-image-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
}

.hero-image {
  width: 100%;
  min-height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.hero-visual-copy h3,
.side-card h3,
.trust-copy h3 {
  margin: 0.75rem 0 0.65rem;
  font-size: 1.45rem;
}

.section {
  padding: 1.1rem 0 1.35rem;
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head.left h2 {
  max-width: 14ch;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  overflow: hidden;
}

.service-image,
.trust-image,
.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-image {
  aspect-ratio: 4 / 5;
}

.service-card:hover .service-image,
.trust-panel:hover .trust-image,
.side-card:hover .contact-image {
  transform: scale(1.04);
}

.service-body {
  padding: 1.1rem;
}

.service-body h3 {
  margin: 0 0 0.55rem;
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.property-card {
  overflow: hidden;
}

.property-media {
  overflow: hidden;
}

.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image {
  transform: scale(1.04);
}

.property-body {
  padding: 1.1rem;
}

.property-tag {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.property-body h3 {
  margin: 0 0 0.45rem;
}

.property-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.pricing-section {
  background: linear-gradient(180deg, rgba(232, 240, 252, 0.52), rgba(245, 250, 255, 0));
}

.pricing-wrap {
  grid-template-columns: 1.06fr 0.94fr;
  align-items: start;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.tab-row button {
  padding: 0.82rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.tab-row button.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.service-list {
  display: grid;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.service-item span:last-child {
  font-weight: 800;
  color: var(--primary);
}

.addon-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.addon-list li,
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.addon-list li:last-child,
.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.addon-list strong,
.detail-list strong {
  color: var(--text);
}

.mini-note {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid var(--line);
}

.process-wrap {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child {
  border-bottom: 0;
}

.step-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: var(--primary);
  font-weight: 900;
}

.trust-panel {
  overflow: hidden;
}

.trust-copy {
  padding: 1.2rem;
}

.trust-image {
  aspect-ratio: 4 / 3;
}

.detail-list {
  margin-top: 1rem;
}

.contact-section {
  padding-bottom: 2rem;
}

.contact-wrap {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-image-wrap {
  margin-top: 1rem;
  max-height: 300px;
}

.contact-image {
  aspect-ratio: 4 / 3;
}

.form {
  display: grid;
  gap: 0.95rem;
}

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

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(31, 103, 198, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 103, 198, 0.12);
}

.form-note.success {
  color: #19784d;
  font-weight: 700;
}

.footer {
  padding: 0 0 1.5rem;
  color: var(--muted);
}

.footer-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #20bb69);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.25);
}

.hover-lift {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-sm {
  transition-delay: 0.08s;
}

.reveal-delay,
.reveal-delay-md {
  transition-delay: 0.16s;
}

.reveal-delay-lg {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .hero,
  .service-grid,
  .property-gallery,
  .pricing-wrap,
  .process-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.5rem 0 0.2rem;
  }

  .links.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-cta {
    order: 4;
    width: 100%;
  }

  .stats,
  .grid2,
  .property-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .stats,
  .grid2,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .brand small {
    max-width: 12rem;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .brand span {
    max-width: 12rem;
  }

  .floating-whatsapp span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
