/* =================================
   1. VARIABLES Y ESTILOS GENERALES
   ================================= */
:root {
    --purple: #883279;
    --purple-dark: #4b1e46;
    --lavender: #e3c9e4;
    --text: #30263a;
    --muted: #665b6b;
    --background: #fbf8fb;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }



/* =================================
   2. CABECERA Y LOGOTIPO
   ================================= */
.site-header { background: #fff; border-bottom: 1px solid #eee4ed; }
.header-content { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { width: 190px; height: auto; max-height: 122px; object-fit: contain; }
.header-phone { text-decoration: none; color: var(--purple); font-size: .93rem; }
.header-phone strong { font-size: 1.13rem; white-space: nowrap; }



/* =================================
   3. SECCIÓN EN CONSTRUCCIÓN
   ================================= */
.construction { padding: clamp(42px, 6vw, 90px) 0; background: radial-gradient(circle at 8% 14%, #f1e4f1 0, transparent 42%), var(--background); }
.construction-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: clamp(30px, 5vw, 76px); }
.construction-copy { padding-block: 12px; }
.eyebrow { color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
h1 { font-size: clamp(2.3rem, 4.4vw, 4.45rem); line-height: 1.14; letter-spacing: -.045em; margin: 19px 0 20px; font-weight: 750; }
h1 span { color: var(--purple); }
.construction-label { font-size: 1.2rem; color: var(--purple-dark); font-weight: 700; margin: 0 0 12px; }
.construction-copy > p:not(.construction-label) { color: var(--muted); max-width: 570px; margin-bottom: 30px; }
.contact-details { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 23px 0; border-top: 1px solid #e7dbe7; border-bottom: 1px solid #e7dbe7; margin-bottom: 30px; }
.contact-kicker { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.contact-value { display: inline-block; color: var(--purple); font-size: 1.45rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
address { font-style: normal; font-weight: 600; line-height: 1.5; }
.button-primary { display: inline-flex; align-items: center; gap: 20px; padding: 15px 25px; background: var(--purple); color: #fff; text-decoration: none; font-weight: 700; border-radius: 9px; transition: background .2s ease, transform .2s ease; }
.button-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.button-primary:focus-visible, a:focus-visible { outline: 3px solid #af6ba8; outline-offset: 4px; }
.construction-photo { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 65px rgba(73, 29, 69, .15); background: #e9e5e8; }
.construction-photo img { width: 100%; height: 525px; object-fit: cover; object-position: center; }
.construction-photo figcaption { position: absolute; bottom: 18px; left: 18px; background: rgba(255, 255, 255, .94); color: var(--purple-dark); padding: 9px 16px; border-radius: 8px; font-size: .84rem; font-weight: 700; }



/* =================================
   4. PIE DE PÁGINA
   ================================= */
.site-footer { background: var(--purple-dark); color: #fff; padding: 25px 0; }
.footer-content { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.footer-content p { margin: 0; }
.footer-content a { color: #fff; text-decoration-color: var(--lavender); }



/* =================================
   5. DISEÑO RESPONSIVE
   ================================= */
@media (max-width: 850px) {
    .construction-grid { grid-template-columns: 1fr; }
    .construction-photo img { height: min(58vw, 440px); min-height: 260px; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 32px, 1180px); }
    .header-content { min-height: 105px; flex-direction: column; gap: 0; padding: 12px 0 16px; }
    .brand-logo { width: 160px; max-height: 105px; }
    .header-phone { font-size: .83rem; }
    .header-phone strong { font-size: .98rem; }
    .construction { padding: 38px 0 50px; }
    .contact-details { grid-template-columns: 1fr; gap: 18px; }
    .construction-photo img { height: 280px; }
    .footer-content { flex-direction: column; text-align: center; font-size: .87rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
