/* ========================================
   BASE
======================================== */

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

body {
    font-family: "Inter", sans-serif;
    color: #333333;
    line-height: 1.6;
    background: #ffffff;
}

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

h1,
h2,
h3,
h4 {
    font-family: "IM Fell DW Pica", serif;
    font-weight: 400;
    line-height: 1.2;
    font-weight: bold;
}

.alt {
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-family: "Georgia", serif;
    text-transform: uppercase;
}
h3 {
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
}
p + h2, h3, h4 {
    margin-top:15px;
}
p + p {
    margin-top: 1rem;
}

ul {
    list-style: none;
    margin-top: 10px;
}

li {
    margin-bottom: 0;
    font-size: 0.8rem;
}
a {
  color: #ff3028;
  transition: color 0.2s ease;
}

a:visited {
  color: #ff3028;
}

a:hover {
  color: #000;
  text-decoration: underline #ff3028;
}

a:active {
  color: #000;
}

.checkerboard {
    width: 100%;
    height: 12px;

    background:
        conic-gradient(
            #000 25%,
            #fff 0 50%,
            #000 0 75%,
            #fff 0
        );

    background-size: 12px 12px;
}
.triangle-pattern {
    width: 100%;
    height: 10px;

    background:
        linear-gradient(135deg, #000 50%, transparent 50%) 0 0,
        linear-gradient(45deg, #fff 50%, #000 50%) 0 0;

    background-size: 10px 10px;
}
/* ========================================
   ESTRUCTURA COMÚN
======================================== */

.section {
    width: 100%;
}

.section-light {
    background: #ffffff;
    color: #000000;
    padding-bottom: 10px;
}

.section-dark {
    background: #000000;
    color: #ffffff;
    padding-bottom: 10px;
}
.section-dark h3 {
    color: #ffffff;
}

.section-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.content-block,
.section-image {
    min-width: 0;
}

.content-block {
    padding: 30px 20px;
}

.content-block p {
    font-size: 0.8rem;
}

.content-block h2,
.content-block h3,
.content-block h4 {
    margin-bottom: 15px;
}
.content-block img {
    margin: 0 0 10px 0;
}
.double {
  grid-column: span 2; 
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ========================================
   MENÚ
======================================== */

.top-menu {
    width: 100%;
    color: #fff;
    background: #000;
}
.top-menu p {
    font-size:0.8rem;
}
.menu-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.menu-logo {
    flex-shrink: 0;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    max-width: 120px;
}
.menu-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.menu-links a {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.menu-links a:hover,
.menu-logo:hover {
    color: #ff3028;
    text-decoration: none;
}
.menu-logo:visited {
    color: #fff;
    text-decoration: none;
}
/* ========================================
   HERO
   Solo posiciones y tipografía propias
======================================== */

.hero-image {
    grid-column: 1;
    grid-row: 1 / 3;
}

.hero-content {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 30px 20px 0 20px;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}
.hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 5vw, 2.4rem);
    text-transform: uppercase;
}

.hero-content .hero-intro {
    font-family: "IM Fell DW Pica", serif;
    font-size: 1.2rem;
    line-height:1.3rem;
}

.section-light a:hover {
    color: #000000;
}


/* ========================================
   FOOTER
   Solo tipografía / acabado
======================================== */

.footer-col {
    color: #cccccc;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.5rem;
}

.footer-col p {
    font-size: 0.8rem;
}

.section-dark a:hover {
    color: #ffffff;
}

.footer-image {
    padding: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;

    text-align: center;
    font-size: 0.7rem;
    color: #666666;

    border-top: 1px dotted #444444;
}


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

@media (max-width: 768px) {

    .section-grid {
        grid-template-columns: 1fr;
    }

    /* El hero vuelve a flujo normal */
    .hero-image,
    .hero-content {
        grid-column: auto;
        grid-row: auto;
        position: static;
    }

    .hero-image img {
        position: static;
        width: 100%;
        height: auto;
    }

    .content-block {
        padding: 20px 24px;
    }

    .section-image {
        min-height: 0;
    }

    .section-image img {
        width: 100%;
        height: auto;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .footer-bottom {
        padding: 20px 24px;
    }
}
