/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul-claro:   #74A7C1;
  --azul-medio:   #6A97B6;
  --azul-escuro:  #03263A;
  --azul-medio2:  #1D476C;
  --rosa-claro:   #F1E7E8;
  --branco:       #ffffff;
  --cinza-bg:     #f8f9fa;
  --cinza-texto:  #6b7280;
  --cinza-borda:  #e5e7eb;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(3,38,58,.10);
  --shadow-hover: 0 8px 32px rgba(3,38,58,.16);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--azul-escuro);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.ibsgc-gradient { background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio2) 100%); }
.text-center { text-align: center; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(3,38,58,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(3,38,58,.98); }

.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}

.navbar__brand { display: flex; align-items: center; gap: .75rem; }
.navbar__logo  { width: 44px; height: 44px; object-fit: contain; }
.navbar__name  { display: flex; flex-direction: column; }
.navbar__name strong { color: var(--branco); font-size: .95rem; line-height: 1.2; }
.navbar__name span   { color: var(--azul-claro); font-size: .75rem; }

.navbar__nav { display: flex; align-items: center; gap: .25rem; }
.navbar__nav a {
  color: rgba(255,255,255,.80);
  font-size: .875rem; font-weight: 500;
  padding: .45rem .75rem; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.navbar__nav a:hover, .navbar__nav a.active { color: var(--branco); background: rgba(255,255,255,.10); }

.navbar__actions { display: flex; align-items: center; gap: .5rem; }

.btn-visitante {
  color: var(--branco); border: 1.5px solid rgba(255,255,255,.45);
  padding: .45rem 1rem; border-radius: 8px; font-size: .875rem; font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}
.btn-visitante:hover { background: rgba(255,255,255,.12); border-color: var(--branco); }

/* Hamburger */
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--branco); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none; flex-direction: column;
  background: var(--azul-escuro);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  color: rgba(255,255,255,.80); font-size: .95rem; font-weight: 500;
  padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover { color: var(--branco); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 10px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  line-height: 1;
}
.btn-primary   { background: var(--azul-claro); color: var(--azul-escuro); }
.btn-primary:hover { background: var(--azul-medio); }
.btn-outline   { background: transparent; border-color: var(--branco); color: var(--branco); }
.btn-outline:hover { background: var(--branco); color: var(--azul-escuro); }
.btn-dark      { background: var(--azul-escuro); color: var(--branco); }
.btn-dark:hover { background: var(--azul-medio2); }
.btn-outline-dark { background: transparent; border-color: var(--azul-escuro); color: var(--azul-escuro); }
.btn-outline-dark:hover { background: var(--azul-escuro); color: var(--branco); }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1438232992991-995b671e4b8e?w=1600&q=80') center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(3,38,58,.82) 0%, rgba(29,71,108,.70) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--branco);
  padding: 7rem 1.5rem 4rem;
  max-width: 800px; margin: 0 auto;
}
.hero__eyebrow {
  color: var(--azul-claro); font-size: .85rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 1.25rem;
}
.hero__title span { color: var(--azul-claro); }
.hero__subtitle {
  color: rgba(255,255,255,.85); font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: bounce 2s infinite;
}
.hero__scroll-icon {
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.45);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-dot {
  width: 4px; height: 8px; background: rgba(255,255,255,.7); border-radius: 2px;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ── Schedules Bar ────────────────────────────────────────────────────────── */
.schedules { background: var(--azul-medio2); padding: 1.25rem 0; }
.schedules__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid rgba(255,255,255,.2);
}
.schedules__item {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 2rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
.schedules__item:last-child { border-right: none; }
.schedules__icon { font-size: 1.75rem; flex-shrink: 0; }
.schedules__day  { color: var(--branco); font-weight: 700; font-size: .95rem; }
.schedules__label{ color: rgba(255,255,255,.65); font-size: .8rem; }

/* ── Section Titles ───────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--gray { background: var(--cinza-bg); }
.section--rosa { background: var(--rosa-claro); }
.section--dark { background: var(--azul-escuro); }

.section__eyebrow {
  color: var(--azul-medio); font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: .5rem;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; color: var(--azul-escuro); margin-bottom: 1rem;
}
.section__title--white { color: var(--branco); }
.section__subtitle { color: var(--cinza-texto); max-width: 540px; margin: 0 auto 3rem; }

/* ── Cards Grid ───────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--branco); border: 1px solid var(--cinza-borda);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--azul-claro);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(3,38,58,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  transition: background var(--transition);
}
.card:hover .card__icon { background: var(--azul-escuro); }
.card__title { font-size: 1.1rem; font-weight: 700; color: var(--azul-escuro); margin-bottom: .5rem; }
.card__text  { color: var(--cinza-texto); font-size: .9rem; line-height: 1.6; flex: 1; }
.card__link  {
  display: inline-flex; align-items: center; gap: .25rem;
  margin-top: 1rem; color: var(--azul-medio2); font-size: .875rem; font-weight: 600;
  transition: color var(--transition);
}
.card__link:hover { color: var(--azul-claro); }

/* ── Mission ──────────────────────────────────────────────────────────────── */
.mission { padding: 5rem 0; }
.mission__inner {
  max-width: 720px; margin: 0 auto; text-align: center; color: var(--branco);
}
.mission__text {
  color: rgba(255,255,255,.85); font-size: 1.1rem; line-height: 1.8;
  margin-bottom: 2rem;
}

/* ── First Visit ──────────────────────────────────────────────────────────── */
.first-visit__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 3rem; max-width: 900px; margin: 0 auto;
}
.first-visit__text { flex: 1; min-width: 260px; }
.first-visit__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.first-visit__logo { width: 200px; flex-shrink: 0; }
.first-visit__logo img { width: 100%; object-fit: contain; }

