*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:    #0d1b2e;
  --navy-2:  #192136;
  --gold:    #c9973a;
  --gold-lt: #d4a843;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: #fff;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ══ NAVBAR ══ */
.ep-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 999;
}
.ep-nav__logo { display: flex; align-items: center; gap: 10px; }
.ep-nav__logo img { height: 36px; width: auto; }
.ep-nav__logo span { font-size: 16px; font-weight: 600; color: #fff; }
.ep-nav__logo em { font-style: normal; font-weight: 300; color: #bbb; }
.ep-nav__links { display: flex; align-items: center; gap: 36px; list-style: none; }
.ep-nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.ep-nav__links a:hover { color: var(--gold-lt); }
.ep-nav__cta {
  background: var(--gold) !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.ep-nav__cta:hover { background: var(--gold-lt) !important; }
.ep-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.ep-nav__hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ══ MAIN ══ */
.ct-main {
  padding: 80px 120px 100px;
  background: #f2f3f5;
}

/* ══ HERO ══ */
.ct-hero {
  text-align: center;
  margin-bottom: 72px;
}
.ct-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.ct-hero__sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(13,27,46,0.65);
  max-width: 680px;
  margin: 0 auto;
}

/* ══ BODY: MAPA + FORMULARIO ══ */
.ct-body {
  display: flex;
  justify-content: center;
}

/* ══ MAPA ══ */
.ct-map {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13,27,46,0.1);
}

/* ══ FORMULARIO ══ */
.ct-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ct-input {
  background: #fff;
  border: 1.5px solid rgba(13,27,46,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.ct-input::placeholder { color: rgba(13,27,46,0.4); }
.ct-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,0.15);
}
.ct-select {
  cursor: pointer;
  color: rgba(13,27,46,0.4);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(13,27,46,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.ct-select option { color: #1a1a2e; background: #fff; }
.ct-textarea {
  resize: vertical;
  min-height: 120px;
  border-radius: 12px;
}
.ct-submit {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  margin-top: 4px;
}
.ct-submit:hover { background: var(--gold-lt); transform: scale(0.98); }

/* ══ FOOTER ══ */
.ep-footer { background: var(--navy); border-top: 1px solid rgba(201,151,58,0.25); }
.ep-footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 120px 48px;
}
.ep-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ep-footer__logo img { height: 32px; width: auto; }
.ep-footer__logo span { font-size: 15px; font-weight: 600; color: #fff; }
.ep-footer__logo em { font-style: normal; font-weight: 300; color: #bbb; }
.ep-footer__tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.ep-footer__socials { display: flex; gap: 14px; }
.ep-footer__socials a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s, color 0.2s;
}
.ep-footer__socials a:hover { border-color: var(--gold); color: var(--gold); }
.ep-footer__socials svg { width: 16px; height: 16px; }
.ep-footer__heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 20px; }
.ep-footer__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ep-footer__list a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.ep-footer__list a:hover { color: #fff; }
.ep-footer__list--contact li { font-size: 13px; color: rgba(255,255,255,0.6); }
.ep-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 120px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #fff;
}
.ep-footer__bottom p { font-size: 12px; color: #1a1a2e; }
.ep-footer__legal { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #1a1a2e; }
.ep-footer__legal a { color: #1a1a2e; transition: color 0.2s; }
.ep-footer__legal a:hover { color: var(--gold); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .ct-main { padding: 60px 60px 80px; }
  .ep-footer__content { padding: 60px 60px 40px; }
  .ep-footer__bottom { padding: 20px 60px 28px; }
}

@media (max-width: 768px) {
  .ep-nav { padding: 14px 20px; }
  .ep-nav__links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08); gap: 0;
  }
  .ep-nav__links.open { display: flex; }
  .ep-nav__links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .ep-nav__links a { display: block; padding: 12px 0; }
  .ep-nav__cta { margin-top: 8px; text-align: center; width: 100%; display: block; }
  .ep-nav__hamburger { display: flex; }

  .ct-main { padding: 48px 20px 64px; }
  .ct-hero { margin-bottom: 48px; }
  .ct-body { grid-template-columns: 1fr; gap: 40px; }
  .ct-map { height: 300px; }
  .ct-form__row { grid-template-columns: 1fr; }
  .ct-submit { width: 100%; }

  .ep-footer__content { grid-template-columns: 1fr; padding: 48px 20px 32px; gap: 36px; }
  .ep-footer__bottom { flex-direction: column; gap: 10px; padding: 20px; text-align: center; }
}

@media (max-width: 390px) {
  .ct-main { padding: 36px 16px 48px; }
  .ct-hero__title { font-size: 1.8rem; }
}