/* =============================================
   Reformas Madrid Centro - Stylesheet
   Paleta: grafito + verde salvia (editorial)
   ============================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: #23262b;
  background: #ffffff;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TOPBAR === */
.topbar {
  background: #16181b;
  color: #c7cdc3;
  font-size: 13px;
  padding: 8px 20px;
  text-align: center;
}

.topbar a { color: #a9bb9e; font-weight: 700; }
.topbar a:hover { color: #c3d4b8; }

/* === NAVBAR === */
.navbar {
  background: #23262b;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.2);
}

.navbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__logo span { color: #a9bb9e; }

.navbar__links { display: flex; gap: 28px; align-items: center; }

.navbar__links a {
  color: #b7bcb3;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.navbar__links a:hover { color: #ffffff; border-bottom-color: #7d9471; }

.navbar__urgencias {
  background: #25D366 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border-bottom: none !important;
  font-weight: 700;
}
.navbar__urgencias:hover { background: #1ebc59 !important; }

/* === BOTONES === */
.btn-sage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #7d9471;
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 14px 30px;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-sage:hover { background: #647a59; transform: translateY(-2px); }

.btn-sage--ghost { background: transparent; border: 2px solid #c7cdc3; color: #23262b; }
.btn-sage--ghost:hover { background: #23262b; color: #ffffff; border-color: #23262b; }

.btn-whatsapp { background: #25D366; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebc59; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #ffffff; }

.btn-link {
  display: inline-block;
  color: #647a59;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #7d9471;
  padding-bottom: 2px;
}
.btn-link:hover { color: #23262b; border-color: #23262b; }

/* === HERO === */
.hero {
  background: #23262b;
  color: #ffffff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(125, 148, 113, 0.18);
  border: 1px solid #7d9471;
  color: #a9bb9e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 22px;
  font-family: 'Inter', Arial, sans-serif;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 18px;
  font-weight: 700;
}

.hero h1 span { color: #a9bb9e; font-style: italic; }

.hero__sub {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: #c7cdc3;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 480px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note { font-family: 'Inter', Arial, sans-serif; font-size: 13px; color: #7d8579; }

.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__visual svg { width: 100%; max-width: 320px; }

/* === ESTILOS (moderno / clasico) === */
.styles-section { padding: 70px 0; background: #ffffff; }

.styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.style-card {
  border: 1px solid #e2e4e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.style-card:hover { box-shadow: 0 14px 34px rgba(35,38,43,0.12); transform: translateY(-4px); }

.style-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.style-card__visual img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 18px rgba(35,38,43,0.18);
  position: relative;
  z-index: 1;
}

.style-card--moderno .style-card__visual { background: #23262b; }
.style-card--clasico .style-card__visual { background: #ded9cd; }

.style-card__visual svg { width: 30%; max-width: 90px; opacity: 0.8; position: relative; z-index: 1; }

.style-card__body { padding: 26px 28px; }
.style-card__body h3 { font-size: 22px; margin-bottom: 10px; }
.style-card__body p { font-family: 'Inter', Arial, sans-serif; font-size: 14px; color: #5b6058; line-height: 1.7; }

/* === SECCIONES GENERALES === */
.section { padding: 70px 0; }
.section--muted { background: #f4f3f0; }

.section-eyebrow {
  display: block;
  text-align: center;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7d9471;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  color: #23262b;
  margin-bottom: 14px;
}

.section-title span { color: #7d9471; font-style: italic; }

.section-sub {
  text-align: center;
  font-family: 'Inter', Arial, sans-serif;
  color: #5b6058;
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

/* === SERVICIOS: TARJETAS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e4e0;
  border-radius: 6px;
  padding: 32px 28px;
  text-align: left;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover { box-shadow: 0 14px 34px rgba(35,38,43,0.1); transform: translateY(-4px); }

.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 10px;
  background: #eef1ea;
  color: #7d9471;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-family: 'Inter', Arial, sans-serif; font-size: 14px; color: #5b6058; margin-bottom: 14px; line-height: 1.7; }

/* === PANEL DE INFORMACIÓN === */
.info-panel { background: #23262b; color: #ffffff; }

.info-panel__banner {
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: #14161a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-panel__banner img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.info-panel__grid {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: left;
}

.info-panel__content .section-eyebrow { text-align: left; }
.info-panel__content h2 { font-size: 30px; margin-bottom: 20px; }
.info-panel__content h2 span { color: #a9bb9e; font-style: italic; }

.info-list { display: flex; flex-direction: column; gap: 11px; font-family: 'Inter', Arial, sans-serif; }
.info-list li { font-size: 14px; color: #c7cdc3; padding-left: 24px; position: relative; line-height: 1.6; }
.info-list li::before { content: '—'; position: absolute; left: 0; color: #a9bb9e; }

/* === ZONAS === */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.zone-link {
  display: block;
  text-align: center;
  background: #eef1ea;
  color: #45523e;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.zone-link:hover { background: #7d9471; color: #ffffff; }

/* === CTA BAND === */
.cta-band { background: #7d9471; padding: 56px 20px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 4vw, 38px); color: #ffffff; margin-bottom: 26px; }
.cta-band__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-sage { background: #23262b; }
.cta-band .btn-sage:hover { background: #16181b; }

/* === FOOTER === */
.site-footer { background: #16181b; padding: 46px 20px 26px; }

.site-footer__grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  max-width: 1140px; margin: 0 auto 28px;
}

.site-footer__col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px; font-weight: 700; color: #a9bb9e;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}

.site-footer__col p, .site-footer__col a {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px; color: #8b9187; line-height: 1.9; display: block;
}
.site-footer__col a:hover { color: #a9bb9e; }

.site-footer__bottom {
  max-width: 1140px; margin: 0 auto; border-top: 1px solid #262a2d;
  padding-top: 20px; text-align: center;
}
.site-footer__bottom p { font-family: 'Inter', Arial, sans-serif; color: #565b53; font-size: 12px; line-height: 1.8; }
.site-footer__bottom strong { color: #8b9187; }

/* === FRANJA DE ESTADÍSTICAS === */
.stats-strip { background: #eef1ea; padding: 40px 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; gap: 6px; }

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #7d9471;
}

.stat-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  color: #45523e;
  font-weight: 600;
}

/* === PROCESO EN PASOS === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}

.process-step { text-align: center; padding: 0 12px; }

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #23262b;
  color: #a9bb9e;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-family: 'Inter', Arial, sans-serif; font-size: 14px; color: #5b6058; line-height: 1.7; }

/* === AVISO IVA === */
.iva-note {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e4e0;
  border-left: 4px solid #7d9471;
  border-radius: 6px;
  padding: 26px 30px;
}

.iva-note h3 { font-size: 18px; margin-bottom: 10px; font-family: 'Inter', Arial, sans-serif; }
.iva-note p { font-family: 'Inter', Arial, sans-serif; font-size: 14px; color: #5b6058; line-height: 1.8; }

/* === FAQ ACORDEÓN === */
.faq { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e4e0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #23262b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: #7d9471;
  font-size: 22px;
  font-family: Arial, sans-serif;
  margin-left: 12px;
}

.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { border-bottom: 1px solid #e2e4e0; }

.faq-item p {
  padding: 16px 22px 20px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  color: #5b6058;
  line-height: 1.7;
}

/* === BLOG / ARTÍCULOS === */
.blog-hero {
  background: #23262b;
  color: #ffffff;
  padding: 50px 0 46px;
  text-align: center;
}

.blog-hero .hero__eyebrow { margin-bottom: 18px; }
.blog-hero h1 { font-size: clamp(28px, 4.5vw, 44px); max-width: 760px; margin: 0 auto 14px; }
.blog-hero__meta {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  color: #9aa3ab;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e4e0;
  border-radius: 6px;
  padding: 28px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card:hover { box-shadow: 0 14px 34px rgba(35,38,43,0.1); transform: translateY(-4px); }
.blog-card__eyebrow {
  display: block;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7d9471;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.35; }
.blog-card p { font-family: 'Inter', Arial, sans-serif; font-size: 14px; color: #5b6058; line-height: 1.7; margin-bottom: 16px; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: #33363b;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 26px;
  color: #23262b;
  margin: 44px 0 16px;
}
.article-body h2:first-child { margin-top: 0; }

.article-body h3 { font-size: 19px; color: #23262b; margin: 30px 0 12px; }

.article-body p { margin-bottom: 18px; }

.article-body ul, .article-body ol {
  margin: 0 0 20px 0;
  padding-left: 22px;
}
.article-body li { margin-bottom: 8px; list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-body strong { color: #23262b; }

.article-callout {
  background: #eef1ea;
  border-left: 4px solid #7d9471;
  border-radius: 6px;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 15px;
}
.article-callout strong { display: block; margin-bottom: 6px; color: #45523e; }

.article-disclaimer {
  font-size: 13px;
  color: #8b9187;
  border-top: 1px solid #e2e4e0;
  padding-top: 18px;
  margin-top: 40px;
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 999;
  animation: wa-pulse 2.2s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #ffffff; }

@keyframes wa-pulse {
  0% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__visual svg { max-width: 200px; }
  .info-panel__banner { height: 420px; }
  .styles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .section { padding: 48px 0; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* === CARRUSEL DE LUJO === */
.luxury-section { padding: 70px 0; background: #ffffff; }

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 8px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  position: relative;
  height: 620px;
  background: #14161a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.carousel__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(35,38,43,0.85), rgba(35,38,43,0));
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 40px 24px 18px;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  color: #23262b;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.carousel__arrow:hover { background: #ffffff; }
.carousel__arrow--prev { left: 16px; }
.carousel__arrow--next { right: 16px; }

.carousel__counter {
  text-align: center;
  margin-top: 16px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5b6058;
  letter-spacing: 0.5px;
}

.carousel__hint {
  text-align: center;
  margin-top: 10px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  color: #8b9187;
}
.carousel__hint a { color: #647a59; font-weight: 700; border-bottom: 1px solid #7d9471; }
.carousel__hint a:hover { color: #23262b; }

@media (max-width: 640px) {
  .carousel__slide { height: 420px; }
  .carousel__arrow { width: 36px; height: 36px; }
}

/* === GALERÍA COMPLETA (mosaico, sin recortar fotos) === */
.gallery-hero {
  background: #23262b;
  color: #ffffff;
  padding: 56px 0 46px;
  text-align: center;
}
.gallery-hero h1 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 12px; }
.gallery-hero p { color: #c7cdc3; font-family: 'Inter', Arial, sans-serif; font-size: 15px; }

.gallery-masonry {
  column-count: 4;
  column-gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(35,38,43,0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .gallery-masonry { column-count: 3; }
}
@media (max-width: 640px) {
  .gallery-masonry { column-count: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
}
