/* ==========================================================================
   SYSTEM DESIGN SYSTEM — EFFICIENCY GESTIONES
   Aesthetics: Brutalist, Editorial, Monochromatic, Zero Rounded Corners
   ========================================================================== */

/* Fonts Import is handled in HTML */

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #000000;
    --border-light: #d1d1d1;
    --gray-bg: #f8f8f8;
    --gray-text: #555555;
    --gray-text-light: #888888;
    
    --font-heavy: 'Archivo Black', 'Arial Black', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* STRICT: No rounded corners */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heavy);
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--gray-text);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Global Layout Utilities */
section {
    padding: 6rem 5% 6rem 5%;
}

.section-header {
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    align-items: baseline;
    gap: 2rem;
}

.section-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    color: var(--text-color);
}

.section-header h2 {
    font-size: 3rem;
}

.section-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gray-text);
    line-height: 1.4;
}

/* Buttons (Sharp & High Contrast) */
.btn-solid {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 1.25rem 2.5rem;
    font-family: var(--font-heavy);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.15s steps(1), color 0.15s steps(1);
}

.btn-solid:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heavy);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.15s steps(1), color 0.15s steps(1);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-outline-dark {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 1.25rem 2rem;
    font-family: var(--font-heavy);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.15s steps(1), color 0.15s steps(1);
}

.btn-outline-dark:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}



/* HEADER */
#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

#main-header .logo a {
    display: block;
}

.logo-img {
    height: 62px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-outline) {
    font-family: var(--font-heavy);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-color);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav-links a:not(.btn-outline):hover {
    border-bottom: 2px solid var(--text-color);
}

/* HERO SECTION */
#hero {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 820px;
}

.hero-left .tag {
    font-family: var(--font-heavy);
    font-size: 0.85rem;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.5rem 1rem;
    align-self: flex-start;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-left h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 90%;
    margin-bottom: 3rem;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    background-color: var(--gray-bg);
    display: flex;
    flex-direction: column;
}

.service-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--gray-text-light);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* DIRECTOR SECTION */
.director-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.director-image-container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.director-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.director-info {
    display: flex;
    flex-direction: column;
}

.label-uppercase {
    font-family: var(--font-heavy);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--gray-text-light);
}

.director-info h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.director-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

.director-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.3;
    padding-left: 2rem;
    border-left: 3px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.director-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.director-cta-box {
    margin-top: 2rem;
}

/* TESTIMONIALS SECTION */
.testimonial-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-light);
}

.testimonial-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.testimonial-video {
    display: flex;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mute-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font-family: var(--font-heavy);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.15s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.mute-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.mute-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--gray-bg);
    border: 1px dashed var(--gray-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.video-placeholder span {
    font-family: var(--font-heavy);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--gray-text-light);
}

.testimonial-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-name {
    font-size: 3rem;
    margin-bottom: 2.5rem;
}

.testimonial-block {
    padding: 1.75rem 0;
    border-top: 1px solid var(--border-light);
}

.testimonial-block:last-child {
    padding-bottom: 0;
}

.testimonial-block h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.testimonial-block p {
    font-size: 1.02rem;
    color: var(--gray-text);
    line-height: 1.7;
}

/* METHOD / PROCESS SECTION */
.process-steps {
    display: flex;
    flex-direction: column;
}

.step-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.step-number {
    font-family: var(--font-heavy);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--text-color);
}

.step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    max-width: 800px;
    font-size: 1.05rem;
    color: var(--gray-text);
}

/* CONTACT SECTION */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contacto-details {
    display: flex;
    flex-direction: column;
}

.contacto-details h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.contacto-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    font-style: italic;
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block.border-top-thin {
    border-top: 1px solid var(--border-light);
    padding-top: 2.5rem;
}

.info-label {
    display: block;
    font-family: var(--font-heavy);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--gray-text-light);
    margin-bottom: 0.5rem;
}

.info-val {
    font-family: var(--font-heavy);
    font-size: 2.2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
    transition: color 0.1s steps(1);
}

