/* ============================================================
   AR ASESORES MOLLET – Stylesheet
   Estilo: Minimalista, formal, blanco y negro
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --black: #1a1a1a;
  --dark: #2c2c2c;
  --gray-800: #3a3a3a;
  --gray-600: #666666;
  --gray-400: #999999;
  --gray-200: #e0e0e0;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --accent: #c0392b;
  --border: #e0e0e0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .1);
  --radius: 4px;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --max-w: 1120px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--black);
  text-decoration: none;
  transition: color .2s, opacity .2s;
}

a:hover {
  opacity: .65;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: 2.6rem;
  letter-spacing: -.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -.01em;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* --- Utility --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 50px 0;
}

.section-alt {
  background: var(--gray-100);
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: .4rem;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--black);
  margin: 0 auto 1.5rem;
}

.divider-left {
  margin: 0 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s;
  text-align: center;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  background: transparent;
  color: var(--black);
  opacity: 1;
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  opacity: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: .8rem;
}

/* Link with arrow */
.link-arrow {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
}

.link-arrow::after {
  content: '→';
  transition: transform .2s;
}

.link-arrow:hover {
  opacity: 1;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header-inner img {
  width: 40%;
  
  margin-top: 1%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -.02em;
  line-height: 1;
}

.logo-line {
  width: 1.5px;
  height: 36px;
  background: var(--black);
  margin: 0 12px;
}

.logo-text {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-600);
  line-height: 1.3;
}

/* Nav */
.main-nav>ul {
  display: flex;
  gap: 0;
  align-items: center;
}

.main-nav a {
  padding: 8px 10px;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-800);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--black);
  opacity: 1;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
}

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  display: flex;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  min-width: 240px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: var(--shadow);
  /* Evitar que herede flex del padre */
  flex-direction: column;
  align-items: stretch;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: .8rem;
  text-transform: none;
  letter-spacing: .02em;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--gray-100);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--gray-200);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  max-width: 440px;
}

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-link-item {
  font-family: var(--font-body);
  font-size: .95rem;
  width: 55%;
  font-weight: 600;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-link-item .arrow {
  font-weight: 400;
}

.hero-link-item:hover {
  opacity: .6;
}

.hero-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for images */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .85rem;
  border: 1px solid var(--gray-200);
}

/* ============================================================
   SECTION: ¿Necesitas asesoramiento?
   ============================================================ */
.asesora-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.asesora-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 480px;
}

.asesora-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asesora-text h2 {
  margin-bottom: 1rem;
}

.asesora-text p {
  color: var(--gray-600);
  font-size: .95rem;
}

/* Check list */
.check-list {
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .7rem;
  font-size: .92rem;
  color: var(--gray-800);
}

.check-list li::before {
  content: '—';
  color: var(--black);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 36px 32px;
}

.contact-form-box h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  color: var(--gray-800);
}

.form-group label .req {
  color: var(--accent);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 0;
  font-size: .92rem;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color .2s;
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--black);
}

.form-control.error {
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  color: var(--gray-600);
  margin-bottom: 1.1rem;
}

.form-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--black);
}

.form-success {
  background: #f0f9f0;
  border: 1px solid #c3e6cb;
  color: #2d6a3e;
  padding: 14px 18px;
  margin-top: 1rem;
  font-size: .9rem;
  display: none;
}

.form-error-msg {
  background: #fdf0f0;
  border: 1px solid #f5c6cb;
  color: #8b2020;
  padding: 14px 18px;
  margin-top: 1rem;
  font-size: .9rem;
  display: none;
}

/* ============================================================
   WHY SECTION (2-col with text + form)
   ============================================================ */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.why-text h2 {
  margin-bottom: 1rem;
}

/* ============================================================
   ABOUT / INTRO
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 2rem;
}

.stat-box {
  padding: 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.stat-box .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.stat-box .lbl {
  font-size: .78rem;
  color: var(--gray-600);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}

.about-images .img-main {
  grid-column: 1 / 3;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-images .img-small {
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  transition: background .2s;
}

.service-card:hover {
  background: var(--gray-100);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: .88rem;
  margin-bottom: 1.2rem;
}

.service-card .card-link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link::after {
  content: '→';
}

.service-card .card-link:hover {
  opacity: .6;
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-list li {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--gray-200);
}

.info-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-icon {
  width: 15px;
  height: 15px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  color: var(--white);
  font-size: .85rem;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

.info-content span {
  color: var(--gray-600);
  font-size: .88rem;
}

.map-box {
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--gray-200);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--black);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: .8rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 55px 0 50px;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: .4rem;
}

.page-hero p {
  color: rgba(255, 255, 255, .65);
  font-size: .95rem;
  margin: 0;
  font-family: var(--font-body);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .8rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .6);
}

.breadcrumb span {
  color: rgba(255, 255, 255, .3);
}

/* ============================================================
   FEATURES GRID (inner pages)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  transition: background .2s;
}

.feature-card:hover {
  background: var(--gray-100);
}

.feature-card h4 {
  margin-bottom: .5rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: .85rem;
  margin: 0;
}

/* Accordion */
.accordion {
  margin-top: 1.5rem;
}

