/* ==========================================================
   DORMIDOG — Design System
   Color principal: #025376 (azul petróleo)
   Tipografía: Nunito (Google Fonts)
   ========================================================== */

:root {
  --blue: #025376;
  --blue-dark: #013E59;
  --blue-light: #03678F;
  --blue-pale: #E8F1F5;
  --blue-ghost: #F4F8FA;
  --accent: #E8913A;
  --accent-hover: #D07A28;
  --accent-light: #FDF3E8;
  --green: #2E8B57;
  --green-light: #EAF5EF;
  --text: #1A2E38;
  --text-soft: #4A6670;
  --text-muted: #7A949E;
  --bg: #FAFBFC;
  --white: #FFFFFF;
  --border: #D8E3E8;
  --shadow-sm: 0 1px 3px rgba(2,83,118,0.06);
  --shadow-md: 0 4px 16px rgba(2,83,118,0.08);
  --shadow-lg: 0 8px 32px rgba(2,83,118,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1140px;
  --nav-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: hidden; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-light); }

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--blue-ghost); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .text-soft { color: rgba(255,255,255,0.75); }
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-muted { color: var(--text-muted); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--text); }
.section--blue h2, .section--blue h3, .section--blue h4 { color: var(--white); }
h1 { font-size: 2.75rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section--blue .section__eyebrow { color: rgba(255,255,255,0.6); }
.section__title { margin-bottom: 16px; }
.section__desc { max-width: 600px; color: var(--text-soft); font-size: 1.1rem; }
.section__desc--center { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,145,58,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--icon-only {
  width: 48px; height: 48px; padding: 0;
  border-radius: 50%; justify-content: center;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav__logo img { height: 42px; width: auto; }
.nav__logo span { font-weight: 400; font-size: 0.75rem; color: var(--text-muted); display: block; line-height: 1; margin-top: 2px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s;
  text-decoration: none;
}
.nav__links a:hover, .nav__links a.active { color: var(--blue); }
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: var(--white); }
.nav__cta { margin-left: 8px; }
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 11px; }
.nav__hamburger span:nth-child(3) { top: 22px; }
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 16px;
}
.nav__mobile a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  text-decoration: none;
}
.nav__mobile a.btn--primary {
  color: var(--white);
  padding: 14px 28px;
  text-align: center;
  margin-top: 8px;
}
.nav__mobile.open { display: flex; }

/* ---- Hero ---- */
.hero {
  margin-top: var(--nav-h);
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--blue);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,83,118,0.92) 0%, rgba(1,62,89,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}
.hero__title {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero__desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  max-width: 100%;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__badge svg { flex-shrink: 0; }

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: inherit;
}
.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.service-card__icon--hotel { background: var(--blue-pale); color: var(--blue); }
.service-card__icon--guarderia { background: var(--accent-light); color: var(--accent); }
.service-card__icon--formacion { background: var(--green-light); color: var(--green); }
.service-card__icon--transporte { background: #F0E6F6; color: #7B4BA0; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 16px; }
.service-card__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step { text-align: center; position: relative; }
.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.9rem; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-grid__item {
  aspect-ratio: 1;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.gallery-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid__item:hover img { transform: scale(1.05); }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial__stars {
  color: #F4B740;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial__text {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}
.testimonial__author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card { text-align: center; }
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--blue-pale);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-card p { color: var(--text-soft); font-size: 0.9rem; }

/* ---- Location ---- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blue-pale);
}
.location__map iframe { width: 100%; height: 100%; border: none; }
.location__info h3 { margin-bottom: 20px; }
.location__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.location__detail svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.location__detail strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.location__detail span { color: var(--text-soft); font-size: 0.9rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---- Pricing Tables ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pricing-card h3 { margin-bottom: 24px; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row__label { font-size: 0.95rem; }
.pricing-row__price { font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.pricing-card__note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--blue-ghost);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__q:hover { color: var(--blue); }
.faq-item__q svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-item__a {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-item__a p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; }

/* ---- About Page ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-story__img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
}
.about-story__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2,83,118,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- Footer ---- */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer__bottom a { color: rgba(255,255,255,0.5); margin-left: 16px; }
.footer__bottom a:hover { color: var(--white); }

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ---- Page Header (inner pages) ---- */
.page-header {
  margin-top: var(--nav-h);
  background: var(--blue);
  padding: 48px 0;
}
.page-header__breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.page-header__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header__breadcrumb a:hover { color: var(--white); }
.page-header h1 { color: var(--white); font-size: 2.2rem; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 8px; }

/* ---- Schedule Info ---- */
.schedule-box {
  background: var(--blue-ghost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}
.schedule-row + .schedule-row { border-top: 1px solid var(--border); }
.schedule-row strong { color: var(--text); }

/* ---- Service Detail (inner pages) ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__img {
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
}
.service-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__content h3 { margin-bottom: 12px; font-size: 1.5rem; }
.service-detail__content p { margin-bottom: 16px; color: var(--text-soft); }
.service-detail__features {
  list-style: none;
  margin-bottom: 20px;
}
.service-detail__features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.service-detail__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { min-height: auto; }
  .hero__title { font-size: 2.1rem; }
  .hero__content { padding: 36px 0; }
  .hero__desc { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .location-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { justify-content: center; width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about-story { grid-template-columns: 1fr; }
  .about-story__img { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__img { order: 2; }
  .service-detail__content { order: 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__title { font-size: 1.7rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
