/*
Theme Name: Host Latino 2026
Theme URI: https://hostlat.com/
Author: Host Latino
Description: Tema ligero para servicios de hosting y desarrollo web.
Version: 2.0.2
Text Domain: hostlat
*/

:root {
  --charcoal: #171b1f;
  --charcoal-soft: #22282e;
  --ink: #17212b;
  --muted: #5a6672;
  --line: #dfe5e9;
  --surface: #f4f7f8;
  --white: #ffffff;
  --orange: #ff9417;
  --orange-dark: #d96f00;
  --cyan: #25b9d1;
  --green: #13845d;
  --container: 1180px;
  --radius: 6px;
  --shadow: 0 16px 38px rgba(20, 27, 32, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--orange-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 23px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.content-narrow {
  width: min(calc(100% - 40px), 820px);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility-bar {
  min-height: 36px;
  background: var(--charcoal);
  color: #dfe5e9;
  font-size: 13px;
}

.utility-inner,
.utility-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner {
  min-height: 36px;
}

.utility-bar a {
  color: var(--white);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  width: 120px;
  height: 66px;
  align-items: center;
}

.brand img {
  width: 120px;
  height: auto;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a {
  color: var(--orange-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #ffad47;
  border-color: #ffad47;
  color: var(--charcoal);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

.button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.button-dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #303841;
  border-color: #303841;
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button-block {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
  background-color: var(--charcoal);
  background-image: url("assets/images/hero-web.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 15, 18, 0.54);
  content: "";
}

.hero-content {
  padding-block: 72px;
}

.hero-content > * {
  max-width: 670px;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-copy {
  font-size: 21px;
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.development-band .eyebrow,
.contact-section .eyebrow {
  color: var(--cyan);
}

.eyebrow-dark {
  color: var(--charcoal);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.hero-facts li::before {
  color: var(--orange);
  content: "✓";
  margin-right: 8px;
}

.promo-band {
  background: var(--orange);
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: 40px;
}

.promo-band h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.promo-band h2 strong {
  display: inline-block;
  color: var(--charcoal);
}

.promo-band p:last-child {
  margin-bottom: 0;
}

.section {
  padding-block: 96px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.section-heading-centered {
  display: block;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered > p {
  margin-top: 18px;
}

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

.service-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card-accent {
  border-top: 5px solid var(--orange);
  background: var(--surface);
}

.service-number {
  display: block;
  margin-bottom: 58px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.text-link {
  color: var(--ink);
  font-weight: 800;
}

.development-band {
  background: var(--charcoal);
  color: var(--white);
}

.development-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  min-height: 560px;
  align-items: stretch;
}

.development-grid > div:first-child {
  padding: 76px 70px 76px 0;
}

.development-band h2,
.development-band h3,
.development-band p,
.development-band a {
  color: var(--white);
}

.development-visual {
  min-height: 520px;
  background-color: #262d33;
  background-image: url("assets/images/hero-web.webp");
  background-position: 72% center;
  background-size: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.check-list li::before {
  color: var(--orange);
  content: "✓";
  font-weight: 900;
}

.text-link-light {
  color: var(--white);
}

.plans-section {
  background: var(--surface);
}

.pricing-card {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 27, 32, 0.05);
}

.pricing-featured {
  position: relative;
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}

.recommended {
  margin: -34px -34px 25px;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.plan-name {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.price {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--orange-dark);
  font-size: 22px;
  vertical-align: top;
}

.price small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.pricing-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.pricing-card .button {
  margin-top: auto;
}

.plans-note {
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.about-section {
  border-top: 8px solid var(--cyan);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.about-grid > div > p {
  color: var(--muted);
}

.value-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.value-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.value-list span {
  color: var(--muted);
}

.contact-section {
  padding-block: 96px;
  background: var(--charcoal-soft);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 88px;
}

.contact-copy h2,
.contact-copy p,
.contact-copy a {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  color: #d4dbe0;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  font-weight: 700;
}

.contact-links img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(72%) saturate(2033%) hue-rotate(149deg) brightness(94%) contrast(92%);
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

.contact-details > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 14px;
}

.contact-details dt {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details dt img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(72%) saturate(2033%) hue-rotate(149deg) brightness(94%) contrast(92%);
}

.contact-details dd {
  margin: 0;
}

.contact-form-wrap {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.wpcf7-form p {
  margin: 0 0 16px;
}

.wpcf7-form label {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bbc4ca;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(37, 185, 209, 0.18);
}

.wpcf7 input[type="submit"] {
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 800;
  cursor: pointer;
}

.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
}

.page-hero {
  display: flex;
  min-height: 560px;
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.page-hero-development {
  position: relative;
  background-image: url("assets/images/hero-web.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero-development::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 14, 18, 0.63);
  content: "";
}

.page-hero-content {
  padding-block: 72px;
}

.page-hero-content > * {
  max-width: 760px;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p:not(.eyebrow) {
  font-size: 21px;
}

.offer-section {
  background: var(--orange);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 26px 60px;
  align-items: center;
  padding-block: 64px;
}

.offer-grid h2 {
  margin-bottom: 12px;
}

.offer-price {
  display: flex;
  flex-direction: column;
  padding-left: 34px;
  border-left: 2px solid var(--charcoal);
}

.offer-price span,
.offer-price small {
  font-weight: 700;
}

.offer-price strong {
  color: var(--charcoal);
  font-size: 50px;
  line-height: 1.1;
}

.offer-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-features li::before {
  margin-right: 8px;
  content: "✓";
  font-weight: 900;
}

.offer-grid > .button {
  justify-self: start;
}

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

.project-grid article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-grid article span {
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
}

.project-grid h3 {
  margin: 42px 0 10px;
}

.project-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  padding-block: 96px;
  background: var(--surface);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 280px;
  padding: 28px;
  border-top: 4px solid var(--cyan);
  background: var(--white);
}

.process-list > li > span {
  color: var(--orange-dark);
  font-size: 18px;
  font-weight: 900;
}

.process-list h3 {
  margin: 62px 0 10px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.content-page {
  min-height: 60vh;
  padding-block: 96px;
}

.content-header {
  margin-bottom: 48px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.content-header h1 {
  margin-bottom: 0;
  font-size: 48px;
}

.entry-content h2 {
  margin-top: 45px;
  font-size: 30px;
}

.entry-content h3 {
  margin-top: 32px;
  font-size: 22px;
}

.entry-content p,
.entry-content li {
  color: #34404b;
}

.post-list article {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  padding-top: 66px;
  background: #101316;
  color: #cbd2d9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}

.footer-brand {
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 16px;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #dfe5e9;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #333a40;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 145px 1fr auto;
    gap: 18px;
  }

  .primary-nav .menu {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .development-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .contact-grid {
    gap: 50px;
  }
}

@media (max-width: 860px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .brand {
    width: 106px;
    height: 58px;
  }

  .brand img {
    width: 106px;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 610px;
    background-position: 58% center;
  }

  .promo-inner,
  .section-heading,
  .development-grid,
  .about-grid,
  .contact-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .promo-inner {
    gap: 22px;
  }

  .promo-inner .button {
    justify-self: start;
  }

  .section-heading {
    gap: 18px;
  }

  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 26px;
  }

  .development-grid > div:first-child {
    padding: 66px 0;
  }

  .development-visual {
    min-height: 420px;
    margin-inline: -20px;
  }

  .pricing-card {
    min-height: auto;
  }

  .about-grid {
    gap: 32px;
  }

  .contact-grid {
    gap: 38px;
  }

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

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

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container,
  .content-narrow {
    width: min(calc(100% - 30px), var(--container));
  }

  .utility-inner > span,
  .utility-links > span {
    display: none;
  }

  .utility-inner,
  .utility-links {
    justify-content: center;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: auto;
    align-items: end;
    background-position: 67% center;
  }

  .hero::before {
    background: rgba(9, 13, 16, 0.67);
  }

  .hero-content {
    padding-block: 44px 36px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy,
  .page-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .button-row {
    display: grid;
    margin-top: 20px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-facts {
    display: flex;
    gap: 7px 18px;
    margin-top: 22px;
    padding-top: 16px;
    font-size: 13px;
  }

  .section,
  .process-section,
  .contact-section,
  .content-page {
    padding-block: 72px;
  }

  .promo-band h2 {
    font-size: 28px;
  }

  .service-card,
  .pricing-card,
  .project-grid article,
  .contact-form-wrap {
    padding: 26px;
  }

  .recommended {
    margin: -26px -26px 22px;
  }

  .development-visual {
    min-height: 320px;
    margin-inline: -15px;
  }

  .value-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-hero {
    min-height: 620px;
  }

  .offer-price {
    padding: 24px 0 0;
    border-top: 2px solid var(--charcoal);
    border-left: 0;
  }

  .offer-price strong {
    font-size: 42px;
  }

  .offer-features,
  .project-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .process-list h3 {
    margin-top: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .content-header h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
