@font-face {
    font-family: "Space Grotesk";
    src: url("space-grotesk.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("inter.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --dark: #102722;
    --dark-deep: #0c1f1b;
    --dark-soft: #193a32;
    --paper: #faf8f2;
    --white: #fffdf8;
    --ink: #152c25;
    --muted: #486057;
    --light-text: #c7d5ce;
    --mint: #bce5d3;
    --accent: #ff8f77;
    --line: #dbdfd5;
    --display: "Space Grotesk", "Trebuchet MS", sans-serif;
    --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e66c50; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1, h2 { letter-spacing: -.065em; line-height: 1.02; }
h2 { font-size: clamp(2.05rem, 4.15vw, 4rem); }
h3 { letter-spacing: -.035em; line-height: 1.2; }
p { max-width: 66ch; }
ul, ol { margin: 0; }
.wrap { width: min(100% - 4rem, 79rem); margin-inline: auto; }
.section { padding-block: clamp(3.8rem, 7vw, 7rem); }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .7rem 1rem; background: var(--white); transform: translateY(-155%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer { background: var(--dark-deep); color: var(--white); }
.site-header { border-bottom: 1px solid #ffffff18; }
.header-inner { min-height: 5.1rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.6rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; width: fit-content; color: var(--white); text-decoration: none; font: 600 1.44rem/1.1 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.brand img { flex: none; }
.brand strong { font-weight: 600; color: var(--mint); }
.nav { justify-self: center; display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.65rem); }
.nav a, .site-footer ul a { text-decoration: none; }
.nav a { padding-block: .5rem; color: var(--light-text); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav .nav-contact { display: none; }
.menu-toggle { color: var(--white); background: transparent; border: 1px solid #ffffff49; border-radius: .6rem; padding: .42rem .8rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; width: fit-content; padding: .72rem 1.12rem; border: 1px solid transparent; border-radius: .65rem; text-align: center; text-decoration: none; font-size: .94rem; font-weight: 700; line-height: 1.35; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.button-primary { background: var(--accent); color: #182821; }
.button-primary:hover { background: #ffab97; }
.button-light, .button-header { border-color: #d5e4dc5c; color: var(--white); background: transparent; }
.button-light:hover, .button-header:hover { border-color: var(--mint); background: #d7eee01a; }
.button-header { min-height: 2.65rem; padding-inline: 1rem; }
.button-dark { color: var(--white); background: var(--dark); }
.button-dark:hover { background: #255549; }
.text-link { color: #255e4e; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: .07em; }
.text-link:hover { color: #963d2e; }
.eyebrow { color: #316c57; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .115em; line-height: 1.5; }
.eyebrow-line { display: inline-block; width: 1.65rem; height: 2px; margin-right: .4rem; vertical-align: middle; background: var(--accent); }
.actions, .link-group { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero { background: radial-gradient(ellipse at 68% 50%, #1b3e34 0%, var(--dark) 67%); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.7rem, 5vw, 4.9rem); }
.hero-copy { padding-block: 1.35rem; }
.hero .eyebrow, .feature .eyebrow, .price-card .eyebrow { color: var(--mint); }
.hero h1 { margin-block: 1.05rem 1.35rem; font-size: clamp(3rem, 5.1vw, 5.55rem); }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-intro { max-width: 48ch; color: var(--light-text); font-size: clamp(1rem, 1.5vw, 1.23rem); line-height: 1.65; }
.hero .actions { margin-top: 2rem; }
.hero-image { border-radius: 1.15rem; overflow: hidden; background: #31574e; height: clamp(26rem, 38vw, 35rem); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }

.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.1rem 3rem; margin-bottom: 1.9rem; }
.section-heading h2, .feature h2, .hosting-grid h2, .closing h2 { margin-top: .5rem; }
.section-heading > p { color: var(--muted); max-width: 32ch; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.service-grid + .text-link { display: inline-block; margin-top: 1.5rem; }
.service-card { position: relative; padding: clamp(1.2rem, 2.2vw, 1.85rem); background: var(--white); border: 1px solid var(--line); border-radius: .9rem; transition: background .16s ease, border-color .16s ease; }
.service-card:hover, .service-card:focus-within { border-color: #6c9b88; background: #f4faf5; }
.service-card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-block: .85rem .5rem; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: .9rem; }
.service-card p, .article-card p { color: var(--muted); }
.service-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .7rem; background: #e1eee6; color: #235c47; font: 700 1.28rem/1 var(--display); }
.service-icon::before { content: "+"; }
.icon-desarrollo-web::before { content: "</>"; font-size: 1.02rem; }
.icon-desarrollo-de-medios-digitales-y-revistas-online::before { content: "▤"; }
.icon-posicionamiento-de-marca::before { content: "◎"; }
.icon-seo-y-busqueda-con-ia::before { content: "⌕"; font-size: 1.7rem; }
.icon-alojamiento-web-hosting::before { content: "▱"; }
.icon-comunicaciones-empresariales::before { content: "≋"; }
.icon-web-administrada-con-ia::before { content: "✦"; }
.subsection-heading { margin-top: 3rem; }
.page-servicios h2 { margin-bottom: 1.2rem; }

.feature { background: var(--dark-soft); color: var(--white); }
.feature-grid, .hosting-grid, .detail-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6.3rem); }
.feature-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.feature h2, .hosting-grid h2, .portfolio-demo h2 { max-width: 14ch; }
.feature h2 + p, .hosting-grid h2 + p, .portfolio-demo h2 + p { margin-block: 1rem 1.5rem; }
.feature h2 + p { color: var(--light-text); }
.feature-link { align-self: center; padding: .65rem .2rem; color: var(--white); font-weight: 600; text-underline-offset: .25em; }
.feature-link:hover { color: var(--mint); }
.detail-list > div { padding-block: 1.1rem; }
.detail-list h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.editorial-preview { min-width: 0; padding: clamp(.8rem, 2.15vw, 1.55rem); border: 1px solid #d9e5dc35; border-radius: 1.1rem; background: #102822; }
.editorial-preview figcaption { margin-bottom: .7rem; color: var(--mint); font-size: .88rem; font-weight: 600; }
.editorial-sheet { display: block; padding: clamp(.85rem, 2.3vw, 1.45rem); border-radius: .75rem; background: #fffdf6; color: #1c2c25; text-decoration: none; }
.editorial-masthead, .editorial-headline { display: block; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.048em; }
.editorial-masthead { font-size: clamp(2.05rem, 4.3vw, 3.8rem); font-weight: 700; line-height: 1.05; }
.editorial-topics { display: block; margin-block: .65rem .85rem; padding-top: .4rem; border-top: 1px solid #bcc5b6; color: #365e4e; font-size: .875rem; font-weight: 600; }
.editorial-topics span { margin-inline: .2rem; }
.editorial-sheet img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.editorial-headline { margin-top: .72rem; font-size: clamp(1.5rem, 2.75vw, 2.45rem); font-weight: 700; line-height: 1.08; }
.editorial-sheet:hover .editorial-headline { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .11em; }
.editorial-detail { display: block; margin-top: .45rem; color: #486057; font-size: .92rem; line-height: 1.5; }
.portfolio-demo { background: #e6eee4; }
.portfolio-demo h2 { margin-top: .5rem; }
.portfolio-demo h2 + p { color: var(--muted); }
.hosting-section { background: #e6eee4; }
.hosting-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.hosting-grid h2 + p { color: var(--muted); }
.price-card { padding: clamp(1.5rem, 3vw, 2.65rem); border-radius: 1rem; background: var(--dark); color: var(--white); }
.price-card > p:not(.eyebrow, .price) { color: var(--light-text); margin-bottom: 1.35rem; }
.price { margin-block: .5rem 1rem; }
.price strong { display: block; font: 700 clamp(3.65rem, 6vw, 6rem)/.95 var(--display); letter-spacing: -.08em; color: var(--accent); }
.price span { display: block; color: var(--light-text); }
.price span:last-child { margin-top: .35rem; }
.link-group { gap: 1rem 1.55rem; }

.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.article-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .9rem; }
.article-link { display: block; text-decoration: none; font: 700 1.47rem/1.2 var(--display); letter-spacing: -.035em; }
.article-link:hover span { color: #255e4e; text-decoration: underline; text-underline-offset: .15em; }
.article-link img { width: 100%; height: auto; aspect-ratio: 1.83; object-fit: cover; }
.article-link span { display: block; padding: 1.1rem 1.2rem .5rem; }
.article-card p { padding: 0 1.2rem 1.25rem; }
.closing { background: var(--accent); padding-block: clamp(2.4rem, 5vw, 4.2rem); }
.closing .eyebrow { color: #3d3c29; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.45rem; }

.page-head { background: var(--dark); color: var(--white); padding-block: 1.55rem clamp(3rem, 7vw, 6.25rem); }
.page-head h1 { max-width: 18ch; margin-top: clamp(1.2rem, 4vw, 3.2rem); font-size: clamp(2.75rem, 6.3vw, 5.5rem); }
.page-head h1 + p { margin-top: 1rem; color: var(--light-text); font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.page-head .button { margin-top: 1.5rem; }
.page-head-visual { padding-bottom: clamp(2.25rem, 5vw, 4rem); }
.page-head-visual .page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); align-items: center; gap: clamp(1.75rem, 5vw, 5rem); margin-top: clamp(1.35rem, 3vw, 2.6rem); }
.page-head-visual h1 { margin-top: 0; font-size: clamp(2.6rem, 4.7vw, 4.9rem); overflow-wrap: anywhere; }
.page-cover { height: clamp(17.5rem, 30vw, 28rem); overflow: hidden; border-radius: 1rem; background: #31574e; }
.page-cover img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { color: var(--light-text); font-size: .92rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; color: var(--mint); }
.breadcrumb a { text-underline-offset: .18em; }
.detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); }
.detail-grid h2, .reading h2 { font-size: clamp(1.85rem, 3.6vw, 3.1rem); margin-bottom: .9rem; }
.detail-grid .button { margin-top: .95rem; }
.detail-grid .price-card .button { margin-top: 0; }
.lead { margin-bottom: 1.25rem; }
.detail-list > div { border-top: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 1px solid var(--line); }
.detail-list p, .reading p, .detail-grid > div > p { color: var(--muted); }
.panel { padding: clamp(1.15rem, 2.6vw, 1.8rem); background: var(--white); border: 1px solid var(--line); border-radius: .9rem; }
.panel h2 { font-size: 1.55rem; margin-bottom: 1rem; letter-spacing: -.04em; }
.panel p + p { margin-top: .65rem; }
.price-card + .panel, .panel + .panel { margin-top: 1rem; }
.related ul, .deliverables ul, .contact-checklist { padding-left: 1.16rem; }
.related li + li, .deliverables li + li, .contact-checklist li + li { margin-top: .55rem; }
.deliverables li::marker, .contact-checklist li::marker { color: #316c57; }
.contact-checklist { margin-top: .85rem; }
.domain-form { margin-top: 1.5rem; }
.domain-form label { font-weight: 700; }
.form-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-block: .55rem; }
.form-row input { min-width: min(13rem, 100%); flex: 1; border: 1px solid #6d8379; border-radius: .55rem; padding: .7rem; background: var(--white); color: var(--ink); }
.form-row .button { margin: 0; }
.fine-print { font-size: .9rem; color: var(--muted); }
.reading { max-width: 49rem; }
.reading .byline { font-weight: 700; }
.reading h2 { margin-top: 1.9rem; }
.reading .text-link { display: inline-block; margin-top: 1.5rem; }

.service-example { background: #e6eee4; }
.example-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(1.5rem, 7vw, 6rem); }
.example-grid h2 { margin-top: .52rem; }
.example-grid h2 + p { color: var(--muted); margin-top: 1rem; }
.example-grid .button { margin-top: 1.15rem; }
.example-grid ol { max-width: 54ch; padding-left: 1.45rem; }
.example-grid li { padding: .85rem .3rem; border-bottom: 1px solid #c8d6cb; }
.example-grid li:first-child { border-top: 1px solid #c8d6cb; }
.example-grid li::marker { color: #255e4e; font-weight: 700; }
.faq-item { padding: .95rem 0; border-block-start: 1px solid var(--line); }
.faq-item:last-child { border-block-end: 1px solid var(--line); }
.faq-item summary, .story-details summary { width: fit-content; cursor: pointer; font-weight: 700; }
.faq-item summary::marker, .story-details summary::marker { color: #316c57; }
.faq-item p { margin: .6rem 0 .2rem 1.13rem; color: var(--muted); }

.page-demo { background: #fffdf6; }
.demo-intro { padding-top: 1.6rem; }
.demo-masthead { padding-block: clamp(1.6rem, 5vw, 3.2rem); text-align: center; }
.demo-masthead h1, .demo-copy h2 { font-family: Georgia, "Times New Roman", serif; }
.demo-masthead h1 { margin-block: .35rem .7rem; font-size: clamp(3rem, 9vw, 7.8rem); font-weight: 700; }
.demo-masthead p { margin-inline: auto; }
.demo-masthead p:last-child { color: var(--muted); }
.demo-topics { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem clamp(1.1rem, 4vw, 3rem); padding: .45rem 0; border-block: 1px solid var(--line); }
.demo-topics a { padding: .35rem 0; color: #255e4e; font-weight: 700; text-underline-offset: .2em; }
.demo-edition { padding-block: clamp(2.4rem, 6vw, 5rem); }
.demo-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(1.3rem, 4vw, 3.35rem); scroll-margin-top: 1rem; }
.demo-story + .demo-story { margin-top: clamp(1.6rem, 4vw, 2.8rem); padding-top: clamp(1.6rem, 4vw, 2.8rem); border-top: 1px solid var(--line); }
.demo-photo img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; border-radius: .5rem; }
.demo-copy h2 { margin: .48rem 0 .68rem; font-size: clamp(2rem, 4vw, 3.8rem); }
.demo-copy p:not(.eyebrow) { color: var(--muted); }
.story-details { margin-top: .95rem; }
.story-details p { margin-top: .7rem; }

.pilot-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 1rem; }
.pilot label { display: block; margin: .65rem 0 .25rem; font-weight: 700; }
.pilot input:not([type="hidden"]), .pilot textarea { display: block; width: 100%; padding: .6rem .75rem; border: 1px solid #6d8379; border-radius: .55rem; background: var(--white); color: var(--ink); }
.pilot textarea { resize: vertical; }
.pilot .fine-print { margin-top: .55rem; }
.pilot .button { margin-top: .85rem; }
.pilot-frame { width: 100%; min-height: 27rem; border: 1px solid var(--line); border-radius: .6rem; }
.pilot-notice { margin-bottom: 1rem; padding: .7rem 1rem; border-radius: .55rem; background: #e1eee6; }
.pilot-error { background: #f8e2dc; color: #672d22; }

.site-footer { padding-top: clamp(2.75rem, 5vw, 4.3rem); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid h2 { font-size: 1.12rem; letter-spacing: -.025em; margin-bottom: .7rem; }
.footer-grid p, .footer-grid ul, .footer-bottom { color: var(--light-text); }
.footer-grid p { margin-top: .75rem; max-width: 32ch; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li + li { margin-top: .3rem; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #ffffff24; padding-block: 1rem; }

@media (max-width: 58rem) {
    .wrap { width: calc(100% - 3rem); }
    .hero-inner { gap: 2rem; }
    .header-inner { gap: 1rem; }
    .nav { gap: 1.05rem; }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
    .wrap { width: calc(100% - 2.25rem); }
    .header-inner { min-height: 4.55rem; grid-template-columns: 1fr auto auto; padding-block: .65rem; row-gap: .65rem; }
    .brand { font-size: 1.3rem; gap: .4rem; }
    .brand img { width: 2rem; height: 2rem; }
    .nav { grid-row: 2; grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ffffff30; gap: .3rem 1rem; padding-top: .4rem; }
    .nav a { min-height: 2.75rem; }
    .button-header { padding-inline: .65rem; font-size: .86rem; }
    .hero-inner, .feature-grid, .hosting-grid, .detail-grid, .pilot-grid,
    .page-head-visual .page-head-grid, .example-grid, .faq-grid, .demo-story { grid-template-columns: 1fr; }
    .hero-inner { gap: 1.8rem; padding-block: 2.6rem 1.65rem; }
    .hero-copy { padding: 0; }
    .hero h1 { font-size: clamp(2.85rem, 10.5vw, 4.5rem); }
    .hero .actions { margin-top: 1.4rem; }
    .hero-image { height: clamp(15rem, 55vw, 25rem); }
    .hero-image img { object-position: center 51%; }
    .page-cover { height: auto; aspect-ratio: 1.55; }
    .service-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-grid .price-card { grid-row: 2; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 32rem) {
    .service-grid, .article-grid { grid-template-columns: 1fr; }
    .header-inner { gap: .55rem; }
    .menu-toggle { padding-inline: .55rem; font-size: .86rem; }
    .actions { gap: .55rem; }
    .actions .button { padding-inline: .75rem; font-size: .88rem; }
    .footer-grid { gap: 1.25rem; }
}

@media (max-width: 23rem) {
    .header-inner { grid-template-columns: 1fr auto; }
    .button-header { display: none; }
    .nav .nav-contact { display: block; }
    .hero h1 { font-size: 2.6rem; }
    .page-head-visual h1 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
