* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #0f4c75;
  --primary-2: #1b6ca8;
  --accent: #f9a826;
  --accent-2: #ffbc42;
  --bg-soft: #f7fafc;
  --text: #1f2937;
  --muted: #5b6777;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 76, 117, 0.10);
  --radius: 18px;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  transition: 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 32%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  padding: 36px 0 30px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: bold;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.brand h1 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  line-height: 1.15;
}

.brand p {
  margin: 0;
  max-width: 650px;
  opacity: 0.96;
}

.header-btn {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.header-btn:hover {
  transform: translateY(-2px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 15px 0;
}

.navbar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  color: var(--accent);
}

.hero {
  background:
    radial-gradient(circle at right top, rgba(255,188,66,0.36), transparent 28%),
    linear-gradient(180deg, #fff8ec 0%, #ffffff 100%);
  padding: 72px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.tag,
.mini-tag {
  display: inline-block;
  background: rgba(15, 76, 117, 0.09);
  color: var(--primary);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-text h2 {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.08;
  color: #12263a;
}

.hero-text p {
  margin: 0 0 22px;
  color: #32465a;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: bold;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  gap: 14px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.stat-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: #12263a;
}

.stat-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-card {
  background: var(--white);
  border: 1px solid rgba(15, 76, 117, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.visual-main {
  background:
    linear-gradient(135deg, rgba(15,76,117,0.95), rgba(27,108,168,0.92)),
    linear-gradient(135deg, #0f4c75, #1b6ca8);
  color: var(--white);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.visual-main::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -40px;
  bottom: -40px;
  background: rgba(255,255,255,0.10);
}

.visual-label {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: bold;
}

.visual-main h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.visual-main p {
  margin: 0;
  max-width: 420px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visual-grid .visual-card {
  min-height: 150px;
}

.emoji {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 10px;
}

.visual-card h4 {
  margin: 0 0 8px;
  color: var(--primary);
}

.visual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

section {
  padding: 76px 0;
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.section-heading.narrow {
  max-width: 900px;
}

.section-heading h2 {
  margin: 8px 0 12px;
  font-size: 2.15rem;
  line-height: 1.15;
  color: #12263a;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.intro {
  background: var(--bg-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card:hover,
.partner-card:hover,
.feature-box:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff3d8, #ffe3a8);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-strip {
  background:
    linear-gradient(135deg, rgba(15,76,117,0.96), rgba(27,108,168,0.92));
  color: var(--white);
  padding: 58px 0;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-box {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.feature-box span {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 10px;
}

.feature-box h3 {
  margin: 0 0 10px;
}

.feature-box p {
  margin: 0;
  opacity: 0.94;
}

.benefits {
  background: #ffffff;
}

.small-cards {
  grid-template-columns: repeat(4, 1fr);
}

.showcase {
  background: var(--bg-soft);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.showcase-text h2 {
  margin: 8px 0 14px;
  font-size: 2.05rem;
  color: #12263a;
}

.mockup-panel {
  background: linear-gradient(135deg, #eef6fb, #ffffff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.mockup-card {
  border-radius: 18px;
  min-height: 140px;
}

.mockup-a {
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(15,76,117,0.92), rgba(27,108,168,0.84)),
    #1b6ca8;
  position: relative;
}

.mockup-a::before,
.mockup-b::before,
.mockup-c::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}

.mockup-a::after {
  content: "WEB + DISEÑO + SERVICIOS";
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: white;
  font-weight: bold;
  letter-spacing: 0.4px;
}

.mockup-b {
  background: linear-gradient(135deg, #ffdc8b, #f9a826);
  position: relative;
}

.mockup-b::after {
  content: "SEO";
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-weight: bold;
  color: #5d3a00;
}

.mockup-c {
  background: linear-gradient(135deg, #d7ecf8, #f0f8ff);
  position: relative;
}

.mockup-c::after {
  content: "COLABORADORES";
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-weight: bold;
  color: var(--primary);
}

.partners-section {
  background: #ffffff;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.partner-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.partner-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  font-weight: bold;
}

.partner-card h3 {
  margin: 0;
  color: var(--primary);
}

.partner-type {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.partner-card > p {
  color: var(--muted);
}

.partner-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

.partner-card a:hover {
  text-decoration: underline;
}

.cta-section {
  padding-top: 18px;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  border-radius: 24px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0 0 10px;
}

.cta-box p {
  margin: 0;
  opacity: 0.95;
}

.contact-section {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--primary);
}

.contact-list {
  margin: 0;
  padding-left: 18px;
}

.contact-list li {
  margin-bottom: 8px;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  z-index: 90;
}

.footer {
  background: #0d3d5d;
  color: var(--white);
  padding: 30px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer h3 {
  margin: 0 0 8px;
}

.footer p {
  margin: 4px 0;
  opacity: 0.95;
}

@media (max-width: 1080px) {
  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .partner-list,
  .cards,
  .small-cards,
  .feature-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-panel {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .brand h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }

  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .partner-list,
  .cards,
  .small-cards,
  .feature-strip-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    justify-content: flex-start;
    gap: 16px;
  }

  .header-btn {
    width: 100%;
    text-align: center;
  }

  .mockup-panel {
    min-height: auto;
  }

  .cta-box {
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: column;
  }

  .whatsapp {
    bottom: 14px;
    right: 14px;
  }
}