:root {
    --negro: #171714;
    --negro-suave: #24231f;
    --madera: #9a7048;
    --madera-clara: #c49a6c;
    --crema: #fbf9f4;
    --blanco: #ffffff;
    --gris: #77736d;
    --borde: #e4dfd6;
    --verde: #315c45;
    --sombra: 0 20px 60px rgba(0,0,0,.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--negro);
    background: var(--crema);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================
   BOTONES
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    transition: .3s ease;
    cursor: pointer;
    border: none;
}

.btn-dark {
    background: var(--negro);
    color: white;
}

.btn-dark:hover {
    background: var(--madera);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--negro);
}

.btn-light:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(245,241,234,.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--madera);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    transition: .2s;
}

.nav-links a:hover {
    color: var(--madera);
}

.nav-btn {
    background: var(--negro);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    padding-top: 82px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text {
    padding: 70px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--madera);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--madera);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(50px, 6vw, 84px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 600;
    margin-bottom: 28px;
}

h1 em {
    color: var(--madera);
    font-style: normal;
}

.hero-description {
    color: var(--gris);
    font-size: 18px;
    max-width: 530px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-info {
    display: flex;
    gap: 35px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--borde);
}

.hero-info strong {
    display: block;
    font-size: 22px;
    font-family: 'Playfair Display', serif;
}

.hero-info span {
    font-size: 12px;
    color: var(--gris);
}

.hero-image {
    height: 720px;
    position: relative;
}

.hero-image img {
    height: 100%;
    border-radius: 0 0 0 100px;
}

.floating-card {
    position: absolute;
    bottom: 35px;
    left: -40px;
    background: white;
    padding: 20px 24px;
    box-shadow: var(--sombra);
    border-radius: 15px;
    max-width: 230px;
}

.stars {
    color: #c18b3c;
    letter-spacing: 3px;
    font-size: 13px;
}

.floating-card strong {
    display: block;
    margin-top: 5px;
}

.floating-card small {
    color: var(--gris);
}

/* =========================
   SERVICIOS
========================= */

.section {
    padding: 120px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 55px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -2px;
    max-width: 650px;
}

.section-header p {
    max-width: 400px;
    color: var(--gris);
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    background: white;
    padding: 38px;
    min-height: 260px;
    border-radius: 20px;
    transition: .3s;
    border: 1px solid transparent;
}

.service:hover {
    transform: translateY(-7px);
    border-color: var(--borde);
    box-shadow: var(--sombra);
}

.service-number {
    color: var(--madera);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 50px;
}

.service h3 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    margin-bottom: 10px;
}

.service p {
    color: var(--gris);
    font-size: 14px;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
    background: var(--negro);
    color: white;
}

.portfolio .section-header p {
    color: #aaa69e;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.project {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 420px;
}

.project img {
    height: 100%;
    transition: .6s;
}

.project:hover img {
    transform: scale(1.04);
}

.project.large {
    grid-row: span 2;
    min-height: 860px;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    padding-top: 100px;
}

.project-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ddd;
}

.project-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 29px;
}

/* =========================
   PROCESO
========================= */

.process {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.process-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    line-height: 1;
    letter-spacing: -2px;
}

.process-intro p {
    margin-top: 25px;
    color: var(--gris);
}

.steps {
    border-top: 1px solid var(--borde);
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    padding: 30px 0;
    border-bottom: 1px solid var(--borde);
}

.step-number {
    color: var(--madera);
    font-weight: 700;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.step p {
    color: var(--gris);
    font-size: 14px;
}

/* =========================
   SOBRE MI
========================= */

.about {
    background: #e9e2d8;
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    height: 600px;
    border-radius: 20px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.about-text p {
    color: #68645e;
    margin-bottom: 18px;
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    margin: 13px 0;
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    color: var(--madera);
    font-weight: 800;
    margin-right: 12px;
}

/* =========================
   TESTIMONIOS
========================= */

.testimonial {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.testimonial .stars {
    margin-bottom: 25px;
}

.testimonial blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 25px;
}

.testimonial cite {
    color: var(--gris);
    font-style: normal;
    font-size: 14px;
}

/* =========================
   CTA
========================= */

.cta {
    background: var(--negro);
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1;
    max-width: 800px;
    margin: 0 auto 25px;
    letter-spacing: -3px;
}

.cta p {
    color: #aaa69e;
    max-width: 560px;
    margin: 0 auto 35px;
}

/* =========================
   CONTACTO
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    line-height: 1;
    margin-bottom: 25px;
}

.contact > .container > .contact-grid > div > p {
    color: var(--gris);
    max-width: 480px;
}

.contact-details {
    margin-top: 35px;
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--borde);
}

.contact-item small {
    color: var(--gris);
    display: block;
    margin-bottom: 4px;
}

.contact-item strong {
    font-size: 19px;
}

form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--sombra);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input, textarea, select {
    width: 100%;
    border: 1px solid var(--borde);
    background: #faf9f7;
    padding: 15px;
    border-radius: 10px;
    font-family: inherit;
    margin-bottom: 15px;
    outline: none;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--madera);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #11110f;
    color: white;
    padding: 35px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

footer small {
    color: #888;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    transition: .3s;
}

.whatsapp:hover {
    transform: scale(1.08);
}

/* =========================
   MÓVIL
========================= */

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }

    .nav-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-text {
        padding: 70px 0 45px;
    }

    h1 {
        font-size: 54px;
    }

    .hero-image {
        height: 520px;
    }

    .hero-image img {
        border-radius: 0 0 0 50px;
    }

    .floating-card {
        left: 20px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        display: block;
    }

    .section-header p {
        margin-top: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project.large {
        min-height: 550px;
        grid-row: auto;
    }

    .project {
        min-height: 380px;
    }

    .process,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image img {
        height: 450px;
    }

    .about-text h2,
    .contact h2,
    .process-intro h2 {
        font-size: 46px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        display: block;
    }

    footer small {
        display: block;
        margin-top: 10px;
    }
}