@charset "utf-8";

/* =====================================================================
   modern.css  ·  Euromod 2026
   Lavado de cara visual manteniendo el estilo simple y limpio original.
   Paleta monocroma (carbón / blanco roto), tarjetas suaves, botones
   tipo pill y micro-interacciones discretas.
   ===================================================================== */

:root {
    --ink: #1c1c1c;
    --ink-soft: #3a3a3a;
    --bg: #fafaf9;
    --surface: #ffffff;
    --line: #e8e6e3;
    --muted: #6f6b66;

    --radius: 16px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 18, 16, .04), 0 2px 8px rgba(20, 18, 16, .05);
    --shadow-md: 0 4px 14px rgba(20, 18, 16, .08), 0 10px 30px rgba(20, 18, 16, .06);

    --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--ink);
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
}
a:hover { opacity: .7; }

/* --------------------------------------------------- Contenedor */
.em-container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------- Cabecera / logo */
.em-top {
    padding: 56px 0 8px;
    text-align: center;
}
.em-logo { display: inline-block; }
.em-logo img {
    width: 70%;
    max-width: 440px;
    margin: 0 auto;
}

/* --------------------------------------------------- Secciones de texto */
.em-section {
    padding: 56px 0;
    text-align: center;
}
.em-section h1 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--ink);
}
.em-section h2 {
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 auto 16px;
    max-width: 820px;
}
.em-section h3 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--muted);
    margin: 0 auto;
    max-width: 820px;
}
.em-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

/* --------------------------------------------------- Imagen / hero */
.em-media,
.em-slider {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.em-media img,
.em-slider img { width: 100%; }

/* --------------------------------------------------- Botón pill (CTA) */
.em-cta-block { display: flex; justify-content: center; }
.em-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.em-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #000;
    opacity: 1;
    color: #fff;
}
.em-cta i { font-size: 17px; }

/* --------------------------------------------------- Tarjetas de contacto */
.em-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.em-contact + .em-contact { margin-top: 16px; }
.em-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: left;
}
.em-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 1;
}
.em-card i {
    font-size: 20px;
    color: var(--ink);
    width: 24px;
    text-align: center;
    flex: none;
}
.em-card__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}
.em-card__text small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .02em;
}

/* --------------------------------------------------- Logo de marca */
.em-brand { display: inline-block; }
.em-brand img {
    width: 60%;
    max-width: 420px;
    margin: 0 auto;
}

/* --------------------------------------------------- Pie de página */
.em-footer {
    background: var(--ink);
    color: #fff;
    padding: 72px 24px;
    text-align: center;
}
.em-footer__logo {
    max-width: 280px;
    margin: 0 auto 28px;
}
.em-footer__legal {
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    line-height: 2;
}
.em-footer__legal a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.em-footer__legal a:hover { opacity: .7; color: #fff; }
.em-footer__about {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    line-height: 1.9;
    max-width: 760px;
    margin: 26px auto 0;
}
.em-footer__credit { margin-top: 38px; }
.em-footer__credit img {
    width: 130px;
    margin: 0 auto;
    opacity: .85;
    transition: opacity .25s ease;
}
.em-footer__credit img:hover { opacity: 1; }

/* --------------------------------------------------- Responsive */
@media (max-width: 820px) {
    .em-contact { grid-template-columns: 1fr; }
    .em-top { padding: 40px 0 8px; }
    .em-section { padding: 40px 0; }
    .em-footer { padding: 56px 20px; }
}
