/*
Theme Name: Selector + Arquitectura Landing
Author: Inventors Den / Custom
Version: 1.0
Description: WordPress theme with a two-image homepage selector and an internal architecture/construction landing page.
*/

:root {
    --bg: #f7f5f1;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #667085;
    --accent: #b88746;
    --accent-dark: #8a642f;
    --border: #e8e2d8;
    --shadow: 0 18px 45px rgba(31, 41, 51, 0.10);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* HOME / TWO IMAGE SELECTOR */
.selector-page {
    text-align: center;
    background: #f5f7fb;
}

.selector-header {
    padding: 32px 20px 20px;
}

.selector-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.selector-subtitle {
    margin: 10px auto 0;
    max-width: 700px;
    font-size: 18px;
    color: #555;
}

.selector-card p {
    margin: 0;
    padding: 10px;           
}

.selector-main {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.selector-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
}

.selector-card-link {
    display: block;
    width: 100%;
    max-width: 420px;
}

.selector-card {
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;	
    padding: 0;             
    display: inline-block; 
	max-width: 60%;
    overflow: hidden; 
}

.selector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.selector-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.selector-card-content {
    padding: 22px;
}

.selector-card-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.selector-card-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* LANDING PAGE */
.landing-page {
    background: var(--bg);
    line-height: 1.6;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span { color: var(--accent); }

.nav {
    display: flex;
    gap: 26px;
    font-size: 15px;
    color: var(--muted);
}

.nav a:hover { color: var(--accent-dark); }

.header-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.header-button {
    padding: 10px 18px;
    background: var(--text);
    color: white;
    font-size: 14px;
}

.header-button:hover { background: var(--accent-dark); }

.hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 84px 24px 56px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 590px;
    color: var(--muted);
    font-size: 19px;
    margin: 24px 0 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button {
    padding: 14px 22px;
    background: var(--accent);
    color: white;
}

.primary-button:hover { background: var(--accent-dark); transform: translateY(-2px); }

.secondary-button {
    padding: 13px 21px;
    border: 1px solid var(--border);
    background: white;
}

.secondary-button:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-visual {
    min-height: 470px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(184,135,70,.18), rgba(31,41,51,.06)), url('assets/hero.svg');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 22px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    backdrop-filter: blur(12px);
}

.stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header h2,
.process h2,
.cta h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-header p,
.process p,
.cta p {
    color: var(--muted);
    font-size: 18px;
}

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

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    min-height: 330px;
    box-shadow: 0 10px 26px rgba(31,41,51,.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f3eadc;
    color: var(--accent-dark);
    border-radius: 16px;
    font-size: 25px;
    margin-bottom: 22px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.service-card p { color: var(--muted); }

.service-card ul {
    margin: 22px 0 0;
    padding-left: 18px;
    color: var(--text);
}

.service-card li { margin-bottom: 8px; }

.process {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 10px 26px rgba(31,41,51,.05);
}

.steps {
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.step h4 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; }

.cta {
    text-align: center;
    background: var(--text);
    color: white;
    border-radius: 34px;
    padding: 56px 24px;
}

.cta .eyebrow { color: #e7c898; }
.cta p { color: rgba(255,255,255,.72); max-width: 680px; margin: 18px auto 28px; }

.landing-footer {
    background: #161d25;
    color: white;
    padding: 44px 24px 24px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 36px;
}

.footer-inner h4 { margin: 0 0 12px; }
.footer-inner p { color: rgba(255,255,255,.68); margin: 0; }
.footer-bottom {
    max-width: 1180px;
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.54);
    font-size: 14px;
}

@media (max-width: 900px) {
    .hero,
    .process,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 52px;
        gap: 34px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .nav,
    .header-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .selector-header { padding-top: 24px; }
    .selector-title { font-size: 30px; }
    .selector-subtitle { font-size: 16px; }
    .selector-main { margin: 28px auto; }
    .selector-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .selector-card-link { max-width: 100%; }
    .selector-card img { height: 220px; }
}

@media (max-width: 560px) {
    .header-inner { padding: 16px 18px; }
    .hero, .section { padding-left: 18px; padding-right: 18px; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 17px; }
    .stat-card { grid-template-columns: 1fr; }
    .process { padding: 26px; }
    .step { grid-template-columns: 1fr; }
    .footer-inner { gap: 24px; }
}

@media (max-width: 480px) {
    .selector-title { font-size: 26px; }
    .selector-card img { height: 190px; }
    .selector-card-content h2 { font-size: 21px; }
    .selector-card-content p { font-size: 15px; }
}

/* CONSULTORIA LANDING ADDITIONS */
.consultoria-page {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --text: #172033;
    --muted: #5f6b7a;
    --accent: #4C4F4E;
    --accent-dark: #1d4ed8;
    --border: #dde6f3;
}

.consultoria-visual {
    background:
        radial-gradient(circle at 25% 20%, rgba(37,99,235,.22), transparent 32%),
        linear-gradient(135deg, rgba(37,99,235,.16), rgba(23,32,51,.08)),
        url('assets/hero.svg');
    background-size: cover;
    background-position: center;
}

.two-services {
    grid-template-columns: repeat(2, 1fr);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(31,41,51,.05);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.center-actions {
    justify-content: center;
}

.dark-secondary {
    color: white;
    background: transparent;
    border-color: rgba(255,255,255,.32);
}

.dark-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,.08);
}

@media (max-width: 900px) {
    .two-services,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
