/* =========================================================
   ORTODENTAL MP
   Hoja de estilos principal
   ========================================================= */
/* =========================================================
   TIPOGRAFÍA — MONTSERRAT (alojada en local)
   ========================================================= */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/montserrat-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/montserrat-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/montserrat-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/montserrat-700.woff2') format('woff2');
}

/* =========================================================
   VARIABLES DE MARCA
   ========================================================= */

:root {
    --navy: #0D2B45;
    --turquoise: #13B5B1;
    --gray: #B9C1C7;
    --text-gray: #667085;
    --background: #F4F8F9;
    --white: #FFFFFF;
    --border: #E6EEF0;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 18px 40px rgba(13, 43, 69, 0.08);
    --shadow-card: 0 14px 30px rgba(13, 43, 69, 0.06);
    --transition: 0.28s ease;
}


/* =========================================================
   GENERAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    background:
        radial-gradient(circle at top left, rgba(19, 181, 177, 0.07), transparent 24%),
        radial-gradient(circle at bottom right, rgba(17, 63, 90, 0.04), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: 'Montserrat', sans-serif;
}


/* =========================================================
   ELEMENTOS GENERALES
   ========================================================= */

.section-subtitle {
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: 42px;
    line-height: 1.15;
}

.text-link {
    color: var(--navy);
    font-weight: 600;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--turquoise);
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(13, 43, 69, 0.02);

    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    color: var(--navy);

    font-size: 24px;
    font-weight: 700;

    transition: var(--transition);
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo:hover {
    color: var(--turquoise);
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-item {
    position: relative;
}

nav a,
.nav-item > a {
    position: relative;

    color: var(--navy);

    font-size: 15px;
    font-weight: 500;

    transition: var(--transition);
}

nav a:hover,
.nav-item > a:hover {
    color: var(--turquoise);
}

nav a.active,
.nav-item > a.active {
    color: var(--turquoise);
}

nav a.active::after,
.nav-item > a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background-color: var(--turquoise);
}

.nav-dropdown {
    position: relative;
    padding: 18px 0;
    margin-top: -18px;
    margin-bottom: -18px;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown > a::after {
    content: "▾";
    font-size: 12px;
    color: inherit;
    transform: translateY(-1px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(13, 43, 69, 0.1);
    display: none;
    z-index: 20;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--background);
    color: var(--turquoise);
}

/* =========================
   ENLACES DE CONTACTO
========================= */

.contact-detail p a {
    color: inherit;
    transition: var(--transition);
}

.contact-detail p a:hover {
    color: var(--turquoise);
}

.whatsapp-button {
    margin-top: 40px;
}

/* =========================
   DESPLEGABLE MOTIVO
========================= */

.form-group select {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--gray);

    border-radius: 4px;

    background-color: var(--white);

    color: var(--navy);

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    outline: none;

    cursor: pointer;

    transition: var(--transition);
}

.form-group select:focus {
    border-color: var(--turquoise);

    box-shadow: 0 0 0 3px rgba(19, 181, 177, 0.1);
}

/* =========================
   ANTISPAM (campo trampa)
========================= */

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* =========================================================
   BOTONES
   ========================================================= */

.button {
    display: inline-block;

    padding: 14px 28px;

    background: linear-gradient(135deg, var(--turquoise) 0%, #0fa7a3 100%);
    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    border: 1px solid var(--turquoise);
    border-radius: 999px;
    box-shadow: 0 12px 22px rgba(19, 181, 177, 0.22);

    transition: var(--transition);
}

.button:hover {
    background: linear-gradient(135deg, var(--navy) 0%, #12395a 100%);
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 16px 26px rgba(13, 43, 69, 0.18);
}

.button-outline {
    background-color: transparent;
    color: var(--navy);

    border-color: var(--navy);
}

.button-outline:hover {
    background-color: var(--navy);
    color: var(--white);

    border-color: var(--navy);
}

.scroll-top-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;

    width: 52px;
    height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--turquoise);
    border-radius: 50%;
    background: var(--turquoise);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(19, 181, 177, 0.22);

    font-size: 24px;
    line-height: 1;

    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: var(--transition);
}

