* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1f262b;
  background-color: #f7f4ef;
  line-height: 1.6;
}

a {
  color: #1a4b6d;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  gap: 16px;
  background-color: #f0ede6;
  border-bottom: 1px solid #ded8cc;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 0.9rem;
  color: #5e4b34;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.95rem;
}

.hero {
  margin: 32px 0 20px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 320px;
  min-width: 300px;
}

.hero-media {
  flex: 1 1 420px;
  min-width: 320px;
}

.hero-media figure {
  margin: 0;
  position: relative;
  height: 100%;
}

.hero-media .image-frame {
  height: 100%;
  min-height: 320px;
}

.headline {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn {
  border: none;
  background-color: #1a4b6d;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.btn.secondary {
  background-color: #d7b48f;
  color: #2a1d12;
}

.btn.light {
  background-color: #fff;
  color: #1a4b6d;
  border: 1px solid #1a4b6d;
}

.mag-columns {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 32px 0;
}

.mag-main {
  flex: 2 1 520px;
}

.mag-side {
  flex: 1 1 240px;
}

.section {
  margin: 32px 0;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6e6a60;
}

.image-frame {
  background-color: #dfe6e9;
  border-radius: 14px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(15, 25, 32, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.price {
  font-weight: 700;
  color: #1a4b6d;
  font-size: 1.1rem;
}

.inline-cta {
  font-weight: 600;
  color: #8a3f12;
}

.storyline {
  background-color: #fff2df;
  padding: 24px;
  border-radius: 18px;
}

.testimonial {
  background-color: #f0ede6;
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.form-panel {
  background-color: #ffffff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(20, 35, 40, 0.08);
}

.form-panel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfc9be;
  font-size: 1rem;
}

.form-panel label {
  font-weight: 600;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  background-color: #1f262b;
  color: #fff;
  padding: 18px;
  border-radius: 16px;
}

.sticky-cta p {
  margin: 0 0 12px;
}

.footer {
  background-color: #1f262b;
  color: #f7f4ef;
  padding: 32px 24px;
}

.footer .page {
  padding-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer small {
  display: block;
  margin-top: 16px;
  color: #c7c0b2;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 320px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  z-index: 20;
}

.cookie-banner p {
  margin: 0 0 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.split-band {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.split-band .text {
  flex: 1 1 320px;
}

.split-band .media {
  flex: 1 1 320px;
}

.contact-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 240px;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 18px;
}

.legal {
  background-color: #fff;
  padding: 24px;
  border-radius: 16px;
}

.muted {
  color: #6b645b;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  min-height: 320px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero-bg.madrid-skyline {
  background-image: url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1400&q=80");
}

.hero-bg.royal-view {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
}

.hero-bg.gran-via {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?w=1400&q=80");
}

.hero-bg.parkscape {
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1400&q=80");
}

.hero-bg.metro-line {
  background-image: url("https://images.unsplash.com/photo-1472214103451-9374bd1c798e?w=1400&q=80");
}

.hero-bg.legal-light {
  background-image: url("https://images.unsplash.com/photo-1519337265831-281ec6cc8514?w=1400&q=80");
}

.hero-bg h2 {
  margin: 0;
  font-size: 1.7rem;
}

.divider {
  height: 1px;
  background-color: #ded8cc;
  margin: 28px 0;
}

.reference-list a {
  color: #f7f4ef;
  text-decoration: underline;
}

.banner-space {
  height: 24px;
}

@media (max-width: 860px) {
  .headline {
    font-size: 2rem;
  }

  .topbar {
    align-items: flex-start;
  }
}
