:root {
  --navy: #0f2742;
  --navy-soft: #18385c;
  --white: #ffffff;
  --beige: #f5f0e7;
  --beige-deep: #e7dcc8;
  --gold: #c8a96a;
  --text: #1f2a36;
  --muted: #5e6874;
  --shadow: 0 10px 30px rgba(15, 39, 66, 0.12);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 39, 66, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.brand {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  color: #f0f3f8;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--gold);
}

.hero {
  padding: 4.5rem 0 3.75rem;
  background: linear-gradient(180deg, #112b49 0%, #1a3b60 100%);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #e8d8bb;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero p {
  margin: 1rem 0 0;
  color: #e6edf6;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.86rem 1.3rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

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

.btn-whatsapp {
  background: #25d366;
  color: #062f15;
}

.btn-call {
  background: transparent;
  border-color: #d9e1ec;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: #7f632f;
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.trust-bar {
  background: var(--beige);
  border-top: 1px solid var(--beige-deep);
  border-bottom: 1px solid var(--beige-deep);
}

.trust-items {
  min-height: 68px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.6rem;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #3b4b59;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: #f7f4ee;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  color: var(--navy);
}

.services-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.benefit-card {
  background: var(--white);
  border: 1px solid #e7e1d5;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 6px 14px rgba(15, 39, 66, 0.06);
}

.service-card h3,
.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy-soft);
}

.service-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.work-process {
  background: #fcfaf5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  background: var(--white);
  border: 1px solid #e7e1d5;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 6px 14px rgba(15, 39, 66, 0.06);
}

.process-card .step {
  margin: 0 0 0.45rem;
  color: #8c6b2f;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy-soft);
  font-size: 1.06rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.property-card {
  background: var(--white);
  border: 1px solid #e5dfd2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.08);
}

.property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.property-content {
  padding: 1rem 1rem 1.15rem;
}

.badge {
  display: inline-block;
  background: #143250;
  color: #f0f6ff;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.badge-rent {
  background: #7f5a1a;
  color: #fff7e4;
}

.property-content h3 {
  margin: 0 0 0.35rem;
  color: #122f4d;
  line-height: 1.35;
  font-size: 1.05rem;
}

.meta {
  margin: 0;
  color: #5a6572;
  font-weight: 500;
}

.price {
  margin: 0.3rem 0 0.6rem;
  color: #8c6b2f;
  font-weight: 800;
}

.property-content p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.details {
  font-weight: 600;
  color: #2d3d4f;
}

.inline-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: #145e35;
  font-weight: 700;
}

.inline-link:hover {
  opacity: 0.8;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-top: 0.35rem;
}

.property-actions .inline-link {
  margin-top: 0;
}

.btn-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.more-properties {
  margin-top: 1.35rem;
  background: var(--white);
  border: 1px solid #e3dccf;
  border-radius: var(--radius);
  padding: 1.3rem;
  text-align: center;
}

.more-properties-title {
  margin: 0 0 0.3rem;
  font-size: 1.16rem;
  color: var(--navy);
  font-weight: 700;
}

.more-properties p {
  margin: 0 auto 1rem;
  color: var(--muted);
  max-width: 65ch;
}

.english-clients {
  background: #f2eee5;
}

.english-box {
  background: var(--white);
  border: 1px solid #dfd7c8;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.english-box h2 {
  margin-bottom: 0.75rem;
}

.english-box p {
  margin: 0 auto 1.1rem;
  max-width: 72ch;
  color: var(--muted);
}

.cta-final {
  background: linear-gradient(180deg, #102844 0%, #17365a 100%);
}

.cta-box {
  text-align: center;
  color: #f6f9fd;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.cta-box p {
  margin: 0 auto 1.35rem;
  max-width: 62ch;
}

.site-footer {
  background: #0b1f36;
  color: #dbe4f2;
  padding: 2.6rem 0 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-name {
  margin: 0 0 0.3rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: #f2d7a2;
}

.copyright {
  border-top: 1px solid rgba(219, 228, 242, 0.2);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  color: #b6c4d8;
}

.tools-section {
  background: var(--beige);
}

.tools-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.tools-eyebrow {
  margin: 0 0 0.4rem;
  color: #8c6b2f;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.tools-header h2 {
  margin: 0 0 0.6rem;
}

.tools-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.tool-card {
  background: var(--white);
  border: 1px solid #e7e1d5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tool-card-header h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.tool-tag {
  margin: 0 0 0.45rem;
  display: inline-block;
  color: #8c6b2f;
  background: rgba(200, 169, 106, 0.16);
  border: 1px solid rgba(200, 169, 106, 0.45);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}

.tool-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.tool-form {
  display: grid;
  gap: 0.85rem;
}

.tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tool-field > span {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
}

.tool-input {
  display: flex;
  align-items: stretch;
  background: #fbf9f4;
  border: 1px solid #d9d2c0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tool-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.2);
  background: var(--white);
}

.tool-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.tool-input input::-webkit-outer-spin-button,
.tool-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tool-input input[type=number] {
  -moz-appearance: textfield;
}

.tool-prefix,
.tool-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  color: #8c6b2f;
  font-weight: 700;
  background: rgba(200, 169, 106, 0.12);
}

.tool-prefix {
  border-right: 1px solid #e3dac4;
}

.tool-suffix {
  border-left: 1px solid #e3dac4;
}

.tool-input-select {
  padding: 0;
}

.tool-field-note {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}

.tool-field-warning {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(200, 169, 106, 0.12);
  border: 1px solid rgba(200, 169, 106, 0.45);
  color: #6e4a18;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 600;
}

.tool-input select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238c6b2f' stroke-width='2' stroke-linecap='round' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}

.tool-primary-result {
  background: linear-gradient(180deg, #102844 0%, #17365a 100%);
  color: #f6f9fd;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  text-align: center;
  box-shadow: 0 12px 26px rgba(15, 39, 66, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.tool-primary-result[data-state="comfortable"] {
  background: linear-gradient(180deg, #0f4a32 0%, #1d6e4a 100%);
  box-shadow: 0 12px 26px rgba(15, 74, 50, 0.22);
}

.tool-primary-result[data-state="reasonable"] {
  background: linear-gradient(180deg, #102844 0%, #1f4c7a 100%);
}

.tool-primary-result[data-state="tight"] {
  background: linear-gradient(180deg, #6d4a16 0%, #8c6b2f 100%);
  box-shadow: 0 12px 26px rgba(140, 107, 47, 0.22);
}

.tool-primary-result[data-state="risk"] {
  background: linear-gradient(180deg, #5d1f1f 0%, #862a2a 100%);
  box-shadow: 0 12px 26px rgba(134, 42, 42, 0.22);
}

.tool-primary-result .result-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.tool-primary-result .result-value {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tool-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.result-chip {
  background: #fbf9f4;
  border: 1px solid #ece6d4;
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.result-chip span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.result-chip strong {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
}

.cap-range {
  background: #fbf9f4;
  border: 1px solid #ece6d4;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.cap-range-title {
  margin: 0 0 0.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.cap-range-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.cap-range-chip {
  background: var(--white);
  border: 1px solid #e3dac4;
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-range-chip.active {
  border-color: var(--gold);
  background: rgba(200, 169, 106, 0.14);
  box-shadow: 0 8px 18px rgba(15, 39, 66, 0.1);
  transform: translateY(-1px);
}

.cap-range-chip .chip-rate {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cap-range-chip .chip-value {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.84rem;
}

.tool-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

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

  .hero-image {
    order: -1;
    max-width: 520px;
  }

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

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

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

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

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

@media (max-width: 700px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .services-grid,
  .process-grid,
  .properties-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 1.25rem;
  }

  .tool-result-grid {
    grid-template-columns: 1fr;
  }

  .cap-range-chip {
    padding: 0.5rem 0.3rem;
  }

  .cap-range-chip .chip-value {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 3.2rem;
  }
}