.info-val:hover {
    color: #444;
}

.info-val-static {
    font-family: var(--font-heavy);
    font-size: 1.8rem;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    font-family: var(--font-heavy);
    font-size: 0.85rem;
    color: var(--text-color);
    transition: background-color 0.15s steps(1), color 0.15s steps(1);
}

.social-link-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Form Styling */
.contacto-form-wrapper {
    background-color: var(--gray-bg);
    padding: 3.5rem;
}

.contacto-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-sub {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-family: var(--font-heavy);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input, 
.form-group select {
    padding: 1rem;
    border: 1px solid var(--border-light);
    background-color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--text-color);
    outline: 1px solid var(--text-color);
}

.btn-submit {
    width: 100%;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 1.25rem;
    font-family: var(--font-heavy);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: background-color 0.15s steps(1), color 0.15s steps(1);
}

.btn-submit:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* FOOTER */
/* FOOTER */
footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 5rem 5% 3rem 5%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    font-family: var(--font-heavy);
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gray-text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-text-light);
}

.footer-bottom .credit {
    font-family: var(--font-serif);
    font-style: italic;
}

/* Logos & New Utilities */
.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Force logo to pure white */
}

.info-val-sub {
    font-family: var(--font-heavy);
    font-size: 1.4rem;
    color: var(--text-color);
}

.info-val-address {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}

/* Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* BUDGET & FEES SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.8fr;
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background-color: var(--gray-bg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.pricing-label {
    display: block;
    font-family: var(--font-heavy);
    font-size: 0.75rem;
    color: var(--gray-text-light);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.price-val {
    font-family: var(--font-heavy);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.price-val.sub-price {
    font-size: 2.2rem;
}

.price-detail {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.4;
}

.price-divider {
    height: 1px;
    background-color: var(--border-light);
    margin: 2rem 0;
}

.consular-card {
    background-color: #000;
    color: #fff;
}

.consular-card .pricing-label {
    color: #888;
}

.consular-card .price-val {
    color: #fff;
}

.consular-card .price-detail {
    color: #ccc;
}

.consular-card .price-divider {
    background-color: #333;
}

.consular-note {
    font-size: 0.85rem;
    color: #aaa;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.4;
}

.pricing-details-card {
    padding: 0 1rem;
}

.pricing-details-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.value-list {
    list-style: none;
    margin-bottom: 2rem;
}

.value-list li {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.value-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
}

.pricing-philosophy {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--text-color);
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem !important;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .director-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    /* En celular: primero el texto (nombre, cita, CTA), la foto va después */
    .director-info {
        order: 1;
    }
    .director-image-container {
        order: 2;
    }
    .testimonial-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    /* En celular: primero el formulario (la acción principal), los datos de contacto van después */
    .contacto-form-wrapper {
        order: 1;
    }
    .contacto-details {
        order: 2;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pricing-details-card {
        padding: 0;
    }
}

@media (max-width: 768px) {
    #main-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 1.5rem;
    }
    /* El botón de acción principal pasa a su propia línea, al final, para que resalte */
    .nav-links .btn-outline {
        order: 99;
        flex-basis: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    .section-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .section-header h2 {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card {
        padding: 2rem;
    }
    .step-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .step-number {
        font-size: 2.75rem;
    }
    .director-info h2 {
        font-size: 2.75rem;
    }
    .contacto-details h2 {
        font-size: 2.75rem;
    }
    .testimonial-name {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    .pricing-card,
    .pricing-details-card {
        padding: 2rem;
    }
    .price-val {
        font-size: 2.5rem;
    }
    .footer-top {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .contacto-form-wrapper {
        padding: 2rem;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 2.5rem !important;
    }
    .hero-subtitle {
        font-size: 1.35rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .director-info h2 {
        font-size: 2.1rem;
    }
    .contacto-details h2 {
        font-size: 2.1rem;
    }
    .testimonial-name {
        font-size: 1.9rem;
    }
    .price-val {
        font-size: 2.1rem;
    }
}
