/* =========================
   ARQOVA REFORMAS - ESTILOS
   ========================= */

:root {
  --black: #171717;
  --black-soft: #202020;
  --cream: #f3efe8;
  --warm: #e8e0d4;
  --gold: #c3a06a;
  --gold-dark: #a9834d;
  --text: #252525;
  --muted: #6d6a64;
  --white: #fff;
  --border: rgba(23, 23, 23, .14);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Playfair Display", serif;
  --container: 1240px;
  --radius: 2px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--light { background: var(--cream); }
.section--warm { background: var(--warm); }
.section--dark { background: var(--black); color: var(--white); }
.eyebrow { color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .2em; margin-bottom: 18px; }
.eyebrow--gold { color: var(--gold); }
h1, h2 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.5vw, 5.8rem); }
h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.section--light h2 em, .section--warm h2 em { color: var(--gold-dark); }
p { font-size: .98rem; }
.section-lead { color: var(--muted); margin-top: 25px; max-width: 360px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; padding: 15px 22px; font-size: .78rem; font-weight: 700; transition: .25s ease; }
.button span { font-size: 1.1rem; transition: transform .25s ease; }
.button:hover span { transform: translate(3px, -3px); }
.button--gold { background: var(--gold); color: var(--black); }
.button--gold:hover { background: #d2b27f; }
.button--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.button--outline-light:hover { background: var(--white); color: var(--black); }
.button--small { padding: 11px 15px; gap: 12px; }

.site-header { background: var(--black); color: var(--white); }
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 10; }
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: .08em; }
.brand__tag { font-size: .48rem; letter-spacing: .42em; margin: 8px 0 0 .42em; color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 28px; font-size: .75rem; color: rgba(255,255,255,.8); }
.nav-menu a { transition: color .2s ease; }
.nav-menu a:hover { color: var(--gold); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--white); width: 40px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; }

