/* ===== ESTILOS PÁGINAS DE SERVICIO — MKD Arquitectura ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #000; color: #fff; font-family: 'Open Sans', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --orange: #E05500;
  --orange-dark: #c44a00;
  --bg-dark: #000;
  --bg-mid: #111;
  --bg-light: #d0d0d0;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; height: 70px;
  background: rgba(0,0,0,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 42px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.82); transition: color 0.2s; white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { color: var(--orange); }
.header-nav .btn-cotiza { background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 2px; }
.header-nav .btn-cotiza:hover { background: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(0,0,0,0.97); padding: 20px; z-index: 999; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.82); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:last-child { color: var(--orange); border-bottom: none; }
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
}

/* ===== HERO SUBPÁGINA ===== */
.sub-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; padding: 130px 60px 70px; }
.sub-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sub-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 10%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.25) 100%); }
.sub-hero-content { position: relative; z-index: 2; max-width: 720px; }
.sub-hero-breadcrumb { font-family: 'Raleway', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.sub-hero-breadcrumb a:hover { color: var(--orange); }
.sub-hero h1 { font-family: 'Raleway', sans-serif; font-weight: 900; font-size: clamp(26px, 4.5vw, 52px); letter-spacing: 2px; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px; }
.sub-hero h1 em { color: var(--orange); font-style: normal; }
.sub-hero p { font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.7; max-width: 560px; margin-bottom: 26px; }
@media (max-width: 700px) { .sub-hero { padding: 110px 24px 50px; } }

/* ===== SECCIONES ===== */
section { padding: 80px 40px; }
@media (max-width: 700px) { section { padding: 60px 24px; } }
.section-title { font-family: 'Raleway', sans-serif; font-weight: 900; font-size: clamp(20px, 2.6vw, 32px); letter-spacing: 4px; text-transform: uppercase; text-align: center; margin-bottom: 10px; }
.section-line { width: 60px; height: 2px; margin: 0 auto; background: var(--orange); }
.section-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px auto 0; width: fit-content; }
.section-divider .line { width: 70px; height: 1px; background: rgba(255,255,255,0.2); }
.section-divider .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.section-subtitle { font-family: 'Raleway', sans-serif; font-weight: 300; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; text-align: center; opacity: 0.6; margin-top: 22px; margin-bottom: 42px; }

/* ===== PROSA ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 2px; text-transform: uppercase; margin: 44px 0 16px; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin: 28px 0 10px; color: var(--orange); }
.prose p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.85; margin-bottom: 16px; }
.prose ul { list-style: none; margin-bottom: 18px; }
.prose ul li { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.8; padding-left: 22px; position: relative; margin-bottom: 9px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.prose strong { color: rgba(255,255,255,0.92); }
.prose a { color: var(--orange); }
.prose a:hover { text-decoration: underline; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; text-align: left; }
.card { padding: 26px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; }
.card .num { font-family: 'Raleway', sans-serif; font-size: 30px; font-weight: 900; color: var(--orange); margin-bottom: 12px; }
.card h3 { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; color: #fff; }
.card p { font-family: 'Open Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ===== GALERÍA ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; max-width: 1200px; margin: 0 auto; }
.gallery-item { overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-wrap details { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; cursor: pointer; }
.faq-wrap summary { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-wrap summary::after { content: '+'; color: var(--orange); font-size: 20px; flex-shrink: 0; }
.faq-wrap details[open] summary::after { content: '–'; }
.faq-wrap details p { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-top: 12px; }

/* ===== CTA ===== */
.btn-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff; padding: 13px 28px; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, transform 0.2s; cursor: pointer; border: none; }
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-cta svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.cta-band { background: var(--bg-mid); text-align: center; }
.cta-band h2 { font-family: 'Raleway', sans-serif; font-weight: 900; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 28px; }

/* ===== FOOTER ===== */
.footer { background: #000; border-top: 1px solid rgba(255,255,255,0.06); padding: 34px 20px; text-align: center; }
.footer p { font-family: 'Open Sans', sans-serif; font-size: 11.5px; color: rgba(255,255,255,0.45); line-height: 1.9; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--orange); }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-btn { position: fixed; bottom: 22px; right: 22px; z-index: 900; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.4); transition: transform 0.2s; }
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
