:root {
    --color-navy: #0c2b5e;
    --color-light-blue: #6ca0dc;
    --color-beige: #fbf6ec;
    --color-coral: #e67a5d;
    --color-white: #ffffff;
    --color-text: #4a4a4a;
    --color-text-light: #8a9ab5;

    --font-serif: 'Libre Baskerville', serif;
    --font-script: 'Dancing Script', cursive;
    --font-sans: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-white);
    color: var(--color-navy);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ─── Header ─── */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 7%;
    background-color: var(--color-white);
    border-bottom: 1px solid rgba(108, 160, 220, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container img {
    height: 52px;
    object-fit: contain;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-coral);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--color-light-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-navy);
    cursor: pointer;
}

/* ─── Main ─── */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ─── Home: Hero Split ─── */
.home-main {
    padding: 0;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: calc(100vh - 82px);
}

.hero-content {
    flex: 1;
    padding: 5rem 5% 5rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    animation: slideInLeft 0.9s ease-out both;
}

.hero-image {
    flex: 0 0 44%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
    overflow: hidden;
    animation: slideInRight 0.9s ease-out both;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(0.9);
    opacity: 0.18;
    transform: scale(1.08);
    z-index: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(255, 255, 255, 1) 100%);
    z-index: 0;
}

.hero-image img {
    max-width: 80%;
    max-height: 72vh;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 12px 32px rgba(12, 43, 94, 0.08));
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Title */
.hero-content h1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
    line-height: 1;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: 4.2rem;
    color: var(--color-navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-surname {
    font-family: var(--font-script);
    font-size: 3.6rem;
    color: var(--color-light-blue);
    font-weight: 600;
    line-height: 1.15;
    position: relative;
    display: inline-block;
    margin-top: -0.25rem;
}

.hero-surname::after {
    content: '';
    position: absolute;
    width: 52%;
    height: 2px;
    background-color: var(--color-coral);
    bottom: -2px;
    left: 8%;
    border-radius: 2px;
}

.subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.2px;
}

.description {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 300;
}

/* Buttons */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
}

.btn-large {
    display: inline-block;
    background-color: transparent;
    color: var(--color-navy);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: all 0.28s ease;
    border: 1.5px solid var(--color-light-blue);
    min-width: 290px;
    text-align: center;
}

.btn-large:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(12, 43, 94, 0.15);
}

.btn-primary-home {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    box-shadow: 0 8px 24px rgba(12, 43, 94, 0.15);
}

.btn-primary-home:hover {
    background-color: var(--color-coral);
    border-color: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(230, 122, 93, 0.35);
    transform: translateX(5px);
}

/* ─── Home: About Section ─── */
.about-section {
    padding: 5rem 7%;
    background-color: #fcfdfe;
    border-top: 1px solid rgba(108, 160, 220, 0.1);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image-wrapper {
    flex: 0 0 320px;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(12, 43, 94, 0.1);
    display: block;
    object-fit: cover;
    border: 4px solid var(--color-white);
}

.about-img--retouched {
    object-position: 85% 20%;
    filter: brightness(1.08) contrast(1.15) saturate(1.15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-text strong {
    color: var(--color-navy);
    font-weight: 600;
}

/* ─── Home: Testimonials ─── */
.testimonials-section {
    padding: 5rem 7%;
    background-color: var(--color-beige);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-section h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(12, 43, 94, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    font-size: 1.8rem;
    color: var(--color-coral);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(108, 160, 220, 0.15);
    padding-top: 1.2rem;
}

.author-name {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Inner Pages ─── */
.page-main {
    padding: 4rem 5% 6rem;
    background: linear-gradient(180deg, var(--color-white) 0%, #f8fafd 100%);
    text-align: center;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-navy);
    font-weight: 700;
}

.page-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-coral);
    margin: 1.5rem auto 0;
    border-radius: 3px;
}

.page-content {
    max-width: 840px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.85;
    font-weight: 400;
    background-color: var(--color-white);
    padding: 4rem 5rem;
    border-radius: 24px;
    box-shadow: 0 16px 50px rgba(12, 43, 94, 0.06);
    text-align: left;
    border: 1px solid rgba(108, 160, 220, 0.15);
}

.content-section {
    text-align: left;
    margin: 0 0 2.5rem;
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 1.25rem;
}

.content-section p {
    margin: 0 0 1.1rem;
    color: #4f5a6e;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.feature-list {
    margin: 1.2rem 0 1.2rem 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    margin: 0.85rem 0;
    padding-left: 2.2rem;
    position: relative;
    color: #4f5a6e;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-coral);
    font-size: 1.1rem;
}

.content-highlight {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-light-blue);
    background-color: #f2f7fc;
    color: var(--color-navy);
    font-weight: 500;
}

.content-note {
    padding: 1.5rem 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(230, 122, 93, 0.25);
    background-color: rgba(230, 122, 93, 0.04);
}

.content-section--cta {
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(108, 160, 220, 0.15);
}

.content-section--cta h2 {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 1.1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(12, 43, 94, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-coral);
    box-shadow: 0 10px 30px rgba(230, 122, 93, 0.35);
    transform: translateY(-3px);
}

/* ─── Footer ─── */
footer {
    background-color: var(--color-beige);
    padding: 2.25rem 6%;
    text-align: center;
    border-top: 1px solid rgba(108, 160, 220, 0.15);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-navy);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.contact-item:hover {
    color: var(--color-coral);
}

.contact-item i {
    font-size: 0.95rem;
    color: var(--color-light-blue);
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    color: var(--color-navy);
    font-size: 1.35rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--color-coral);
}

/* ─── Contact Form ─── */
.contact-intro {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.contact-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.5rem;
    align-items: start;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.required {
    color: var(--color-coral);
}

.optional {
    color: var(--color-text-light);
    font-weight: 300;
    text-transform: none;
    font-size: 0.8rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-navy);
    background-color: var(--color-white);
    border: 1.5px solid rgba(108, 160, 220, 0.35);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236ca0dc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #bbc8da;
    font-weight: 300;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-light-blue);
    box-shadow: 0 0 0 3px rgba(108, 160, 220, 0.12);
}

