/* ============================================
   DOSSIER COMERCIAL - PUERTA DE TOLEDO
   Professional commercial dossier website
   ============================================ */

:root {
  --navy: #1B2A4A;
  --navy-light: #243B5F;
  --orange: #E8772E;
  --orange-light: #FFF3E8;
  --blue-light: #EBF4FA;
  --green: #38A169;
  --dark-text: #2D3748;
  --gray-text: #718096;
  --light-gray: #F7FAFC;
  --mid-gray: #E2E8F0;
  --white: #FFFFFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.95) 0%, rgba(27,42,74,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  display: block;
  font-size: 0.85rem;
  color: #CBD5E0;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 3rem;
}

.hero-photo {
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0 2rem;
}

.hero-nav a {
  color: #CBD5E0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 1rem 1.2rem;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.hero-nav a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

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

.section-dark {
  background: var(--navy);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-title.light {
  color: var(--white);
}

.orange-line {
  width: 100%;
  height: 3px;
  background: var(--orange);
  margin-bottom: 2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 900px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.section-intro.light {
  color: #CBD5E0;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* ===== STATS GRID (Puntos Clave) ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  background: var(--blue-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.stat-icon {
  display: block;
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

.stat-sublabel {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-text);
  font-style: italic;
  margin-top: 0.2rem;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col .col-left-wide { grid-column: 1; }
.two-col .col-right-narrow { grid-column: 2; }

@media (min-width: 768px) {
  .two-col:has(.col-left-wide) {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.data-table td {
  padding: 0.6rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--mid-gray);
}

.data-table .total-row {
  background: var(--orange);
  color: var(--white);
}

.data-table .total-row td {
  color: var(--white);
  font-weight: 700;
  border-bottom: none;
}

.data-table .total-row strong {
  color: var(--white);
}

.source-text {
  font-size: 0.75rem;
  color: var(--gray-text);
  font-style: italic;
}

.source-text.light { color: #A0AEC0; }

/* ===== ICON LIST ===== */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.bullet-icon {
  color: var(--orange);
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

/* ===== SIDE PHOTOS ===== */
.side-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.side-photo img {
  width: 100%;
  object-fit: cover;
}

.photo-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--navy);
  font-style: italic;
  padding: 0.8rem;
  background: var(--light-gray);
}

.side-img {
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  margin: 0 auto 1.5rem;
}

/* ===== TOURISM GRID ===== */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tourism-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  color: var(--white);
  transition: transform 0.2s;
}

.tourism-card:hover {
  transform: translateY(-4px);
}

.tourism-icon {
  font-size: 1.5rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}

.tourism-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.tourism-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.tourism-label {
  display: block;
  font-size: 0.9rem;
  color: #CBD5E0;
  margin-bottom: 0.5rem;
}

.tourism-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--orange);
  font-style: italic;
}

.tourism-detail2 {
  display: block;
  font-size: 0.75rem;
  color: #A0AEC0;
  font-style: italic;
}

.highlight-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.highlight-text .bullet-icon,
.highlight-text::first-letter {
  color: var(--orange);
}

/* ===== RENOVATION ===== */
.renovation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.renovation-item {
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

.differentiators-bar {
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

/* ===== COMMERCIAL AREAS ===== */
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.commercial-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--mid-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.commercial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.commercial-icon {
  font-size: 1.2rem;
  color: var(--navy);
}

.commercial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0;
}

.commercial-area {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.commercial-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.commercial-desc {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* ===== AMENITIES ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.amenity-icon {
  font-size: 1.5rem;
  color: var(--orange);
}

/* ===== PHOTO ROW ===== */
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.photo-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ===== STORES ===== */
.store-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.store-card {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  transition: all 0.2s;
  position: relative;
}

.store-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.store-card[data-status="coming_soon"] {
  border-color: var(--orange);
  border-style: dashed;
}

.store-logo {
  max-width: 80px;
  max-height: 60px;
  margin: 0 auto 0.8rem;
  object-fit: contain;
}

.store-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.store-category {
  font-size: 0.75rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.store-badge.coming {
  background: var(--orange-light);
  color: var(--orange);
}

.store-area {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 0.3rem;
}

/* ===== REASONS ===== */
.reasons-list {
  list-style: none;
  padding: 0;
}

.reasons-list li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-icon {
  color: var(--orange);
  font-size: 1rem;
  margin-right: 0.5rem;
}

.tagline-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-top: 1.5rem;
}

.orange-text {
  color: var(--orange);
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.news-card:hover { transform: translateY(-4px); }

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-content h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.news-content p {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.news-date {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* ===== VIDEOS ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.video-card {
  color: var(--white);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.video-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.video-card p {
  font-size: 0.85rem;
  color: #CBD5E0;
}

/* ===== VISITOR STATS ===== */
.visitor-stats-container {
  max-width: 800px;
}

/* ===== DISCLAIMER ===== */
.section-disclaimer {
  padding: 3rem 0;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}

.footer-brand {
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.footer-sub {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.footer-label {
  font-size: 0.8rem;
  color: #A0AEC0;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}

.footer-conf {
  font-size: 0.75rem;
  color: #718096;
  font-style: italic;
}

/* ===== SCROLL ANIMATIONS ===== */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tourism-grid { grid-template-columns: repeat(2, 1fr); }
  .commercial-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .renovation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-content { padding: 3rem 2rem 2rem; }
  .hero-nav { flex-direction: column; }
  .hero-nav a { padding: 0.7rem 1rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col:has(.col-left-wide) { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tourism-grid { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
}
