:root {
    --ink: #1d211d;
    --muted: #686d65;
    --paper: #f7f5f0;
    --white: #ffffff;
    --accent: #aa7950;
    --accent-dark: #875d3b;
    --line: #dedbd2;
    --serif: "DM Serif Display", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
}

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

a { color: inherit; }

.skip-link {
    background: var(--ink);
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    left: 18px;
    padding: 12px 18px;
    position: fixed;
    text-decoration: none;
    top: 12px;
    transform: translateY(-160%);
    transition: transform .2s ease;
    z-index: 100;
}

.skip-link:focus { transform: translateY(0); }

section[id] { scroll-margin-top: 100px; }

.site-header {
    background: rgba(247, 245, 240, .92);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.navbar, .hero, .services, .projects, .why-us, .testimonials, .faq, .location, .contact, .footer {
    width: min(90%, 1240px);
    margin-inline: auto;
}

.navbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 88px;
}

.logo img { width: 145px; }

.menu { display: flex; gap: clamp(18px, 2.8vw, 38px); list-style: none; }

.menu a {
    color: var(--ink);
    font-size: .88rem;
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.menu a::after {
    background: var(--accent);
    bottom: -8px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width .25s ease;
    width: 0;
}

.menu a:hover::after, .menu a:focus-visible::after { width: 100%; }

.btn-nav, .btn-primary, .btn-secondary {
    align-items: center;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 600;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.btn-nav, .btn-primary { background: var(--accent); color: var(--white); }
.btn-nav:hover, .btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-secondary { border: 1px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.hero {
    align-items: center;
    background: linear-gradient(90deg, rgba(16, 19, 16, .78) 0%, rgba(16, 19, 16, .62) 52%, rgba(16, 19, 16, .42) 100%), url("../img/optimized/hero.webp") center / cover;
    display: flex;
    min-height: calc(100vh - 88px);
    padding: clamp(88px, 11vw, 150px) clamp(32px, 8vw, 105px);
}

.eyebrow {
    color: var(--accent-dark);
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.08; }

.hero h1 {
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(3.25rem, 6.1vw, 5.85rem);
    font-weight: 400;
    letter-spacing: -.04em;
    margin: 17px 0 24px;
    max-width: 800px;
}

.hero .eyebrow { color: #e4c7a8; }

.hero-text > p {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.75;
    max-width: 650px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-buttons .btn-primary, .hero-buttons .btn-secondary { font-size: .9rem; min-height: 56px; padding-inline: 30px; }
.hero-buttons .btn-secondary { border-color: rgba(255, 255, 255, .78); color: var(--white); }
.hero-buttons .btn-secondary:hover { background: var(--white); color: var(--ink); }

.hero-trust { align-items: center; display: flex; font-size: .82rem !important; font-weight: 500; gap: 10px; letter-spacing: .01em; margin-top: 28px; }
.hero-trust span { color: #e4c7a8; font-size: 1rem; letter-spacing: .08em; white-space: nowrap; }
.hero-instagram { align-items: center; color: rgba(255, 255, 255, .76); display: inline-flex; font-size: .78rem; gap: 8px; margin-top: 13px; text-decoration: none; transition: color .25s ease, transform .25s ease; }
.hero-instagram svg { fill: none; height: 17px; stroke: #e4c7a8; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: stroke .25s ease; width: 17px; }
.hero-instagram:hover { color: var(--white); transform: translateX(3px); }
.hero-instagram:hover svg { stroke: var(--white); }

.hero-text { animation: hero-enter .8s cubic-bezier(.2, .65, .3, 1) both; }

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-text { animation: none; }
    .skip-link { transition: none; }
}

.services, .projects, .why-us { padding-block: 100px; }

.section-title { margin: 0 auto 48px; max-width: 700px; text-align: center; }

.section-title h2, .why-us h2, .contact h2 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.75rem);
    font-weight: 400;
    letter-spacing: -.03em;
    margin-top: 14px;
}

.section-title p, .why-us-intro p { color: var(--muted); font-size: .98rem; line-height: 1.8; margin-top: 17px; }

.services-grid, .why-us-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); }

.service-card, .why-card { background: var(--white); min-height: 245px; padding: 32px 27px; }
.service-number, .why-card > span { color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.service-card h3, .why-card h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; margin: 42px 0 12px; }
.service-card p, .why-card p { color: var(--muted); font-size: .86rem; line-height: 1.75; }

.projects { padding-top: 80px; }

.projects-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }

.project-card { background: var(--white); }
.project-image-button { aspect-ratio: 1 / .82; background: #e8e5de; border: 0; cursor: zoom-in; display: block; overflow: hidden; padding: 0; width: 100%; }
.project-image-button img { height: 100%; object-fit: cover; transition: transform .55s ease; width: 100%; }
.project-card:hover .project-image-button img, .project-image-button:focus-visible img { transform: scale(1.045); }
.project-info { padding: 18px 20px 21px; }
.project-info h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -.02em; }
.project-info p { color: var(--accent-dark); font-size: .7rem; font-weight: 700; letter-spacing: .13em; margin-top: 5px; text-transform: uppercase; }

.lightbox { align-items: center; background: rgba(17, 20, 17, .92); display: flex; inset: 0; justify-content: center; opacity: 0; padding: 28px; position: fixed; transition: opacity .25s ease, visibility .25s ease; visibility: hidden; z-index: 20; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-content { margin: 0; max-height: 90vh; max-width: min(88vw, 1100px); position: relative; }
.lightbox-content img { box-shadow: 0 24px 80px rgba(0, 0, 0, .32); max-height: calc(90vh - 44px); object-fit: contain; width: auto; }
.lightbox-content figcaption { color: rgba(255, 255, 255, .82); font-size: .78rem; letter-spacing: .06em; margin-top: 12px; text-align: center; text-transform: uppercase; }
.lightbox-close, .lightbox-control { align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .42); color: var(--white); cursor: pointer; display: inline-flex; font: inherit; justify-content: center; position: absolute; transition: background .2s ease, transform .2s ease; }
.lightbox-close { font-size: 2rem; height: 42px; line-height: 1; right: 28px; top: 24px; width: 42px; }
.lightbox-control { font-size: 1.35rem; height: 48px; top: 50%; transform: translateY(-50%); width: 48px; }
.lightbox-previous { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-close:hover, .lightbox-control:hover { background: var(--accent); }
body.lightbox-open { overflow: hidden; }

.whatsapp-float { bottom: 26px; opacity: 0; pointer-events: none; position: fixed; right: 26px; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; z-index: 15; }
.whatsapp-float.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-float-button { align-items: center; background: var(--accent); border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; box-shadow: 0 12px 26px rgba(29, 33, 29, .2); display: flex; height: 58px; justify-content: center; transition: background .25s ease, box-shadow .25s ease, transform .25s ease; width: 58px; }
.whatsapp-float-button svg { fill: none; height: 26px; stroke: var(--white); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 26px; }
.whatsapp-float-button:hover { background: var(--accent-dark); box-shadow: 0 16px 34px rgba(29, 33, 29, .34); transform: scale(1.08); }
.whatsapp-float.is-visible .whatsapp-float-button { animation: whatsapp-pulse 4.5s ease-in-out 2s infinite; }
.whatsapp-float-button:hover { animation-play-state: paused; }
.whatsapp-tooltip { align-items: center; background: var(--white); box-shadow: 0 12px 28px rgba(29, 33, 29, .16); color: var(--ink); display: flex; font-size: .76rem; font-weight: 600; gap: 12px; opacity: 0; padding: 12px 10px 12px 15px; pointer-events: none; position: absolute; right: 0; top: -57px; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; white-space: nowrap; }
.whatsapp-tooltip::after { border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 7px solid var(--white); bottom: -7px; content: ""; position: absolute; right: 21px; }
.whatsapp-tooltip.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-tooltip-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 1px 4px; }
.whatsapp-tooltip-close:hover { color: var(--accent-dark); }

@keyframes whatsapp-pulse {
    0%, 88%, 100% { box-shadow: 0 12px 26px rgba(29, 33, 29, .2); transform: scale(1); }
    94% { box-shadow: 0 12px 26px rgba(29, 33, 29, .2), 0 0 0 8px rgba(170, 121, 80, 0); transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) { .whatsapp-float, .whatsapp-tooltip, .whatsapp-float-button { animation: none !important; transition: none; } }

.why-us { align-items: start; display: grid; gap: 70px; grid-template-columns: .85fr 1.15fr; }
.why-us-intro { max-width: 430px; }
.why-us-grid { grid-template-columns: repeat(2, 1fr); }
.why-card { border-top: 1px solid var(--line); min-height: 230px; }
.why-card h3 { margin-top: 36px; }

.testimonials { padding-block: 35px 100px; }
.testimonials-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.testimonial-card { background: var(--white); border-radius: 3px; box-shadow: 0 12px 30px rgba(30, 29, 24, .07); display: flex; flex-direction: column; min-height: 285px; opacity: 0; padding: 31px 29px 27px; transform: translateY(24px); transition: box-shadow .3s ease, opacity .6s ease, transform .6s ease; }
.testimonial-card.is-visible { opacity: 1; transform: translateY(0); }
.testimonial-card:nth-child(2) { transition-delay: .12s; }
.testimonial-card:nth-child(3) { transition-delay: .24s; }
.testimonial-card:hover { box-shadow: 0 18px 42px rgba(30, 29, 24, .12); transform: translateY(-5px); }
.testimonial-stars { color: var(--accent); font-size: .95rem; letter-spacing: .11em; }
.testimonial-card blockquote { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; letter-spacing: -.015em; line-height: 1.35; margin-top: 22px; }
.testimonial-card footer { display: grid; gap: 2px; margin-top: auto; padding-top: 28px; }
.testimonial-card footer strong { font-size: .82rem; font-weight: 600; }
.testimonial-card footer span { color: var(--muted); font-size: .72rem; }

@media (prefers-reduced-motion: reduce) { .testimonial-card { opacity: 1; transform: none; transition: none; } }

.faq { padding: 0 0 100px; }
.faq-list { border-top: 1px solid var(--line); margin: 0 auto; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { align-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: flex; font: inherit; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 400; gap: 24px; justify-content: space-between; padding: 25px 4px; text-align: left; width: 100%; }
.faq-icon { align-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-dark); display: inline-flex; flex: 0 0 auto; font-family: "Poppins", sans-serif; font-size: 1.35rem; font-weight: 400; height: 30px; justify-content: center; line-height: 1; transition: background .25s ease, color .25s ease, transform .25s ease; width: 30px; }
.faq-question:hover .faq-icon, .faq-question[aria-expanded="true"] .faq-icon { background: var(--accent); color: var(--white); transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { color: var(--muted); font-size: .92rem; line-height: 1.8; max-width: 720px; padding: 0 54px 0 4px; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-question[aria-expanded="true"] + .faq-answer p { padding-bottom: 27px; }

.location {
    align-items: stretch;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    margin-bottom: 90px;
    overflow: hidden;
}

.location-content {
    background: var(--white);
    padding: clamp(38px, 5vw, 68px);
}

.location-content h2 {
    font-family: var(--serif);
    font-size: clamp(2.35rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-top: 12px;
}

.location-content > p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 520px;
}

.location-details {
    border-block: 1px solid var(--line);
    display: grid;
    gap: 18px;
    margin-block: 30px;
    padding-block: 24px;
}

.location-details div { display: grid; gap: 5px; }
.location-details dt { color: var(--accent-dark); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.location-details dd { color: var(--ink); font-size: .88rem; margin: 0; }
.location-details a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location-actions .btn-secondary { border-color: var(--ink); color: var(--ink); }
.location-actions .btn-secondary:hover { background: var(--ink); color: var(--white); }
.location-map { min-height: 520px; }
.location-map iframe { border: 0; display: block; height: 100%; min-height: 520px; width: 100%; }

.contact {
    align-items: center;
    background: var(--ink);
    color: var(--white);
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-block: 30px 0;
    padding: clamp(38px, 6vw, 72px);
    width: min(90%, 1240px);
}

.contact .eyebrow { color: #d7b797; }
.contact h2 { max-width: 690px; }
.contact .btn-primary { background: #d7b797; color: var(--ink); flex: 0 0 auto; }
.contact .btn-primary:hover { background: var(--white); }

.site-footer { background: var(--ink); color: var(--white); margin-top: 76px; }
.footer { padding-block: 70px 25px; }
.footer-grid { display: grid; gap: 42px; grid-template-columns: 1.35fr .85fr .95fr 1fr; }
.footer-brand { max-width: 285px; }
.footer-logo { display: inline-block; }
.footer-logo img { filter: invert(1) grayscale(1); width: 150px; }
.footer-brand p, .footer-hours p { color: rgba(255, 255, 255, .65); font-size: .82rem; line-height: 1.8; margin-top: 20px; }
.footer-column h2 { color: #e4c7a8; font-size: .72rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 20px; text-transform: uppercase; }
.footer-column ul { display: grid; gap: 11px; list-style: none; }
.footer-column li, .footer-column a { color: rgba(255, 255, 255, .75); font-size: .82rem; text-decoration: none; }
.footer-column a { display: inline-block; transition: color .2s ease, transform .2s ease; }
.footer-column a:hover { color: #e4c7a8; transform: translateX(3px); }
.footer-contact-list span { display: inline-block; margin-right: 6px; }
.footer-hours p { margin-top: 0; }
.footer-hours strong { color: var(--white); font-weight: 500; }
.footer-quote { align-items: center; border: 1px solid rgba(228, 199, 168, .7); color: #e4c7a8 !important; display: inline-flex !important; font-size: .75rem !important; font-weight: 600; justify-content: center; margin-top: 24px; min-height: 46px; padding-inline: 18px; text-decoration: none; }
.footer-quote:hover { background: #e4c7a8; color: var(--ink) !important; transform: translateY(-2px) !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 52px; padding-top: 22px; }
.footer-bottom p { color: rgba(255, 255, 255, .5); font-size: .72rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
    .navbar { min-height: 78px; }
    .menu { gap: 18px; }
    .btn-nav { padding-inline: 16px; }
    .hero { min-height: min(760px, calc(100vh - 78px)); padding: 95px clamp(32px, 8vw, 70px); }
    .hero-text { max-width: 690px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us { gap: 42px; grid-template-columns: 1fr; }
    .why-us-intro { max-width: 650px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .location { grid-template-columns: 1fr; }
    .location-map, .location-map iframe { min-height: 400px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .navbar { min-height: 70px; }
    .logo img { width: 120px; }
    .menu { display: none; }
    .btn-nav { font-size: .73rem; min-height: 42px; padding-inline: 13px; }
    .hero { background-position: 62% center; min-height: calc(100svh - 70px); padding: 70px 25px; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.1rem); }
    .hero-text > p { font-size: .96rem; line-height: 1.7; }
    .hero-buttons { align-items: stretch; flex-direction: column; }
    .hero-buttons a { width: 100%; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary { min-height: 54px; }
    .hero-trust { align-items: flex-start; font-size: .75rem !important; line-height: 1.55; }
    .hero-instagram { align-items: flex-start; font-size: .73rem; line-height: 1.55; }
    .services, .projects, .why-us, .testimonials { padding-block: 68px; }
    .services-grid, .why-us-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials { padding-top: 0; }
    .testimonial-card { min-height: 250px; padding: 28px 24px; }
    .faq { padding-bottom: 68px; }
    .faq-question { font-size: 1.3rem; gap: 16px; padding-block: 21px; }
    .faq-answer p { font-size: .86rem; padding-right: 12px; }
    .location { margin-bottom: 60px; width: 100%; }
    .location-content { padding: 38px 25px; }
    .location-actions { align-items: stretch; flex-direction: column; }
    .location-actions a { width: 100%; }
    .location-map, .location-map iframe { min-height: 330px; }
    .service-card { min-height: auto; }
    .projects { padding-top: 45px; }
    .project-image-button { aspect-ratio: 1 / .75; }
    .lightbox { padding: 20px; }
    .lightbox-content { max-width: calc(100vw - 80px); }
    .lightbox-close { right: 15px; top: 15px; }
    .lightbox-control { height: 42px; width: 42px; }
    .lightbox-previous { left: 12px; }
    .lightbox-next { right: 12px; }
    .whatsapp-float { bottom: 18px; right: 18px; }
    .whatsapp-float-button { height: 54px; width: 54px; }
    .whatsapp-tooltip { font-size: .72rem; right: -1px; top: -54px; }
    .contact { align-items: flex-start; flex-direction: column; padding: 38px 25px; }
    .contact .btn-primary { width: 100%; }
    .site-footer { margin-top: 50px; }
    .footer { padding-block: 52px 22px; }
    .footer-grid { gap: 38px 24px; grid-template-columns: 1fr; }
    .footer-brand { max-width: 340px; }
    .footer-bottom { margin-top: 42px; }
} 
/* ===========================
   MENÚ HAMBURGUESA
=========================== */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: .3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px){

    .menu-toggle{
        display:flex;
    }

    .btn-nav{
        display:none;
    }

    .menu{
        display:none;
    }
    .menu.active{
    display:flex;
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:rgba(247, 245, 240, 0.98);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    flex-direction:column;
    padding:25px;
    gap:22px;
    border-top:1px solid var(--line);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    animation:menuDown .28s ease;
}
@keyframes menuDown{

    from{
        opacity:0;
        transform:translateY(-15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

}
body.menu-open{
    overflow:hidden;
}