.form-submit {
    text-align: center;
    margin-top: 0.25rem;
}

.contact-form__hint {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.5;
    margin-top: 1rem;
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 4px 16px rgba(12, 43, 94, 0.12);
}

.btn-submit:hover:not(:disabled) {
    background-color: var(--color-coral);
    box-shadow: 0 6px 20px rgba(230, 122, 93, 0.3);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-feedback {
    margin-top: 1.25rem;
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    display: none;
}

.form-feedback--ok {
    display: block;
    background-color: #eaf6f0;
    color: #276f4e;
    border: 1px solid #b3dfc9;
}

.form-feedback--error {
    display: block;
    background-color: #fdf0ed;
    color: #b94a2c;
    border: 1px solid #f0c4b8;
}

.form-feedback--info {
    display: block;
    background-color: #eef4fb;
    color: var(--color-navy);
    border: 1px solid rgba(108, 160, 220, 0.35);
}

.form-feedback--info p {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.form-feedback__mailto {
    display: inline-block;
    font-weight: 500;
    color: var(--color-light-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-feedback__mailto:hover {
    color: var(--color-coral);
}

/* Honeypot anti-spam (oculto para humanos) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-alt {
    max-width: 560px;
    margin: 3rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(108, 160, 220, 0.2);
    text-align: center;
}

.contact-alt p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.contact-alt-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        padding: 3.5rem 7%;
        align-items: center;
        text-align: center;
        order: 1;
    }

    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 300px;
        padding: 2rem 0 3rem;
        order: 2;
    }

    .hero-image img {
        max-width: 60%;
        max-height: 280px;
    }

    .subtitle,
    .description {
        text-align: center;
    }

    .button-group {
        align-items: center;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-surname {
        font-size: 3rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .about-image-wrapper {
        flex: 0 0 auto;
        width: 240px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-top: 1px solid var(--color-beige);
    }

    nav.open {
        max-height: 320px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav a {
        display: block;
        padding: 0.9rem 6%;
        text-transform: none;
        font-size: 1rem;
        letter-spacing: 0.2px;
        border-bottom: 1px solid rgba(251, 246, 236, 0.8);
    }

    nav a::after {
        display: none;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-surname {
        font-size: 2.4rem;
    }

    .about-section {
        padding: 4rem 5%;
    }

    .testimonials-section {
        padding: 4rem 5%;
    }

    .testimonials-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .btn-large {
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }

    .contact-form__fields {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-main {
        padding: 3.5rem 5% 4rem;
    }

    .page-content {
        padding: 2.5rem 2rem;
        border-radius: 16px;
    }

    .content-section {
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 1.35rem;
    }
}
