:root {
  --pink: #e8527a;
  --yellow: #f7c873;
  --teal: #3ec9c9;
  --dark: #1c1c28;
  --bg: #fafafa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(120deg, var(--pink), var(--yellow));
  color: white;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.logo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.hero-text h1 {
  font-size: 3rem;
  letter-spacing: 0.05em;
}

.subnombre {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: -0.35rem 0 0.6rem;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 32rem;
}

.hero-redes {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.hero-redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.15s ease, transform 0.15s ease;
}

.hero-redes a:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.hero-redes svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.banner {
  position: relative;
}

.banner img {
  width: 100%;
  display: block;
  max-height: 360px;
  object-fit: cover;
}

.boton-presupuesto {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--dark);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.boton-presupuesto:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.servicios {
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.servicios h2, .contacto h2 {
  color: var(--pink);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.servicios > p {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-top: 4px solid var(--teal);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contacto {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
}

.contacto p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.boton {
  display: inline-block;
  background: var(--teal);
  color: var(--dark);
  font-weight: bold;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.boton:hover {
  transform: scale(1.05);
}

.contacto-label {
  margin: 2.25rem 0 0;
  opacity: 1;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contacto-enlaces {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.contacto-enlace {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: white;
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.95rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contacto-enlace:hover {
  opacity: 1;
  transform: translateX(2px);
}

.contacto-enlace svg {
  width: 22px;
  height: 22px;
  fill: white;
  flex-shrink: 0;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #888;
}

/* App Alert Banner Styling */
.top-banner-app {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--teal);
}

.top-banner-app strong {
  color: var(--yellow);
}

.boton-banner-app {
  background: var(--pink);
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.boton-banner-app:hover {
  background: var(--teal);
  color: var(--dark);
  transform: scale(1.05);
}
