/* =============================================
   PLANTILLA MOCKUP — Genérica, recortada
   style.css — Mobile-first
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Acento principal: teal oscuro sofisticado (reemplaza al cyan genérico) */
  --cyan:        #0D7377;
  --cyan-dim:    #0A5C5F;
  --cyan-pale:   rgba(13,115,119,.10);
  --cyan-light:  #4FA8AC;

  /* Acento cálido secundario — para detalles puntuales, no para todo */
  --amber:       #F5A623;
  --amber-dim:   #D88E10;

  --dark:        #11201F;
  --dark-2:      #16302E;
  --mid:         #2E4644;
  --gray:        #6D7A78;
  --gray-light:  #E7E2D8;

  /* Fondo cálido en vez de blanco puro */
  --white:       #FFFFFF;
  --white-off:   #FAF7F2;
  --white-dim:   rgba(255,255,255,.75);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  12px;
  --radius-lg:  4px 28px 4px 28px;
  --radius-xl:  48px;

  --shadow-sm:   0 2px 8px rgba(17,32,31,.06);
  --shadow-md:   0 8px 32px rgba(17,32,31,.10);
  --shadow-lg:   0 20px 60px rgba(17,32,31,.14);

  --transition: 0.26s cubic-bezier(0.4,0,0.2,1);
  --navbar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
.h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -.01em; }
.h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(.95rem, 1.8vw, 1.08rem); font-weight: 400; line-height: 1.7; color: var(--gray); }
.label { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.accent { color: var(--cyan); font-style: italic; }

/* --- LAYOUT --- */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-light); }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.9rem; border-radius: 3px 16px 3px 16px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  transition: var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--cyan); color: var(--white); }
.btn--primary:hover { background: var(--cyan-dim); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.4); color: var(--white-off); background: transparent; }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--sm { padding: .65rem 1.3rem; font-size: .82rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,32,31,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--navbar-h); }
.navbar__logo-fallback { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white-off); }
.navbar__links { display: none; align-items: center; gap: 2rem; }
.navbar__links a { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.7); transition: color var(--transition); }
.navbar__links a:hover { color: var(--cyan); }
.navbar__actions { display: flex; align-items: center; gap: .75rem; }
.navbar__cta { display: none; }
.navbar__burger {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: rgba(255,255,255,.08); transition: background var(--transition);
}
.navbar__burger:hover { background: var(--cyan-pale); }
.navbar__burger span { display: block; width: 20px; height: 2px; background: var(--white-off); border-radius: 2px; transition: var(--transition); }
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--navbar-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-light);
  z-index: 99; padding: 1.5rem 1.25rem 2rem;
  flex-direction: column; gap: .25rem; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 500; color: var(--mid); transition: background var(--transition); }
.mobile-menu a:hover { background: var(--gray-light); color: var(--cyan); }
.mobile-menu__cta { margin-top: 1rem; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 580px;
  padding: calc(var(--navbar-h) + 1.75rem) 0 1.75rem;
  display: flex; align-items: center;
  background: var(--dark); position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,.08);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: .4rem; }
.hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.hero__title { margin-bottom: .6rem; color: var(--white-off); }
.hero__subtitle { margin-bottom: 1.1rem; max-width: 480px; color: rgba(255,255,255,.7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.1rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.hero__trust-item { display: flex; align-items: center; gap: .5rem; font-size: .83rem; font-weight: 500; color: rgba(255,255,255,.6); }
.hero__trust-item svg { color: var(--cyan); flex-shrink: 0; }
.hero__visual { position: relative; }
.hero__img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--gray-light);
  border: 1px solid var(--gray-light);
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__float-card {
  position: absolute; bottom: -1.25rem; left: -1.25rem;
  background: var(--dark); color: var(--white-off);
  border-radius: 3px 14px 3px 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .85rem; z-index: 2;
  background-image: radial-gradient(circle at 0 50%, transparent 7px, var(--dark) 7.5px);
  background-position: -1px 0;
}
.hero__float-icon { width: 38px; height: 38px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--amber); flex-shrink: 0; }
.hero__float-card strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; display: block; line-height: 1.2; color: var(--white-off); }
.hero__float-card span { font-size: .73rem; color: rgba(255,255,255,.6); }

@media (max-width: 1023px) {
  .hero__visual { display: none; }
  .hero__grid { padding: 0; }
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { background: var(--dark); padding: 1.1rem 0; }
.trust-bar__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; }
.trust-bar__item { display: flex; align-items: center; gap: .55rem; color: var(--white-dim); font-size: .83rem; font-weight: 500; }
.trust-bar__item svg { color: var(--cyan); flex-shrink: 0; }

/* =============================================
   SERVICES
   ============================================= */
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2.5rem; }
.service-card {
  position: relative;
  background: var(--white); border: 1px solid var(--gray-light);
  border-top: 3px solid var(--dark);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 2rem 1.75rem 1.75rem;
  display: flex; flex-direction: column; gap: .65rem;
  transition: var(--transition); overflow: hidden;
}
.service-card::before {
  content: attr(data-index);
  position: absolute; top: .5rem; right: 1.25rem;
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 600;
  color: var(--gray-light); line-height: 1; z-index: 0; pointer-events: none;
}
.service-card:hover { border-top-color: var(--cyan); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__icon { width: 44px; height: 44px; background: var(--cyan-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--cyan); position: relative; z-index: 1; }
.service-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--dark); position: relative; z-index: 1; }
.service-card__desc { font-size: .88rem; color: var(--gray); line-height: 1.65; flex: 1; position: relative; z-index: 1; }
.service-card__link { color: var(--cyan-dim); font-size: .83rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; transition: gap var(--transition); position: relative; z-index: 1; }
.service-card:hover .service-card__link { gap: .6rem; }

/* =============================================
   FOOTER
   ============================================= */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); padding: 3rem 0 1.5rem; color: rgba(255,255,255,.6); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer__brand p { font-size: .87rem; margin-top: .75rem; line-height: 1.7; }
.footer__col-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--white-off); margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .87rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--cyan); }
.footer__contact-item { display: flex; align-items: center; gap: .6rem; font-size: .87rem; margin-bottom: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .79rem; text-align: center; }

/* =============================================
   RESPONSIVE 640px+
   ============================================= */
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE 1024px+
   ============================================= */
@media (min-width: 1024px) {
  .navbar__links { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__burger { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 1rem 0; }
  .hero__visual { display: block; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}