/*
Theme Name: Solinfo Servicios
Theme URI: https://solinfo.cl
Author: Solinfo
Description: Tema corporativo para servicios de mantención computacional, instalación de software, desarrollo web e intranets.
Version: 1.1.2
Text Domain: solinfo-servicios
*/

:root {
  --sol-primary: #2563eb;
  --sol-secondary: #06b6d4;
  --sol-dark: #0f172a;
  --sol-muted: #64748b;
  --sol-light: #f8fafc;
  --sol-border: #e2e8f0;
  --sol-white: #ffffff;
  --sol-radius: 22px;
  --sol-shadow: 0 18px 45px rgba(15, 23, 42, .12);
  --sol-container: 1180px;
  --sol-accent-light: #67e8f9;
  --sol-topbar-bg: #0f172a;
  --sol-topbar-color: rgba(255,255,255,.88);
  --sol-header-bg: rgba(15,23,42,.92);
  --sol-header-border: rgba(255,255,255,.08);
  --sol-header-link: #ffffff;
  --sol-header-link-hover: #67e8f9;
  --sol-footer-bg: #020617;
  --sol-hero-ring: rgba(6,182,212,.16);
  --sol-hero-overlay-start: rgba(2,6,23,.95);
  --sol-hero-overlay-middle: rgba(15,23,42,.84);
  --sol-hero-overlay-end: rgba(15,23,42,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sol-dark);
  background: var(--sol-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: var(--sol-primary); text-decoration: none; }
a:hover { color: var(--sol-secondary); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sol-container { width: min(calc(100% - 40px), var(--sol-container)); margin-inline: auto; }
.sol-section { padding: 92px 0; }
.sol-section--soft { background: var(--sol-light); }
.sol-section--dark { color: var(--sol-white); background: var(--sol-dark); }
.sol-grid { display: grid; gap: 28px; }
.sol-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--sol-primary); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sol-eyebrow::before { width: 28px; height: 3px; content: ""; border-radius: 999px; background: currentColor; }
.sol-title { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.1; letter-spacing: -.04em; }
.sol-lead { max-width: 720px; margin: 20px 0 0; color: var(--sol-muted); font-size: 1.12rem; }
.sol-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.sol-section-head .sol-lead { margin: 0; max-width: 490px; }
.sol-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sol-btn:hover { transform: translateY(-2px); }
.sol-btn--primary { color: var(--sol-white); background: var(--sol-primary); box-shadow: 0 12px 25px rgba(15,23,42,.22); }
.sol-btn--primary:hover { color: var(--sol-white); background: var(--sol-secondary); }
.sol-btn--ghost { color: var(--sol-white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.sol-btn--ghost:hover { color: var(--sol-white); background: rgba(255,255,255,.16); }
.sol-btn--outline { color: var(--sol-dark); border-color: var(--sol-border); background: var(--sol-white); }
.sol-btn--outline:hover { color: var(--sol-primary); border-color: var(--sol-primary); }

.sol-topbar { color: var(--sol-topbar-color); background: var(--sol-topbar-bg); font-size: .88rem; }
.sol-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sol-topbar a { color: inherit; }
.sol-topbar__items { display: flex; flex-wrap: wrap; gap: 18px; }
.sol-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--sol-header-border); background: var(--sol-header-bg); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(2,6,23,.16); }
.sol-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.sol-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sol-header-link); font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.sol-brand:hover { color: var(--sol-header-link); }
.sol-brand__mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--sol-white); border-radius: 13px; background: linear-gradient(135deg,var(--sol-primary),var(--sol-secondary)); box-shadow: 0 10px 22px rgba(15,23,42,.25); }
.sol-brand img { width: auto; max-height: 58px; }
.sol-nav { display: flex; align-items: center; gap: 26px; }
.sol-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.sol-nav a { color: var(--sol-header-link); font-size: .96rem; font-weight: 750; }
.sol-nav .current-menu-item > a, .sol-nav a:hover { color: var(--sol-header-link-hover); }
.sol-menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.05); }
.sol-menu-toggle span, .sol-menu-toggle::before, .sol-menu-toggle::after { width: 21px; height: 2px; display: block; margin: 5px auto; content: ""; border-radius: 99px; background: var(--sol-header-link); transition: .2s ease; }

