html {
  scroll-behavior: smooth;
}

:root {
  --brand-gold: #baa360;
  --brand-red: #7f1810;
  --text-dark: #212529;
  --text-muted: #5f5f5f;
  --white: #ffffff;
  --bg-soft: #f4f7f9;
  --bg-light: #ffffff;
  --border-color: #e5e7eb;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.bg-light {
  background: var(--bg-light);
}

section {
  scroll-margin-top: 100px;
}

.solution-service-page {
  background: var(--white);
}

.service-hero {
  margin-top: 110px;
  padding: 80px 0 0 0;
  background-image:
    linear-gradient(
      135deg,
      rgba(21, 21, 21, 0.95) 0%,
      rgba(127, 24, 16, 0.85) 100%
    ),
    url("../img/websites_hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.service-hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-link-wrapper {
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-back i {
  font-size: 1.1rem;
}

.btn-back:hover {
  color: var(--white);
  transform: translateX(-6px);
}

.eyebrow,
.sub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-family: "Montserrat", sans-serif;
}

.sub-eyebrow {
  margin-bottom: 10px;
  color: var(--brand-red);
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-main,
.btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.btn-main {
  background: var(--brand-red);
  color: var(--white);
  border: 2px solid var(--brand-red);
  box-shadow: 0 4px 14px rgba(127, 24, 16, 0.2);
}

.btn-main:hover {
  background: #5a110b;
  border-color: #5a110b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(127, 24, 16, 0.4);
}

.btn-alt {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-alt:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
}

.hero-visual img {
  width: min(100%, 520px);
  max-height: 380px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.25));
}

.section-title {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-title.align-left {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.title-xl {
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.line {
  width: 60px;
  height: 3px;
  margin: 0 auto 20px;
  border-radius: 2px;
  background: var(--brand-red);
}

.align-left .line {
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.035);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(186, 163, 96, 0.38);
  box-shadow: 0 18px 38px rgba(127, 24, 16, 0.07);
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(127, 24, 16, 0.055);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 1.55rem;
  transition: var(--transition);
}

.service-card:hover .card-icon-wrapper {
  color: var(--white);
  background: var(--brand-red);
  transform: translateY(-3px);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.split-feature-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.split-feature-wrapper.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
  padding: 0;
}

.split-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.feature-list,
.process-list {
  display: grid;
  gap: 16px;
}

.feature-item,
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.feature-item i,
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gold);
  color: var(--white);
  font-weight: 700;
}

.feature-item strong,
.process-step strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Montserrat", sans-serif;
}

.feature-item p,
.process-step p {
  margin: 0;
  color: var(--text-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.audience-pill {
  min-height: 88px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(127, 24, 16, 0.08);
  color: var(--text-dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-band {
  padding: 54px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(127, 24, 16, 0.96), rgba(44, 44, 44, 0.96)),
    url("../img/capa-tech2.jpg") center/cover;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

#contactos {
  background: var(--bg-soft);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--brand-red);
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.2;
}

.contact-info > p,
.info-item p {
  color: #555;
}

.info-item {
  margin-top: 28px;
}

.info-item strong {
  color: var(--brand-gold);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-form-container {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #444;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  color: #222;
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(186, 163, 96, 0.18);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-red);
}

.g-recaptcha {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
}

.btn-submit {
  width: 100%;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(127, 24, 16, 0.2);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.btn-submit:hover {
  background: #5a110b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 24, 16, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(127, 24, 16, 0.2);
}

footer a {
  text-decoration: none !important;
  color: inherit !important;
}

footer a:hover {
  color: var(--brand-gold) !important;
}

@media (max-width: 1100px) {
  .split-feature-wrapper,
  .split-feature-wrapper.reverse {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 240px;
  }

  .service-grid,
  .audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .service-hero {
    margin-top: 74px;
    padding: 60px 0 0 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .title-xl {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px auto;
  }

  .btn-main,
  .btn-alt {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .audience-list,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title,
  .section-title.align-left {
    text-align: left;
    margin-left: 0;
  }

  .line {
    margin-left: 0;
  }

  .split-visual {
    border-radius: 18px;
  }

  .split-visual img,
  .hero-visual img {
    width: min(100%, 420px);
    max-height: 280px;
  }

  .split-visual img {
    width: 100%;
    max-height: none;
  }

  .cta-band {
    padding: 34px 26px;
  }

  .contact-form-container {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .service-card,
  .feature-item,
  .process-step {
    padding: 22px;
  }

}