/* ── Map ──────────────────────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--cinza-borda);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Contact Cards ────────────────────────────────────────────────────────── */
.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem; margin-bottom: 3rem;
}
.contact-card {
  background: var(--branco); border-radius: var(--radius);
  padding: 1.75rem; text-align: center;
  box-shadow: 0 2px 12px rgba(3,38,58,.07);
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.contact-card__title { font-weight: 700; color: var(--azul-escuro); margin-bottom: .5rem; }
.contact-card__line  { color: var(--cinza-texto); font-size: .9rem; }
.contact-card__line a { color: var(--azul-medio2); }
.contact-card__line a:hover { color: var(--azul-claro); }

/* ── Page Hero ────────────────────────────────────────────────────────────── */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio2) 100%);
  text-align: center; color: var(--branco);
}
.page-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: .75rem; }
.page-hero__subtitle { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ── Placeholder ──────────────────────────────────────────────────────────── */
.placeholder-box {
  max-width: 480px; margin: 0 auto; text-align: center; padding: 4rem 1.5rem;
}
.placeholder-box__icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: rgba(3,38,58,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 1.5rem;
}
.placeholder-box__title { font-size: 1.4rem; font-weight: 700; color: var(--azul-escuro); margin-bottom: .75rem; }
.placeholder-box__text  { color: var(--cinza-texto); line-height: 1.7; }

/* ── Form ─────────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--branco); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.5rem;
  max-width: 640px; margin: 0 auto;
}
.form-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.form-header__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3,38,58,.06);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.form-header__title { font-weight: 700; color: var(--azul-escuro); font-size: 1.1rem; }
.form-header__sub   { color: var(--cinza-texto); font-size: .85rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 600; color: var(--azul-escuro); margin-bottom: .45rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--cinza-borda); border-radius: 8px;
  font-family: var(--font); font-size: .95rem; color: var(--azul-escuro);
  background: var(--branco);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 3px rgba(116,167,193,.2);
}
.form-input.error { border-color: #ef4444; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-error { color: #ef4444; font-size: .8rem; margin-top: .3rem; }

.form-submit {
  width: 100%; padding: .85rem; border-radius: 10px;
  background: var(--azul-escuro); color: var(--branco);
  font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
  transition: background var(--transition);
  margin-top: .5rem;
}
.form-submit:hover  { background: var(--azul-medio2); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

.success-box {
  text-align: center; padding: 3rem 2rem;
}
.success-box__icon {
  width: 72px; height: 72px; background: #f0fdf4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin: 0 auto 1.25rem;
}
.success-box__title { font-size: 1.4rem; font-weight: 700; color: var(--azul-escuro); margin-bottom: .75rem; }
.success-box__text  { color: var(--cinza-texto); margin-bottom: 1.5rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--azul-escuro); color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer__brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer__logo  { width: 40px; height: 40px; object-fit: contain; }
.footer__brand-name strong { color: var(--branco); font-size: .95rem; }
.footer__brand-name span   { color: var(--azul-claro); font-size: .75rem; display: block; }
.footer__desc { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer__heading { color: var(--branco); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.footer__links li { margin-bottom: .5rem; }
.footer__links a  { font-size: .875rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--azul-claro); }
.footer__info li  { font-size: .875rem; margin-bottom: .5rem; display: flex; align-items: flex-start; gap: .5rem; }
.footer__divider  { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem; }
.footer__bottom   { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .8rem; }
.footer__copy     { color: rgba(255,255,255,.45); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar__nav, .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; }
  .schedules__grid { grid-template-columns: 1fr; }
  .schedules__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .schedules__item:last-child { border-bottom: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .first-visit__inner { flex-direction: column; text-align: center; }
  .first-visit__logo { margin: 0 auto; }
  .first-visit__actions { justify-content: center; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .form-card { padding: 1.5rem; }
}
