/* ===== FUENTE LOCAL ===== */
@font-face {
  font-family: "Romanica";
  src: url("fonts/Romanica-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES & RESET ===== */
:root {
  --color-primary: #026139;
  --color-primary-dark: #013d23;
  --color-light: #f7feff;
  --color-bg: #fafaf8;
  --color-text: #2c2c2c;
  --font-heading: "Romanica", "Georgia", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 960px;
  --section-pad: 5rem 1.5rem;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(2, 97, 57, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header__logo img {
  border-radius: 50%;
  object-fit: cover;
}

.header__nav {
  display: flex;
  gap: 1.8rem;
}

.header__nav a {
  color: var(--color-light);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.header__nav a:hover {
  opacity: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 61, 35, 0.15) 0%,
    rgba(1, 61, 35, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-light);
  padding: 1.5rem;
}

.hero__logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(247, 254, 255, 0.35);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.hero__slogan {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  opacity: 0.9;
  letter-spacing: 0.03em;
}

/* ===== SECCIONES GENERALES ===== */
.section {
  padding: var(--section-pad);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.section--dark {
  background: var(--color-primary);
  color: var(--color-light);
}

.section--dark .section__title {
  color: var(--color-light);
}

/* ===== HORARIOS ===== */
.schedule {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.schedule__day {
  font-weight: 600;
}

.schedule__time {
  color: var(--color-primary);
  font-weight: 500;
}

/* ===== CONTACTO ===== */
.contact__text {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

.contact__ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-light);
  border: 1.5px solid rgba(247, 254, 255, 0.4);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  width: fit-content;
  margin: 0 auto;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.contact__ig:hover {
  background: rgba(247, 254, 255, 0.12);
  border-color: rgba(247, 254, 255, 0.7);
}

.contact__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact__email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-light);
  border: 1.5px solid rgba(247, 254, 255, 0.4);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  width: fit-content;
  margin: 0 auto;
  letter-spacing: 0.02em;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.contact__email:hover {
  background: rgba(247, 254, 255, 0.12);
  border-color: rgba(247, 254, 255, 0.7);
}

.contact__icon {
  width: 26px;
  height: 26px;
}

/* ===== UBICACIÓN ===== */
.location {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.location__map {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.location__map iframe {
  width: 100%;
  height: 320px;
  border: none;
}

.location__info {
  text-align: center;
}

.location__address {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-light);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--color-primary-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-light);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo {
  border-radius: 50%;
  object-fit: cover;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header__nav {
    gap: 1rem;
  }

  .header__nav a {
    font-size: 0.78rem;
  }

  .header__logo span {
    display: none;
  }

  .hero {
    min-height: 420px;
  }

  .hero__logo {
    width: 85px;
    height: 85px;
  }

  :root {
    --section-pad: 3.5rem 1.2rem;
  }

  .schedule__row {
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }

  .location__map iframe {
    height: 240px;
  }
}