.scroll-top-button:hover {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.scroll-top-button.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* =========================================================
   HERO — INICIO
   ========================================================= */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 120px 8% 110px;
    background:
        radial-gradient(circle at top left, rgba(19, 181, 177, 0.12), transparent 28%),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.9) 48%,
            rgba(255, 255, 255, 0.35) 100%
        ),
        url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(19, 181, 177, 0.12);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    color: var(--turquoise);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    margin-bottom: 22px;
}

.hero h1 {
    color: var(--navy);

    font-size: 58px;
    line-height: 1.08;

    margin-bottom: 22px;
}

.hero p:not(.hero-subtitle) {
    color: var(--text-gray);

    font-size: 18px;

    max-width: 620px;

    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 60px !important;
}


/* =========================================================
   INTRO — INICIO
   ========================================================= */

.intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 30px 90px;
    text-align: center;
    background:
        radial-gradient(circle at top center, rgba(19, 181, 177, 0.08), transparent 28%);
}

.intro h2 {
    color: var(--navy);

    font-size: 40px;
    line-height: 1.2;

    margin-bottom: 25px;
}

.intro > p:not(.section-subtitle) {
    color: var(--text-gray);

    margin-bottom: 25px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   POR QUÉ ELEGIRNOS — INICIO
   ========================================================= */

.home-trust {
    padding: 20px 8% 110px;
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fa 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
}

.trust-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(19, 181, 177, 0.12);
    color: var(--turquoise);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.trust-card h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 12px;
}

.trust-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CATEGORÍAS — INICIO
   ========================================================= */

.categories {
    padding: 110px 8%;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(19, 181, 177, 0.08), transparent 30%),
        linear-gradient(180deg, #f6fbfc 0%, #eef7f8 100%);
    position: relative;
    overflow: hidden;
}

.categories::before,
.categories::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(19, 181, 177, 0.12);
    pointer-events: none;
}

.categories::before {
    width: 340px;
    height: 340px;
    left: -80px;
    bottom: -80px;
}

.categories::after {
    width: 260px;
    height: 260px;
    right: -60px;
    top: -60px;
}

.categories .button {
    display: inline-block;
    margin: 34px auto 0;
    padding: 18px 36px;
    min-width: 260px;
    border-radius: 999px;
    box-shadow: 0 16px 28px rgba(19, 181, 177, 0.2);
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 0;
}

.category {
    padding: 35px 25px;

    background-color: var(--white);

    border: 1px solid var(--border);
    border-top: 3px solid var(--turquoise);
    border-radius: var(--radius);

    text-align: left;
    box-shadow: var(--shadow-card);

    transition: var(--transition);
}

.category:hover {
    transform: translateY(-4px);

    border-color: var(--turquoise);
    box-shadow: var(--shadow-soft);
}

.category h3 {
    color: var(--navy);

    font-size: 22px;

    margin-bottom: 12px;
}

.category p {
    color: var(--text-gray);

    font-size: 14px;
}


/* =========================================================
   CTA GENERAL
   ========================================================= */

.contact-cta {
    padding: 110px 30px;

    text-align: center;

    background-color: var(--navy);

    color: var(--white);
}

.contact-cta .section-subtitle {
    color: var(--turquoise);
}

.contact-cta h2 {
    max-width: 650px;

    margin: 0 auto 25px;

    color: var(--white);

    font-size: 42px;
    line-height: 1.15;
}

.contact-cta p:not(.section-subtitle) {
    max-width: 600px;

    margin: 0 auto 30px;

    color: var(--gray);
}

.contact-cta .button {
    background-color: var(--turquoise);
    color: var(--white);

    border-color: var(--turquoise);
}