.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-weight: 600;
  font-size: .92rem;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.accordion-header:hover {
  opacity: .6;
}

.accordion-header .arrow {
  font-size: .7rem;
  transition: transform .25s;
}

.accordion-item.open .accordion-header {
  opacity: 1;
}

.accordion-item.open .arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 0;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.accordion-item.open .accordion-body {
  max-height: 1200px;
  opacity: 1;
  padding: 10px 0 20px;
}

/* ============================================================
   RENTA PAGE – UPLOAD FORM
   ============================================================ */
.renta-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin: 2.5rem 0;
}

.step-card {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--black);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-card h4 {
  font-size: .9rem;
  margin-bottom: .4rem;
}

.step-card p {
  font-size: .8rem;
  color: var(--gray-600);
  margin: 0;
}

.upload-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.upload-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 40px;
}

.upload-box h3 {
  margin-bottom: 1.5rem;
}

.file-drop-area {
  border: 1.5px dashed var(--gray-200);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
  margin-bottom: 1.2rem;
}

.file-drop-area:hover,
.file-drop-area.drag-over {
  border-color: var(--black);
  background: var(--gray-100);
}

.file-drop-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-drop-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.file-drop-area p {
  margin: 0;
  color: var(--gray-600);
  font-size: .88rem;
}

.file-drop-area strong {
  color: var(--black);
}

.file-types {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .5rem;
}

#file-list {
  margin-bottom: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  padding: 8px 12px;
  margin-bottom: 4px;
  font-size: .85rem;
}

.file-item .file-name {
  flex: 1;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item .file-size {
  color: var(--gray-400);
  font-size: .78rem;
  white-space: nowrap;
}

.file-item .remove-file {
  cursor: pointer;
  color: var(--accent);
  font-size: .9rem;
  background: none;
  border: none;
  padding: 0 2px;
}

.security-note {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 16px 18px;
  font-size: .85rem;
  color: var(--gray-800);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.security-note .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.price-table th,
.price-table td {
  border: 1px solid var(--gray-200);
  padding: 12px 16px;
  font-size: .88rem;
  text-align: left;
}

.price-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-table tr:nth-child(even) {
  background: var(--gray-100);
}

.price-table .price-col {
  font-weight: 700;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, .5);
  margin-top: .8rem;
}

.footer-brand img {
  width: 60%;
}

.footer-brand .logo {
  margin-bottom: 0;
}

.footer-brand .logo .logo-mark {
  color: var(--white);
}

.footer-brand .logo .logo-text {
  color: rgba(255, 255, 255, .4);
}

.footer-brand .logo .logo-line {
  background: rgba(255, 255, 255, .3);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul li {
  margin-bottom: .5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: .6rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

.footer-contact-item .ic {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .55);
}

.footer-contact-item a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .3);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .7);
  opacity: 1;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  padding: 18px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
}

#cookie-banner p {
  font-size: .85rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
  opacity: .8;
}

#cookie-banner a {
  color: rgba(255, 255, 255, .7);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

#cookie-banner .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

#cookie-banner .btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .95rem;
  z-index: 500;
  transition: opacity .25s;
  border: none;
}

#back-top:hover {
  opacity: .7;
}

#back-top.visible {
  display: flex;
}

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

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

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

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

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

  .renta-steps {
    grid-template-columns: 1fr 1fr;
  }

  .asesora-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 56px 0;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0 24px;
    z-index: 999;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 24px;
    font-size: .9rem;
    display: block;
  }

  /* Dropdown en móvil: oculto por defecto, se abre al tocar */
  .main-nav.open .dropdown-menu {
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    min-width: 0;
    background: transparent;
  }

  .main-nav.open .nav-dropdown.active .dropdown-menu {
    display: flex;
  }

  .main-nav.open .dropdown-menu a {
    padding: 10px 24px;
    font-size: .85rem;
    background: transparent;
  }

  .main-nav.open .dropdown-menu a:hover {
    background: var(--gray-100);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown>a::after {
    display: inline-block;
    transition: transform .3s;
  }

  .nav-dropdown.active>a::after {
    transform: rotate(-135deg);
    margin-bottom: -2px;
  }

  .hero-link-item {
    width: auto;
    white-space: nowrap;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-image {
    max-height: 300px;
    aspect-ratio: auto;
  }

  .why-inner,
  .about-inner,
  .location-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-images {
    display: none;
  }

  .asesora-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .renta-steps {
    grid-template-columns: 1fr 1fr;
  }

  .upload-box {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .renta-steps {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}