.hero { min-height: 700px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero__image { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90") center/cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 42%, rgba(0,0,0,.05) 100%); }
.hero__content { position: relative; z-index: 1; padding: 95px 0 75px; }
.hero__content h1 { max-width: 760px; }
.hero__description { max-width: 510px; color: rgba(255,255,255,.83); margin: 28px 0 32px; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 35px; flex-wrap: wrap; margin-top: 80px; color: var(--gold); font-size: .9rem; }
.hero__trust b { color: rgba(255,255,255,.88); font-size: .75rem; margin-left: 8px; font-weight: 500; }

.intro-grid, .section-heading--split, .process-grid, .testimonial-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.intro-copy { max-width: 490px; align-self: end; }
.intro-copy p { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; }
.text-link { display: inline-flex; gap: 15px; align-items: center; font-weight: 700; font-size: .8rem; border-bottom: 1px solid var(--gold-dark); padding-bottom: 8px; }


/* Comparador Antes / Después */
.section--comparison { padding-top: 80px; padding-bottom: 80px; }
.comparison-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.comparison-copy > p:not(.eyebrow) { color: var(--muted); max-width: 420px; margin: 25px 0 28px; }
.before-after { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #d8d0c5; border-radius: 2px; box-shadow: var(--shadow); isolation: isolate; }
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.before-after__image { position: absolute; inset: 0; }
.before-after__after { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; border-right: 2px solid #fff; z-index: 2; }
.before-after__after img { width: 100%; max-width: none; }
.before-after__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.before-after__handle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; width: 54px; height: 54px; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; background: #f8f1e7; color: #fff; font-size: 1.4rem; pointer-events: none; box-shadow: 0 4px 20px rgba(0,0,0,.2); }

.section-heading--split { align-items: end; margin-bottom: 55px; }
.section-heading--split > p { color: var(--muted); max-width: 420px; }
.section-heading--dark > p { color: rgba(255,255,255,.65); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: #ebe5dc; overflow: hidden; transition: transform .25s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-card img { aspect-ratio: 1.45; }
.service-card__body { padding: 22px; position: relative; min-height: 180px; }
.service-card__icon { color: var(--gold-dark); font-size: 1.4rem; }
.service-card h3 { font-size: 1.05rem; margin: 8px 0 7px; }
.service-card p { color: var(--muted); font-size: .85rem; max-width: 180px; }
.service-card a { position: absolute; bottom: 20px; left: 22px; font-size: 1.2rem; }

.project-filters { display: flex; gap: 10px; margin: -20px 0 35px; flex-wrap: wrap; }
.filter-button { background: transparent; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.25); padding: 9px 15px; font-size: .75rem; }
.filter-button.is-active, .filter-button:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 450px; overflow: hidden; }
.project-card img { position: absolute; inset: 0; height: 100%; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 70%); }
.project-card__content { position: absolute; bottom: 0; padding: 28px; }
.project-card__content span { color: var(--gold); font-size: .7rem; }
.project-card h3 { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; margin: 8px 0; }
.project-card p { color: rgba(255,255,255,.75); font-size: .82rem; }
.project-card.is-hidden { display: none; }
.demo-note { color: rgba(255,255,255,.45); font-size: .72rem; margin-top: 20px; }

.process-grid { align-items: start; }
.process-list { border-top: 1px solid var(--border); }
.process-item { display: grid; grid-template-columns: 75px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.process-item > span { color: var(--gold-dark); font-family: var(--font-display); font-size: 2.1rem; }
.process-item h3 { font-size: 1rem; margin-bottom: 8px; }
.process-item p { color: var(--muted); font-size: .88rem; }

.testimonial-grid { align-items: center; }
blockquote { border-left: 1px solid var(--gold-dark); padding-left: 45px; }
blockquote > p { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.35; }
blockquote footer { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--gold); font-size: .8rem; }
blockquote footer div { display: flex; flex-direction: column; }
blockquote footer strong { font-size: .8rem; }
blockquote footer small { color: var(--muted); font-size: .7rem; }
.stars { color: var(--gold-dark); letter-spacing: 2px; font-size: .8rem; }

.contact-section { background: linear-gradient(120deg, #171717, #24211c); }
.contact-grid { align-items: start; }
.contact-intro > p:not(.eyebrow) { color: rgba(255,255,255,.68); max-width: 390px; margin-top: 25px; }
.contact-details { list-style: none; margin-top: 40px; display: grid; gap: 14px; color: var(--gold); font-size: 1rem; }
.contact-details span { color: rgba(255,255,255,.85); margin-left: 12px; font-size: .85rem; }
.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); padding: 30px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { color: rgba(255,255,255,.75); font-size: .75rem; display: grid; gap: 8px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--white); padding: 12px; outline: none; border-radius: 0; }
.contact-form select option { color: var(--black); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.checkbox-label { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 9px !important; }
.checkbox-label input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.form-help { color: rgba(255,255,255,.45); font-size: .7rem; }
.form-feedback { font-size: .8rem; color: var(--gold); min-height: 1.2em; }

.site-footer { background: #101010; color: var(--white); padding: 50px 0 25px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: .72rem; }
.footer-inner > p { color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: .7rem; }

@media (max-width: 1050px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .nav-menu { gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .intro-grid, .section-heading--split, .process-grid, .testimonial-grid, .contact-grid { gap: 45px; }
}

@media (max-width: 780px) {
  .section { padding: 75px 0; }
  .navbar { min-height: 75px; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 75px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; background: var(--black); padding: 25px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 8px 0; }
  .nav-menu .button { text-align: center; }
  .hero { min-height: 720px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.45)); }
  .hero__content { padding: 75px 0 55px; }
  .hero__trust { margin-top: 55px; gap: 15px; }
  .intro-grid, .comparison-grid, .section-heading--split, .process-grid, .testimonial-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading--split { gap: 20px; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:last-child { grid-column: auto; min-height: 410px; }
  .process-item { grid-template-columns: 55px 1fr; }
  blockquote { padding-left: 25px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner > p { text-align: left; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 500px) {
  .container { width: min(var(--container), calc(100% - 34px)); }
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.55rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .hero__actions .button { width: 100%; }
  .hero__trust { display: grid; }
}


/* Movimiento, contacto directo, ubicación y FAQ */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}.reveal.is-visible{opacity:1;transform:translateY(0)}
.service-card,.project-card{will-change:transform;transition:transform .25s ease,box-shadow .25s ease}.service-card:hover,.project-card:hover{box-shadow:0 18px 45px rgba(0,0,0,.12)}
.contact-grid--whatsapp{align-items:stretch}.contact-panel{border:1px solid rgba(255,255,255,.18);padding:42px;display:flex;flex-direction:column;justify-content:center;background:rgba(255,255,255,.045)}.contact-panel__icon{font-size:2.8rem;color:var(--gold);margin-bottom:25px}.contact-panel h3{font-family:var(--font-display);font-size:2rem;line-height:1.15;margin-bottom:18px}.contact-panel p{color:rgba(255,255,255,.68);max-width:420px;margin-bottom:25px}.text-link--light{color:var(--white);border-color:var(--gold)}
.button--dark{background:var(--black);color:var(--white)}.button--dark:hover{background:#333}
.location-grid,.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.map-card {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(174, 132, 70, 0.45);
    background: #e8dfd2;
    box-shadow:
        0 18px 45px rgba(35, 29, 22, 0.10),
        0 3px 10px rgba(35, 29, 22, 0.05);
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.72) contrast(0.94) sepia(0.05);
}

.faq-list{border-top:1px solid var(--border)}.faq-list details{border-bottom:1px solid var(--border);padding:20px 0}.faq-list summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{color:var(--gold-dark);font-size:1.3rem;transition:transform .2s ease}.faq-list details[open] summary span{transform:rotate(45deg)}.faq-list details p{color:var(--muted);padding:15px 30px 0 0;font-size:.9rem}
@media (max-width: 780px) {
    .location-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-panel {
        padding: 28px;
    }

    .map-card {
        height: 350px;
        border-radius: 18px;
    }

    .map-card iframe {
        border-radius: 12px;
    }
}


/* Ajuste de tarjetas de servicios: evitar enlaces anidados y mantener el diseño en tres columnas */
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.service-card > img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}
.service-card__body {
  flex: 1;
  min-height: 180px;
  padding: 22px;
  position: relative;
}
.service-card__arrow {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-size: 1.2rem;
  transition: transform .25s ease;
}
.service-card:hover .service-card__arrow {
  transform: translate(3px, -3px);
}
.location-map {
    position: relative;
    width: 100%;
    height: 460px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;

    background: #f4eee5;
    border: 1px solid rgba(174, 132, 70, 0.55);
    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(35, 29, 22, 0.12),
        0 4px 12px rgba(35, 29, 22, 0.05);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 4px;
    filter: saturate(0.75) contrast(0.96);
}

@media (max-width: 768px) {
    .location-map {
    height: 350px;
    border-radius: 6px;
}
    
}
/* Iconos vectoriales: consistentes en escritorio y móvil */
.icon,
.service-card__icon,
.service-card__arrow,
.contact-panel__icon,
.service-lead-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.icon svg,
.service-card__icon svg,
.service-card__arrow svg,
.contact-panel__icon svg,
.service-lead-strip__icon svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--inline { vertical-align: -0.12em; }
.button .icon--inline,
.service-button .icon--inline { width: 1em; height: 1em; }
.service-card__icon svg { width: 1.35em; height: 1.35em; }
.service-card__arrow svg { width: 1.15em; height: 1.15em; }
.contact-panel__icon svg { width: 1em; height: 1em; }
.contact-details .icon { display: inline-flex; width: 1.05em; height: 1.05em; vertical-align: -0.18em; }
.contact-details .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.before-after__handle .icon { display: inline-flex; width: 1.35em; height: 1.35em; }
.before-after__handle .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero__trust .icon--trust {
  width: 1.05em;
  height: 1.05em;
  margin-right: 6px;
  vertical-align: -0.16em;
}
.hero__trust .icon--trust svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