.contact-cta .button:hover {
    background-color: var(--white);
    color: var(--navy);

    border-color: var(--white);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 30px 8%;

    background-color: var(--navy);

    color: var(--gray);

    text-align: center;

    font-size: 13px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   PAGE HERO — PÁGINAS INTERIORES
   ========================================================= */

.page-hero {
    padding: 110px 8%;
    background:
        radial-gradient(circle at top left, rgba(19, 181, 177, 0.12), transparent 30%),
        linear-gradient(135deg, #f3f9fa 0%, #edf5f7 100%);
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(19, 181, 177, 0.14);
    pointer-events: none;
}

.page-hero::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: -100px;
}

.page-hero::after {
    width: 180px;
    height: 180px;
    left: -30px;
    bottom: -50px;
}

.page-hero-content {
    max-width: 800px;

    margin: 0 auto;
}

.page-hero h1 {
    color: var(--navy);

    font-size: 56px;
    line-height: 1.1;

    margin-bottom: 20px;
}

.page-hero-content > p:last-child {
    color: var(--turquoise);

    font-size: 20px;
    font-weight: 600;
}

.aligner-page-hero {
    padding: 70px 8%;
    text-align: left;
}

.aligner-page-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.aligner-page-hero .page-hero-content {
    max-width: none;
    margin: 0;
}

.aligner-page-hero .aligner-hero-intro {
    color: var(--turquoise);
    font-size: 20px;
    font-weight: 600;
}

.aligner-page-hero .aligner-hero-description {
    margin-top: 16px;
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.7;
}

.aligner-hero-visual {
    position: relative;
    width: 100%;
    max-height: 430px;
    aspect-ratio: 1170 / 922;
}

.aligner-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    inset: 0;
}

.aligner-hero-image {
    z-index: 0;
}

.aligner-hero-overlay {
    z-index: 1;
}

.aligner-collaboration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 25px 64px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
}

.aligner-collaboration img {
    display: block;
    width: clamp(120px, 18vw, 170px);
    height: auto;
}

/* ALINEADORES */

.aligner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 8%;
}

.aligner-heading {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.aligner-heading h2,
.aligner-cta h2 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.15;
}

.aligner-heading > p:last-child,
.aligner-card p,
.aligner-cta > p:not(.section-subtitle) {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.aligner-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.aligner-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--turquoise);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.aligner-card h3 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 22px;
}

.aligner-card p + p {
    margin-top: 14px;
}

.aligner-card-highlight {
    background: linear-gradient(145deg, #f1fbfb, #ffffff 75%);
}

.aligner-card .aligner-closing {
    color: var(--navy);
    font-weight: 700;
}

.aligner-cta {
    margin: 0 8% 110px;
    padding: 64px 8%;
    border-radius: 26px;
    background: linear-gradient(135deg, #f1f8f9, #eaf5f6);
    text-align: center;
}

.aligner-cta h2 {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.aligner-cta > p:not(.section-subtitle) {
    max-width: 650px;
    margin: 0 auto 28px;
}

.aligner-video {
    position: relative;
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 20px;
    background: #0d2b45;
    box-shadow: var(--shadow-card);
}

.aligner-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.aligner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.aligner-actions .button-outline {
    border: 1px solid var(--navy);
}


/* =========================================================
   SOBRE NOSOTROS — ABOUT
   ========================================================= */

.about {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 110px 8%;
}

.about-text {
    max-width: 660px;
    padding: 38px 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,248,249,0.92) 100%);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(13, 43, 69, 0.06);
}

.about-text h2 {
    color: var(--navy);
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.12;
    margin-bottom: 24px;
}

.about-text p:not(.section-subtitle) {
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-image {
    min-height: 540px;
    background:
        radial-gradient(circle at top left, rgba(19, 181, 177, 0.12), transparent 38%),
        linear-gradient(135deg, #f5fbfc 0%, #edf7f8 100%);
    border: 1px solid rgba(19, 114, 147, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(17, 76, 108, 0.08);
}

.about-image::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    border: 1px solid rgba(19, 181, 177, 0.18);
    background: rgba(19, 181, 177, 0.04);
}

.about-image::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -40px;
    bottom: -35px;
    border-radius: 50%;
    border: 1px solid rgba(19, 181, 177, 0.12);
    background: rgba(19, 181, 177, 0.03);
}

.about-decoration {
    width: min(78%, 360px);
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: visible;
    filter: drop-shadow(0 22px 30px rgba(17, 76, 108, 0.08));
}

.about-logo {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    display: block;
}


/* =========================================================
   VALORES
   ========================================================= */

.values {
    padding: 110px 8% 120px;
    background: linear-gradient(180deg, #f3f9fa 0%, #f7fbfc 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.value {
    padding: 30px 26px 28px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--turquoise);
    border-radius: 20px;
    box-shadow: 0 16px 30px rgba(13, 43, 69, 0.05);
    transition: var(--transition);
}

.value:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(13, 43, 69, 0.08);
}

.value-number {
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
}

.value h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 14px;
}

