@font-face {
    font-family: "Futura BT";
    src: url("assets/Futura BT/futura-book-bt.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Futura BT";
    src: url("assets/Futura BT/futura-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Play Fair Display";
    src: url("assets/Play Fair Display/PlayfairDisplay-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Play Fair Display";
    src: url("assets/Play Fair Display/PlayfairDisplay-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --teal: #0b514f;
    --teal-light: #1a7a77;
    --gold: #c9a96e;
    --cream: #f8f5f0;
    --dark: #1a1a1a;
    --text: #333;
    --white: #ffffff;
}

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

body {
    font-family: "Futura BT", "Futura", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Play Fair Display", "Times New Roman", serif;
    font-weight: 800;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: "Futura BT", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
    cursor: pointer;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(11, 81, 79, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/Fondo_Reformer_2.png');
    background-size: cover;
    background-position: center;
    background-color: #0b514f;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 81, 79, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-logo {
    max-width: 280px;
    width: 80%;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--teal);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-light {
    background: var(--cream);
    color: var(--text);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--white);
    position: relative;
}

.section-title.dark { color: var(--teal); }

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--teal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Schedule & Plans */
.schedule-grid, .plans-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.schedule-img, .plan-img {
    max-width: 500px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.contact-card {
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--teal);
    margin-bottom: 8px;
}

.contact-card a {
    color: #666;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-card a:hover { color: var(--teal); }

/* Footer */
.footer {
    background: var(--teal);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .schedule-img, .plan-img { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}