.sol-hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: var(--sol-white); background: var(--sol-dark); }
.sol-hero::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(90deg, var(--sol-hero-overlay-start) 0%, var(--sol-hero-overlay-middle) 48%, var(--sol-hero-overlay-end) 100%), var(--sol-hero-image); background-position: center; background-size: cover; }
.sol-hero::after { position: absolute; width: 520px; height: 520px; right: -180px; bottom: -250px; content: ""; border: 90px solid var(--sol-hero-ring); border-radius: 50%; }
.sol-hero__content { position: relative; z-index: 1; width: 100%; max-width: 1080px; padding: 110px 0 120px; }
.sol-hero .sol-eyebrow { color: var(--sol-accent-light); }
.sol-hero h1 { max-width: 1060px; margin: 0; font-size: clamp(2.65rem, 5.2vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.sol-hero__text { max-width: 820px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.8vw, 1.28rem); text-wrap: pretty; }
.sol-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sol-hero__badges { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 42px; color: rgba(255,255,255,.84); font-size: .93rem; font-weight: 700; }
.sol-hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.sol-hero__badges span::before { width: 9px; height: 9px; content: ""; border: 2px solid var(--sol-accent-light); border-radius: 50%; }

.sol-highlights { position: relative; z-index: 2; margin-top: -55px; }
.sol-highlights__grid { grid-template-columns: repeat(3,1fr); }
.sol-highlight { padding: 27px; border: 1px solid rgba(226,232,240,.85); border-radius: 20px; background: var(--sol-white); box-shadow: var(--sol-shadow); }
.sol-highlight strong { display: block; margin-bottom: 5px; font-size: 1.05rem; }
.sol-highlight span { color: var(--sol-muted); font-size: .94rem; }

.sol-services { grid-template-columns: repeat(4,1fr); }
.sol-service-card { overflow: hidden; border: 1px solid var(--sol-border); border-radius: var(--sol-radius); background: var(--sol-white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sol-service-card:hover { transform: translateY(-7px); border-color: rgba(37,99,235,.3); box-shadow: var(--sol-shadow); }
.sol-service-card__image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e2e8f0; }
.sol-service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sol-service-card:hover .sol-service-card__image img { transform: scale(1.05); }
.sol-service-card__icon { position: absolute; width: 52px; height: 52px; left: 20px; bottom: -1px; display: grid; place-items: center; color: var(--sol-white); border-radius: 15px 15px 0 0; background: var(--sol-primary); }
.sol-service-card__icon svg { width: 25px; height: 25px; }
.sol-service-card__body { padding: 25px; }
.sol-service-card h3 { margin: 0 0 11px; font-size: 1.22rem; line-height: 1.25; }
.sol-service-card p { margin: 0; color: var(--sol-muted); font-size: .95rem; }
.sol-service-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; }

.sol-about { grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.sol-about__media { position: relative; }
.sol-about__media img { width: 100%; min-height: 500px; object-fit: cover; border-radius: 28px; box-shadow: var(--sol-shadow); }
.sol-about__badge { position: absolute; right: -22px; bottom: 28px; max-width: 210px; padding: 22px; color: var(--sol-white); border-radius: 20px; background: linear-gradient(135deg,var(--sol-primary),#1e40af); box-shadow: var(--sol-shadow); }
.sol-about__badge strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.sol-checks { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.sol-checks li { position: relative; padding-left: 34px; font-weight: 700; }
.sol-checks li::before { position: absolute; width: 21px; height: 21px; left: 0; top: .2em; display: grid; place-items: center; content: "✓"; color: var(--sol-white); border-radius: 50%; background: var(--sol-primary); font-size: .75rem; }

.sol-process { grid-template-columns: repeat(3,1fr); counter-reset: process; }
.sol-process__item { position: relative; padding: 30px; border: 1px solid var(--sol-border); border-radius: 20px; background: var(--sol-white); counter-increment: process; }
.sol-process__item::before { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; content: "0" counter(process); color: var(--sol-primary); border-radius: 15px; background: #dbeafe; font-weight: 900; }
.sol-process__item h3 { margin: 0 0 8px; }
.sol-process__item p { margin: 0; color: var(--sol-muted); }

.sol-why { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 65px; }
.sol-why__visual { min-height: 500px; border-radius: 28px; background-position: center; background-size: cover; box-shadow: var(--sol-shadow); }
.sol-feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; margin-top: 30px; }
.sol-feature { padding: 19px; border: 1px solid var(--sol-border); border-radius: 17px; background: var(--sol-white); }
.sol-feature strong { display: block; margin-bottom: 4px; }
.sol-feature span { color: var(--sol-muted); font-size: .9rem; }

.sol-posts { grid-template-columns: repeat(3,1fr); }
.sol-post-card { overflow: hidden; border: 1px solid var(--sol-border); border-radius: 20px; background: var(--sol-white); }
.sol-post-card__image { aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; }
.sol-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sol-post-card:hover img { transform: scale(1.04); }
.sol-post-card__body { padding: 24px; }
.sol-post-card__meta { margin-bottom: 8px; color: var(--sol-primary); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.sol-post-card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.35; }
.sol-post-card h3 a { color: var(--sol-dark); }
.sol-post-card p { margin: 0; color: var(--sol-muted); font-size: .94rem; }

.sol-contact-wrap { position: relative; overflow: hidden; border-radius: 30px; background: var(--sol-dark); box-shadow: var(--sol-shadow); }
.sol-contact-wrap::before { position: absolute; inset: 0; content: ""; opacity: .18; background-image: var(--sol-contact-image); background-position: center; background-size: cover; }
.sol-contact { position: relative; z-index: 1; grid-template-columns: .85fr 1.15fr; gap: 55px; padding: 58px; color: var(--sol-white); }
.sol-contact .sol-eyebrow { color: var(--sol-accent-light); }
.sol-contact h2 { margin: 0; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.sol-contact__text { color: rgba(255,255,255,.72); }
.sol-contact__details { display: grid; gap: 12px; margin-top: 25px; }
.sol-contact__details a, .sol-contact__details span { color: var(--sol-white); font-weight: 750; }
.sol-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.sol-form__field { display: grid; gap: 7px; }
.sol-form__field--full { grid-column: 1 / -1; }
.sol-form label { color: rgba(255,255,255,.82); font-size: .85rem; font-weight: 750; }
.sol-form input, .sol-form textarea { width: 100%; color: var(--sol-white); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; outline: none; background: rgba(15,23,42,.6); }
.sol-form input { min-height: 48px; padding: 0 14px; }
.sol-form textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.sol-form input:focus, .sol-form textarea:focus { border-color: var(--sol-accent-light); box-shadow: 0 0 0 3px rgba(103,232,249,.12); }
.sol-form__status { grid-column: 1 / -1; padding: 12px 15px; border-radius: 12px; background: rgba(255,255,255,.1); }
.sol-form__honeypot { position: absolute !important; left: -9999px !important; }

.sol-page-hero { padding: 90px 0 70px; color: var(--sol-white); background: linear-gradient(135deg,var(--sol-dark),var(--sol-primary)); }
.sol-page-hero h1 { margin: 0; font-size: clamp(2.4rem,5vw,4rem); line-height: 1.05; letter-spacing: -.05em; }
.sol-page-hero p { max-width: 680px; margin: 18px 0 0; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.sol-content { width: min(calc(100% - 40px), 850px); margin-inline: auto; padding: 72px 0; }
.sol-content > *:first-child { margin-top: 0; }
.sol-content h2, .sol-content h3 { line-height: 1.25; letter-spacing: -.025em; }
.sol-content img { border-radius: 18px; }
.sol-content .sol-form { color: var(--sol-white); background: var(--sol-dark); }
.sol-content blockquote { margin: 30px 0; padding: 20px 24px; border-left: 4px solid var(--sol-primary); background: var(--sol-light); }
.sol-content-wide { width: min(calc(100% - 40px), var(--sol-container)); margin-inline: auto; padding: 72px 0; }
.sol-pagination { margin-top: 42px; }
.sol-pagination .nav-links { display: flex; gap: 8px; }
.sol-pagination a, .sol-pagination span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--sol-border); border-radius: 11px; }
.sol-pagination .current { color: var(--sol-white); border-color: var(--sol-primary); background: var(--sol-primary); }

.sol-footer { padding: 64px 0 25px; color: rgba(255,255,255,.72); background: var(--sol-footer-bg); }
.sol-footer__grid { grid-template-columns: 1.2fr .75fr .9fr; gap: 55px; }
.sol-footer .sol-brand { color: var(--sol-white); }
.sol-footer .sol-brand img { max-height: 62px; }
.sol-footer h3 { margin: 0 0 16px; color: var(--sol-white); font-size: 1rem; }
.sol-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sol-footer a { color: rgba(255,255,255,.72); }
.sol-footer a:hover { color: var(--sol-white); }
.sol-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.sol-whatsapp { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 64px; height: 64px; display: block; border-radius: 50%; background: transparent; box-shadow: 0 16px 34px rgba(15,23,42,.30); transition: transform .2s ease, box-shadow .2s ease; }
.sol-whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px rgba(15,23,42,.34); }
.sol-whatsapp img { width: 64px; height: 64px; display: block; border-radius: 50%; }

@media (max-width: 1024px) {
  .sol-hero__content { max-width: 940px; }
  .sol-hero h1 { max-width: 920px; font-size: clamp(2.6rem,6.5vw,4.65rem); }
  .sol-services { grid-template-columns: repeat(2,1fr); }
  .sol-about, .sol-why { grid-template-columns: 1fr; gap: 44px; }
  .sol-about__media { max-width: 720px; }
  .sol-about__badge { right: 20px; }
  .sol-contact { grid-template-columns: 1fr; }
}
@media (max-width: 840px) {
  .sol-topbar { display: none; }
  .sol-menu-toggle { display: block; }
  .sol-nav { position: fixed; inset: 88px 0 auto; display: block; max-height: 0; overflow: hidden; border-bottom: 1px solid var(--sol-border); background: var(--sol-white); transition: max-height .3s ease; }
  .sol-nav.is-open { max-height: calc(100vh - 88px); overflow-y: auto; }
  .sol-nav ul { display: grid; gap: 0; padding: 15px 20px 24px; }
  .sol-nav li { border-bottom: 1px solid var(--sol-border); }
  .sol-nav a { display: block; padding: 15px 4px; color: var(--sol-dark); }
  .sol-nav .current-menu-item > a, .sol-nav a:hover { color: var(--sol-primary); }
  .sol-nav > .sol-btn { display: none; }
  .sol-menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .sol-menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
  .sol-menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
  .sol-hero { min-height: 620px; }
  .sol-hero__content { max-width: 100%; }
  .sol-hero h1 { max-width: 100%; font-size: clamp(2.5rem,8vw,4.3rem); }
  .sol-hero::before { background-image: linear-gradient(90deg,var(--sol-hero-overlay-start),var(--sol-hero-overlay-middle)),var(--sol-hero-image); }
  .sol-highlights__grid, .sol-process, .sol-posts, .sol-footer__grid { grid-template-columns: 1fr; }
  .sol-highlight { padding: 22px; }
  .sol-section-head { display: block; }
  .sol-section-head .sol-lead { margin-top: 16px; }
}
@media (max-width: 620px) {
  .sol-container { width: min(calc(100% - 28px), var(--sol-container)); }
  .sol-section { padding: 68px 0; }
  .sol-header__inner { min-height: 78px; }
  .sol-brand img { max-height: 48px; }
  .sol-nav { top: 78px; }
  .sol-hero__content { padding: 85px 0 100px; }
  .sol-hero h1 { max-width: 100%; font-size: clamp(2.15rem,10.8vw,3.55rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
  .sol-highlights { margin-top: -38px; }
  .sol-services, .sol-feature-list { grid-template-columns: 1fr; }
  .sol-about__media img, .sol-why__visual { min-height: 360px; }
  .sol-about__badge { position: static; max-width: none; margin: -55px 18px 0; }
  .sol-contact { padding: 34px 22px; }
  .sol-form { grid-template-columns: 1fr; padding: 20px; }
  .sol-form__field--full { grid-column: auto; }
  .sol-footer__bottom { display: block; }
  .sol-footer__bottom span { display: block; margin-top: 8px; }
  .sol-whatsapp { right: 16px; bottom: 16px; }
}