.value p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   FRASE DE MARCA
   ========================================================= */

.brand-quote {
    padding: 90px 30px 100px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f3f9fa 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-mark {
    display: block;
    color: var(--turquoise);
    font-size: 90px;
    font-weight: 700;
    line-height: 0.7;
    margin-bottom: 18px;
}

.brand-quote p {
    color: var(--navy);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
}

.quote-line {
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--turquoise), rgba(19, 181, 177, 0.2));
    margin: 22px auto 0;
    border-radius: 999px;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 110px 8%;
    align-items: start;
}

.contact-info {
    padding-top: 18px;
}

.contact-info h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.contact-info > p:not(.section-subtitle) {
    color: var(--text-gray);
    max-width: 520px;
    margin-bottom: 38px;
    font-size: 17px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(244,248,249,0.9) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(19, 181, 177, 0.1);
    color: var(--turquoise);
    font-weight: 700;
    border: 1px solid rgba(19, 181, 177, 0.14);
    font-size: 18px;
}

.contact-detail h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-container {
    padding: 38px 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 22px 44px rgba(13, 43, 69, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(185, 193, 199, 0.9);
    border-radius: 12px;
    background-color: var(--white);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(19, 181, 177, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.contact-form .button {
    width: fit-content;
    min-width: 210px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.form-note {
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 5px;
}

.privacy-consent {
    margin-top: 4px;
}

.privacy-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
}

.privacy-consent input {
    margin-top: 2px;
    accent-color: var(--turquoise);
}

.privacy-consent a {
    color: var(--navy);
    font-weight: 700;
}

.catalog-cta {
    margin: 0 8% 100px;
    padding: 52px 60px;
    background: linear-gradient(135deg, rgba(13,43,69,1) 0%, rgba(17,63,90,1) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(13, 43, 69, 0.12);
}

.catalog-cta::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 2px solid rgba(19, 181, 177, 0.35);
    border-radius: 50%;
    right: -90px;
    top: -90px;
}

.catalog-cta .section-subtitle {
    color: var(--turquoise);
}

.catalog-cta h2 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    margin-bottom: 10px;
}

.catalog-cta p:not(.section-subtitle) {
    position: relative;
    z-index: 2;
    color: var(--gray);
    font-size: 16px;
}

.catalog-cta .button {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--turquoise) 0%, #0fa7a3 100%);
}

.form-success,
.form-error {
    display: none;
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.products-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 110px 30px 40px;
    text-align: center;
    position: relative;
}

.products-intro::before {
    content: "";
    position: absolute;
    inset: 60px 20% auto 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(19, 181, 177, 0.5), transparent);
}

.products-intro h2 {
    color: var(--navy);
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.12;
    margin-bottom: 18px;
}

.products-intro > p:last-child {
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORÍAS DE PRODUCTOS
   ========================================================= */

.product-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 8% 110px;
}

.product-card {
    position: relative;
    padding: 30px 28px 26px;
    min-height: 300px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,250,251,0.96) 100%);
    border: 1px solid var(--border);
    border-top: 4px solid var(--turquoise);
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(13, 43, 69, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(19, 181, 177, 0.4);
    box-shadow: 0 22px 42px rgba(13, 43, 69, 0.08);
}

