:root {
    --navy: #001b3a;
    --teal: #00a7b3;
    --teal-soft: #e0f6f8;
    --accent: #ffc857;

    --gray-100: #f5f7fb;
    --gray-500: #6b7280; /* added */
    --gray-600: #4b5563;
    --gray-700: #374151; /* added */
    --gray-800: #111827;

    --white: #ffffff;
    --radius-lg: 20px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
}

/* RESET / GLOBAL */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER / NAV */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 56px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--gray-800);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.lang-toggle a {
    font-weight: 600;
    color: var(--teal);
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    margin: 3px 0;
}

/* SECTIONS */

section {
    padding: 3.25rem 0;
}

@media (min-width: 900px) {
    section {
        padding: 4rem 0;
    }
}

.section-heading {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    max-width: 40rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-soft);
}

/* HERO */

.hero {
    padding-top: 2.5rem;
}

.hero-inner {
    display: grid;
    gap: 2.3rem;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.05fr);
        align-items: center;
    }
}

/* Circular profile photo (shared EN/ES) */
.hero-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 1.2rem auto 1.4rem;
    box-shadow: 0 0 14px rgba(15, 23, 42, 0.22);
}

.hero-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .hero-profile {
        width: 110px;
        height: 110px;
        margin: 0.9rem auto 1rem;
        box-shadow: 0 0 10px rgba(15, 23, 42, 0.2);
    }
}

.hero-title {
    font-family: "Poppins", system-ui;
    font-size: 2rem;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.hero-title span {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 36rem;
    margin-bottom: 1rem;
}

.hero-list {
    list-style: none;
    margin-top: 0.7rem;
}

.hero-list li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.93rem;
    margin-bottom: 0.3rem;
}

.hero-list li::before {
    content: "\2022"; /* fixed bullet encoding */
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--teal);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--teal), #15c4d2);
    color: var(--white);
    font-family: "Poppins", system-ui;
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 167, 179, 0.45);
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, opacity 0.1s ease-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(0, 167, 179, 0.55);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 167, 179, 0.45);
    opacity: 0.96;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: var(--white);
    font-family: "Poppins", system-ui;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
}

.hero-side {
    background: radial-gradient(circle at top, #e0f9ff 0, #f5f7fb 38%, #ffffff 100%);
    border-radius: 26px;
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
}

.hero-side h2,
.hero-side h3 {
    font-family: "Poppins", system-ui;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.hero-side p {
    font-size: 0.93rem;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

/* GRID & SECTIONS */

.grid-2 {
    display: grid;
    gap: 1.9rem;
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: start;
    }
}

.pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.pill {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #edf2ff;
    color: #1d3461;
}

.step-list {
    list-style: none;
    margin-top: 0.9rem;
}

.step-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.step-badge {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-body h3 {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.step-body p {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* TESTIMONIALS */

.testimonial-grid {
    display: grid;
    gap: 1.3rem;
}

@media (min-width: 800px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    font-size: 0.9rem;
}

.testimonial-card p {
    margin-bottom: 0.6rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.testimonial-location {
    font-size: 0.83rem;
    color: var(--gray-500);
}

/* CONTACT */

.contact-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: start;
    }
}

form {
    display: grid;
    gap: 0.85rem;
}

.field-group {
    display: grid;
    gap: 0.4rem;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

input,
select,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    outline: none;
    background: #f9fafb;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.6);
    background: #ffffff;
}

.field-row {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 600px) {
    .field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.checkbox-line input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 0.1rem;
}

.form-footnote {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 0.6rem;
}

.contact-card {
    font-size: 0.9rem;
    color: var(--gray-800);
}

.contact-card h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.contact-card p {
    margin-bottom: 0.45rem;
}

.contact-card strong {
    color: var(--navy);
}

.contact-card a {
    color: var(--teal);
    font-weight: 500;
}

/* FOOTER */

footer {
    padding: 1.5rem 0 2.3rem;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.83rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

/* RESPONSIVE NAV */

@media (max-width: 780px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 1.5rem;
        top: 3.2rem;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
        flex-direction: column;
        gap: 0.9rem;
        padding: 0.9rem 1.1rem;
        min-width: 190px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
    }
}

@media (max-width: 780px) {
    .hero {
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }
}
