/*
Theme Name: SUINFORMATICO.online
Theme URI: https://suinformatico.online
Author: SUINFORMATICO.online
Description: Tema corporativo para soporte tecnico informatico.
Version: 1.0.0
Text Domain: suinformatico-online
*/
:root {
  --background: #f6f1ee;
  --foreground: #182124;
  --brand: #4d3338;
  --brand-soft: #f3acba;
  --brand-muted: #7c5359;
  --ink: #182124;
  --teal: #0f766e;
  --paper: #fffdf9;
  --line: #decfca;
  --sand: #e8dccf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  align-items: center;
  background: rgb(255 253 249 / 96%);
  border-bottom: 1px solid rgb(222 207 202 / 72%);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(170px, 250px) 1fr auto;
  padding: 14px clamp(18px, 4vw, 60px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  width: min(250px, 100%);
}

.brand img {
  height: auto;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  color: #4a5456;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.remote-header-action {
  background: var(--brand);
  border-radius: 8px;
  color: white;
  font-size: 0.92rem;
  font-weight: 850;
  justify-self: end;
  padding: 10px 14px;
  white-space: nowrap;
}

.hero {
  align-items: end;
  display: grid;
  gap: clamp(20px, 4vw, 52px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(260px, 0.48fr);
  min-height: calc(100vh - 74px);
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 60px) clamp(34px, 5vw, 58px);
  position: relative;
}

.hero::before {
  background: linear-gradient(
    90deg,
    rgb(24 33 36 / 84%) 0%,
    rgb(24 33 36 / 70%) 38%,
    rgb(24 33 36 / 26%) 72%,
    rgb(24 33 36 / 8%) 100%
  );
  content: '';
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-copy,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-background {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.hero-background img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.hero-copy {
  max-width: 820px;
}

.hero .eyebrow {
  color: var(--brand-soft);
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: white;
  font-size: clamp(2.7rem, 6.2vw, 5.85rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 980px;
}

.hero-lede {
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.primary-button,
.secondary-button,
.panel-contact {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.primary-button {
  background: var(--brand);
  color: white;
}

.primary-button:hover {
  background: #3d282c;
}

.secondary-button {
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 28%);
  color: white;
  backdrop-filter: blur(8px);
}

.secondary-button:hover {
  border-color: rgb(255 255 255 / 58%);
}

.hero-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 800px;
}

.hero-facts div {
  border-left: 3px solid var(--brand-soft);
  padding-left: 14px;
}

.hero-facts dt {
  color: rgb(255 255 255 / 62%);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-facts dd {
  color: white;
  font-weight: 800;
  margin: 0;
}

.hero-proof {
  align-self: end;
  background: rgb(77 51 56 / 78%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  color: white;
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
}

.hero-proof span {
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-proof strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.hero-proof p {
  color: rgb(255 255 255 / 78%);
  line-height: 1.55;
  margin-bottom: 6px;
}

.hero-proof a {
  background: var(--brand-soft);
  border-radius: 8px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  margin-top: 8px;
  min-height: 44px;
  padding: 11px 14px;
  width: fit-content;
}

.hero-proof .proof-secondary {
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  color: white;
  margin-top: 0;
}

.trust-strip {
  background: linear-gradient(90deg, var(--ink), #233438);
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px clamp(18px, 4vw, 60px);
}

.trust-strip span {
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9rem;
  font-weight: 750;
  padding: 8px 12px;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 60px);
}

.section-heading {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  margin: 0 auto 34px;
  max-width: 1160px;
}

.section-heading h2,
.business-band h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.business-band p,
.contact-copy p {
  color: #526064;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.service-card,
.process-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card::before {
  background: linear-gradient(90deg, var(--brand-soft), var(--teal));
  content: '';
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.service-card:hover {
  border-color: #c8b0aa;
  box-shadow: 0 18px 38px rgb(77 51 56 / 10%);
  transform: translateY(-3px);
}

.service-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.service-card-copy {
  display: grid;
  flex: 1;
  gap: 12px;
  padding: 0 22px 22px;
}

.service-card span {
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 900;
  margin-top: 2px;
  text-transform: uppercase;
}

.service-card h3,
.process-card h3 {
  color: var(--brand);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.service-card p,
.process-card p {
  color: #566367;
  font-size: 0.96rem;
  line-height: 1.58;
  margin-bottom: 0;
}

.service-card strong {
  align-self: end;
  color: var(--brand);
  font-size: 0.9rem;
  margin-top: 10px;
}

.business-band {
  align-items: center;
  background: #dbe8e4;
  border-block: 1px solid #c4d5d0;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 60px);
}

.business-image {
  border-radius: 8px;
  box-shadow: 0 20px 54px rgb(15 118 110 / 16%);
  overflow: hidden;
}

.business-image img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.business-copy {
  max-width: 680px;
}

.business-copy h2 {
  margin-bottom: 18px;
}

.method-section {
  background: var(--paper);
}

.process-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.process-card span {
  color: var(--teal);
  display: block;
  font-weight: 900;
  margin-bottom: 42px;
}

.contact-section {
  align-items: start;
  background: var(--brand);
  color: white;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 60px);
}

.contact-copy h2,
.contact-copy p {
  color: white;
}

.contact-copy .eyebrow {
  color: var(--brand-soft);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-form {
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(18px, 3vw, 24px);
}

.contact-form label {
  color: var(--brand-soft);
  display: grid;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 7px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px;
  text-transform: none;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-submit {
  background: var(--brand-soft);
  border: 0;
  border-radius: 8px;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 13px 16px;
}

.form-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.form-status p {
  color: rgb(255 255 255 / 82%);
  flex-basis: 100%;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 2px 0 0;
}

.form-status a,
.form-status button {
  align-items: center;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
}

.contact-actions a {
  align-items: center;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px;
}

.contact-actions a:hover {
  background: rgb(255 255 255 / 13%);
}

.contact-actions span {
  color: var(--brand-soft);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-actions strong {
  color: white;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-align: right;
  overflow-wrap: anywhere;
}

.service-hero {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  padding: clamp(46px, 7vw, 90px) clamp(18px, 4vw, 60px);
}

.remote-hero {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  padding: clamp(46px, 7vw, 90px) clamp(18px, 4vw, 60px);
}

.service-hero-copy,
.remote-copy {
  align-self: center;
  max-width: 780px;
}

.service-hero h1,
.remote-hero h1 {
  color: var(--ink);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  margin-bottom: 22px;
}

.service-hero-copy > p:not(.eyebrow),
.remote-copy > p:not(.eyebrow) {
  color: #526064;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.68;
  margin-bottom: 26px;
}

.back-link {
  color: var(--brand);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.secondary-button.light {
  background: var(--paper);
  border-color: var(--line);
  color: var(--brand);
}

.service-hero-image {
  border-radius: 8px;
  box-shadow: 0 24px 64px rgb(77 51 56 / 16%);
  min-height: 500px;
  overflow: hidden;
}

.service-hero-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-detail-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 60px);
}

.detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.55fr);
  margin: 0 auto;
  max-width: 1160px;
}

.detail-panel,
.result-panel {
  border-radius: 8px;
}

.detail-panel {
  background: #f8f2ef;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
}

.detail-panel h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
  margin-bottom: 26px;
  max-width: 760px;
}

.detail-panel ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-panel li {
  border-left: 3px solid var(--brand-soft);
  color: #4f5b5f;
  line-height: 1.55;
  padding-left: 14px;
}

.result-panel {
  align-self: stretch;
  background: var(--brand);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 36px);
}

.result-panel span {
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-panel p {
  color: rgb(255 255 255 / 86%);
  font-size: 1.12rem;
  line-height: 1.58;
}

.result-panel a {
  background: var(--brand-soft);
  border-radius: 8px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 13px 16px;
}

.compact-contact {
  padding-block: clamp(44px, 6vw, 76px);
}

.remote-steps-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 60px);
}

.remote-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.cookie-banner {
  align-items: center;
  background: rgb(255 253 249 / 96%);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 18px 48px rgb(24 33 36 / 18%);
  color: var(--ink);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  left: 18px;
  max-width: min(760px, calc(100% - 36px));
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
}

.cookie-banner p {
  color: #526064;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 42px;
  padding: 10px 14px;
}

.cookie-actions button:first-child {
  background: white;
  color: var(--brand);
}

.cookie-actions button:last-child {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .business-band,
  .contact-section,
  .service-hero,
  .remote-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hero-image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    width: min(230px, 100%);
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-facts,
  .services-grid,
  .process-grid,
  .remote-steps {
    grid-template-columns: 1fr;
  }

  .remote-header-action {
    align-self: center;
  }

  .service-card,
  .process-card {
    min-height: auto;
  }

  .service-hero-image {
    min-height: 320px;
  }

  .contact-actions a {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions strong {
    text-align: left;
  }

  .contact-form,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }
}