.product-number {
    color: var(--turquoise);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(19, 181, 177, 0.12), rgba(19, 181, 177, 0.04));
    color: var(--turquoise);
    border: 1px solid rgba(19, 181, 177, 0.12);
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-card h2 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--turquoise) 0%, #0fa7a3 100%);
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 12px 20px rgba(19, 181, 177, 0.14);
}

.product-card-link:hover {
    background: linear-gradient(135deg, var(--navy) 0%, #163a4d 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 26px rgba(15, 36, 53, 0.12);
}


/* =========================================================
   CATÁLOGO — PRODUCTOS
   ========================================================= */

.products-catalog {
    margin: 0 8% 110px;
    padding: 82px 80px;
    background: linear-gradient(135deg, rgba(13,43,69,1) 0%, rgba(17,63,90,1) 100%);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 26px 50px rgba(13, 43, 69, 0.12);
}

.products-catalog::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(19, 181, 177, 0.38);
    border-radius: 50%;
    right: -90px;
    top: -90px;
    opacity: 0.8;
}

.catalog-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.products-catalog .section-subtitle {
    color: var(--turquoise);
}

.products-catalog h2 {
    color: var(--white);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.products-catalog p:not(.section-subtitle) {
    color: rgba(232, 239, 242, 0.8);
    max-width: 600px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.7;
}

.products-catalog .button {
    background: linear-gradient(135deg, var(--turquoise) 0%, #0fa7a3 100%);
    box-shadow: 0 14px 24px rgba(19, 181, 177, 0.18);
}

.brand-section {
    padding: 0 8% 110px;
    text-align: center;
}

.brand-section-content {
    max-width: 760px;
    margin: 0 auto 38px;
}

.brand-section h2 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
}

.brand-section-content > p:last-child {
    margin: 0;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 850px;
    margin: 0 auto;
}

.brand-logo-card {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 34px rgba(13, 43, 69, 0.05);
}

.brand-logo-card img {
    display: block;
    width: 100%;
    max-width: 330px;
    max-height: 100px;
    object-fit: contain;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 25px 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .trust-grid,
    .category-grid,
    .values-grid,
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 40px;
        padding: 90px 25px;
    }

    .about-text {
        padding: 28px 24px;
    }

    .products-catalog {
        padding: 64px 30px;
    }

    .aligner-content {
        padding: 80px 25px;
    }

    .aligner-cta {
        margin: 0 25px 80px;
        padding: 50px 30px;
    }

    .brand-section {
        padding: 0 25px 80px;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 800px) {

    /* HEADER */

    header {
        height: auto;
        padding: 20px 20px 18px;
        flex-direction: column;
        gap: 16px;
    }

    nav {
        gap: 12px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo img {
        height: 64px;
    }

    /* HERO */

    .hero {
        min-height: 0;
        padding: 70px 25px 70px;
        background:
            radial-gradient(circle at top left, rgba(19, 181, 177, 0.12), transparent 28%),
            linear-gradient(
                rgba(255, 255, 255, 0.92),
                rgba(255, 255, 255, 0.92)
            ),
            url("images/hero.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p:not(.hero-subtitle) {
        font-size: 16px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    /* INTRO */

    .intro {
        padding: 80px 25px;
    }

    .intro h2 {
        font-size: 34px;
    }

    /* CATEGORÍAS */

    .categories {
        padding: 80px 25px;
    }

    .category-grid,
    .trust-grid,
    .values-grid,
    .product-categories {
        grid-template-columns: 1fr;
    }

    /* GENERAL */

    .section-heading h2 {
        font-size: 34px;
    }

    .contact-cta h2 {
        font-size: 34px;
    }

    /* PAGE HERO */

    .page-hero {
        padding: 80px 25px;
    }

    .aligner-page-hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .aligner-hero-visual {
        max-height: 320px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 25px;
    }

    .about-text h2 {
        font-size: 36px;
    }

    .about-image {
        min-height: 350px;
    }

    /* VALUES */

    .values {
        padding: 80px 25px;
    }

    /* BRAND QUOTE */

    .brand-quote {
        padding: 80px 25px;
    }

    .brand-quote p {
        font-size: 25px;
    }

    /* CONTACTO */

    .contact-section {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 80px 25px;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .catalog-cta {
        margin: 0 25px 80px;
        padding: 40px 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-cta h2 {
        font-size: 26px;
    }

    /* PRODUCTOS */

    .products-intro {
        padding: 80px 25px 40px;
    }

    .products-intro h2 {
        font-size: 34px;
    }

    .product-categories {
        padding: 30px 25px 80px;
    }

    .products-catalog {
        margin: 0 25px 80px;
        padding: 50px 30px;
    }

    .products-catalog h2 {
        font-size: 32px;
    }

    .aligner-details {
        grid-template-columns: 1fr;
    }

    .aligner-card {
        padding: 28px 24px;
    }

    .aligner-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .aligner-video {
        border-radius: 14px;
    }

    .brand-logos {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .brand-logo-card {
        min-height: 140px;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 600px) {

    .logo {
        font-size: 22px;
    }

    nav a,
    .nav-item > a {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .button {
        padding: 13px 24px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .contact-form-container {
        padding: 25px 18px;
    }

    .about-image::before {
        width: 260px;
        height: 260px;
    }

    .about-image::after {
        width: 175px;
        height: 175px;
    }

    .about-decoration {
        width: min(68%, 220px);
    }

    .about-decoration span {
        font-size: 34px;
    }

    .product-card,
    .category,
    .value,
    .trust-card {
        padding-left: 20px;
        padding-right: 20px;
    }

}

/* =========================================================
   MENSAJES DEL FORMULARIO
   ========================================================= */

.form-success {
    display: none;

    text-align: center;

    padding: 45px 25px;
}

.form-success[data-fs-active] {
    display: block;
}

.success-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background-color: var(--turquoise);

    color: var(--white);

    font-size: 30px;
    font-weight: 700;
}

.form-success h3 {
    color: var(--navy);

    font-size: 24px;

    margin-bottom: 15px;
}

.form-success p {
    max-width: 450px;

    margin: 0 auto;

    color: var(--text-gray);

    font-size: 14px;
    line-height: 1.7;
}


/* ERROR GENERAL */

.form-error {
    display: none;

    padding: 12px 15px;

    margin-bottom: 20px;

    background-color: #FFF3F3;

    border: 1px solid #E5B8B8;

    border-radius: 4px;

    color: #A33A3A;

    font-size: 13px;
}

.form-error[data-fs-active] {
    display: block;
}


/* ERRORES DE CAMPOS */

.form-group span[data-fs-error] {
    display: none;

    color: #A33A3A;

    font-size: 12px;
}

.form-group span[data-fs-error][data-fs-active] {
    display: block;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #A33A3A;
}


/* ESTADO ENVIANDO */

.contact-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}
/* =========================================================
   VALIDACIÓN DEL FORMULARIO
========================================================= */


/* -------------------------
   ERRORES
------------------------- */

.field-error {
    display: block;

    min-height: 18px;

    margin-top: 6px;

    color: #c0392b;

    font-size: 12px;

    font-weight: 500;
}


/* -------------------------
   CAMPOS CON ERROR
------------------------- */

.form-group input.input-error,
.form-group textarea.input-error,
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #c0392b;

    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.08);
}


/* -------------------------
   CAMPOS CORRECTOS
------------------------- */

.form-group input.input-valid,
.form-group textarea.input-valid {
    border-color: #13B5B1;

    box-shadow: 0 0 0 2px rgba(19, 181, 177, 0.08);
}


/* -------------------------
   ESTADO NORMAL
------------------------- */

.form-group input:not(.input-error):not(.input-valid),
.form-group textarea:not(.input-error):not(.input-valid) {
    box-shadow: none;
}


/* =========================================================
   SELECTOR DE TELÉFONO
========================================================= */

.iti {
    width: 100%;
}


.iti input {
    width: 100%;
}


/*
 * Adaptamos el selector de país
 * a los colores de Ortodental MP.
 */

.iti__selected-country {
    border-radius: 4px 0 0 4px;
}


.iti__dropdown-content {
    border: 1px solid #B9C1C7;

    box-shadow: 0 10px 30px rgba(13, 43, 69, 0.12);

    font-family: 'Montserrat', sans-serif;
}


.iti__country {
    font-family: 'Montserrat', sans-serif;

    font-size: 13px;
}


.iti__country:hover {
    background-color: #F5F7F8;
}


.iti__country--highlight {
    background-color: #F5F7F8;
}


.iti__search-input {
    font-family: 'Montserrat', sans-serif;

    border: 1px solid #B9C1C7;
}


/* Teléfono correcto */

.iti input.input-valid {
    border-color: #13B5B1;
}


/* Teléfono incorrecto */

.iti input.input-error {
    border-color: #c0392b;
}


/* =========================================================
   CONTADOR DEL MENSAJE
========================================================= */

.message-footer {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;
}


.character-count {
    flex-shrink: 0;

    color: #B9C1C7;

    font-size: 12px;

    margin-top: 6px;
}


/* =========================================================
   MENSAJE DE ÉXITO
========================================================= */

.form-success {
    display: none;

    text-align: center;

    padding: 50px 30px;
}


.form-success[data-fs-active] {
    display: block;
}


.success-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background-color: #13B5B1;

    color: white;

    font-size: 32px;

    font-weight: 700;
}


.form-success h3 {
    color: #0D2B45;

    font-size: 24px;

    line-height: 1.3;

    margin-bottom: 15px;
}


.form-success p {
    max-width: 450px;

    margin: 0 auto;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   ERROR GENERAL FORMSPREE
========================================================= */

.form-error {
    display: none;

    padding: 14px 16px;

    margin-bottom: 20px;

    border-radius: 4px;

    background-color: #FFF3F3;

    border: 1px solid #E5B8B8;

    color: #A33A3A;

    font-size: 13px;
}


.form-error[data-fs-active] {
    display: block;
}


/* =========================================================
   BOTÓN ENVIANDO
========================================================= */

.contact-form.loading {
    opacity: 0.7;

    pointer-events: none;
}


.contact-form.loading .button {
    cursor: wait;
}


/* =========================================================
   FORMULARIO RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .message-footer {
        flex-direction: column;

        gap: 0;
    }

    .character-count {
        align-self: flex-end;

        margin-top: 0;
    }

    .form-success {
        padding: 40px 20px;
    }

}

/* =========================
   PRIVACIDAD FORMULARIO
========================= */

.privacy-consent {
    margin-top: 5px;
}

.privacy-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #667085;

    font-size: 12px;
    line-height: 1.5;

    cursor: pointer;
}

.privacy-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    margin-top: 1px;

    accent-color: #13B5B1;

    cursor: pointer;
}

.privacy-consent a {
    color: #0D2B45;
    font-weight: 600;

    text-decoration: underline;
}

.privacy-consent a:hover {
    color: #13B5B1;
}


/* =========================
   FOOTER LINKS
========================= */

.footer-links {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 12px;
}

.footer-links a {
    color: #B9C1C7;

    font-size: 12px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: #13B5B1;
}

.footer-links span {
    color: #667085;

    font-size: 11px;
}

/* =========================
   PÁGINAS LEGALES
========================= */

.legal-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 90px 30px 110px;
}

.legal-section {
    margin-bottom: 55px;
}

.legal-section h2 {
    color: #0D2B45;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.legal-section p {
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-section li {
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section strong {
    color: #0D2B45;
}

.legal-section a {
    color: #13B5B1;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}


/* =========================
   LEGALES RESPONSIVE
========================= */

@media (max-width: 700px) {

    .legal-content {
        padding: 70px 25px 80px;
    }

    .legal-section {
        margin-bottom: 45px;
    }

    .legal-section h2 {
        font-size: 23px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px;
    }

}

/* =========================
   ICONOS DE PRODUCTOS (SVG)
========================= */

.product-icon svg {
    width: 26px;
    height: 26px;
}