.inner-page { background: var(--workshop); }
.inner-page .site-header { background: rgba(244,243,239,.94); }
.inner-nav-cta { min-height: 42px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--abyss); background: var(--abyss); color: white; font-size: .76rem; font-weight: 700; }
.desktop-nav a[aria-current="page"]::after { right: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; color: #657780; font-size: .72rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a1adb2; }
.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: currentColor; }

.inner-hero { padding: 48px 0 82px; border-bottom: 1px solid var(--line); }
.inner-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(52px, 8vw, 110px); }
.inner-hero h1 { max-width: 720px; margin-top: 18px; font-size: clamp(3rem, 4.7vw, 5rem); }
.inner-hero-copy > p:not(.eyebrow) { max-width: 610px; margin: 28px 0 0; color: #52646e; font-size: var(--type-lead); line-height: 1.7; text-wrap: pretty; }
.inner-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.inner-hero-media { position: relative; min-height: 480px; overflow: hidden; background: var(--abyss); box-shadow: var(--shadow); }
.inner-hero-media::after { content: "Proyecto CarpyMobi"; position: absolute; left: 24px; bottom: 24px; padding: 8px 11px; background: rgba(7,17,25,.76); color: white; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.inner-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.intent-section { padding: 96px 0 112px; background: white; }
.intent-intro { display: grid; grid-template-columns: 1.1fr .7fr; gap: 60px; align-items: end; }
.intent-intro h2 { margin-top: 18px; }
.intent-intro > p { margin: 0; color: #60717a; font-size: var(--type-body); line-height: 1.75; }
.intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.intent-card { position: relative; min-height: 390px; display: flex; align-items: flex-end; overflow: hidden; background: var(--abyss); color: white; }
.intent-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.intent-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,17,25,.93), rgba(5,17,25,.05) 72%); }
.intent-card:hover img { transform: scale(1.035); }
.intent-card-copy { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; padding: 30px; }
.intent-card-copy span { grid-column: 1 / -1; color: #aac0cb; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.intent-card-copy h2, .intent-card-copy h3 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.65rem); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; }
.intent-card-copy i { font-style: normal; font-size: 1.25rem; }
.intent-card-wide { grid-column: 1 / -1; min-height: 430px; }

.gallery-page { padding: 98px 0 112px; background: white; }
.gallery-block { scroll-margin-top: 92px; }
.gallery-block + .gallery-block { margin-top: 96px; padding-top: 76px; border-top: 1px solid var(--line); }
.gallery-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 30px; }
.gallery-heading h2 { margin-top: 14px; font-size: clamp(2.3rem, 4vw, 4rem); }
.gallery-heading > div > p:not(.section-index) { max-width: 670px; margin: 20px 0 0; color: #60717a; font-size: var(--type-body); line-height: 1.7; }
.gallery-controls { display: flex; align-items: center; gap: 10px; }
.gallery-counter { min-width: 72px; color: #60717a; text-align: center; font-size: .74rem; font-variant-numeric: tabular-nums; }
.gallery-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.gallery-arrow:hover { transform: translateY(-2px); background: var(--abyss); color: white; }
.gallery-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 2.25); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 0 18px; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
.gallery-card { min-width: 0; margin: 0; scroll-snap-align: start; }
.gallery-card button { position: relative; width: 100%; display: block; overflow: hidden; padding: 0; border: 0; background: #dfe4e4; cursor: zoom-in; text-align: left; }
.gallery-card button::after { content: "Ampliar ↗"; position: absolute; right: 13px; bottom: 13px; padding: 8px 10px; background: rgba(7,17,25,.76); color: white; font-size: .65rem; font-weight: 700; backdrop-filter: blur(10px); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery-card button:hover img { transform: scale(1.035); }
.gallery-card figcaption { min-height: 58px; padding: 14px 2px 0; color: var(--ink); font-size: .82rem; font-weight: 650; line-height: 1.45; }

.conversion-band { padding: 0 0 112px; background: white; }
.conversion-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(34px, 5vw, 62px); background: var(--abyss); color: white; }
.conversion-band h2 { max-width: 760px; font-size: clamp(2.2rem, 4vw, 4rem); }
.conversion-band p { max-width: 680px; margin: 20px 0 0; color: #aabcc5; line-height: 1.7; }
.conversion-band .button { background: white; color: var(--abyss); }

.model-section { padding: 96px 0 112px; background: white; }
.model-jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.model-jump-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); color: #52646e; font-size: .72rem; font-weight: 650; transition: background .2s, color .2s, border-color .2s; }
.model-jump-nav a:hover { border-color: var(--abyss); background: var(--abyss); color: white; }
.line-model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.line-model-card { min-width: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 152px; }
.line-model-images { display: grid; grid-template-columns: 1.6fr .8fr; gap: 8px; }
.line-model-images button { min-width: 0; overflow: hidden; padding: 0; border: 0; background: #e5e9e8; cursor: zoom-in; }
.line-model-images button:first-child { grid-row: span 2; }
.line-model-images img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.line-model-images button:first-child img { aspect-ratio: 4 / 3; }
.model-gallery-controls { display: none; }
.line-model-copy { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: end; margin-top: 22px; }
.line-model-copy .section-index { grid-column: 1 / -1; }
.line-model-copy h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.line-model-copy p { grid-column: 1 / -1; max-width: 580px; margin: 0; color: #60717a; line-height: 1.7; }
.selection-bar { position: sticky; z-index: 20; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.55); background: rgba(7,17,25,.94); color: white; box-shadow: 0 20px 54px rgba(7,17,25,.24); backdrop-filter: blur(16px); }
.selection-bar p { margin: 0; font-size: .82rem; }
.selection-bar strong { font-variant-numeric: tabular-nums; }
.selection-bar a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: #25d366; color: #052e1a; font-size: .78rem; font-weight: 750; }
.page-toast { position: fixed; z-index: 70; left: 50%; bottom: 28px; max-width: calc(100% - 30px); padding: 13px 18px; background: var(--abyss); color: white; transform: translate(-50%, 140%); opacity: 0; transition: .25s; }
.page-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.about-hero { padding: 58px 0 96px; overflow: hidden; }
.about-hero-grid { display: grid; grid-template-columns: minmax(430px, .8fr) minmax(620px, 1.2fr); align-items: center; gap: clamp(58px, 7vw, 110px); }
.about-hero-copy h1 { max-width: 720px; margin-top: 20px; font-size: clamp(3.4rem, 5.4vw, 6rem); }
.about-hero-copy > p:not(.eyebrow) { max-width: 640px; margin: 30px 0 0; color: #52646e; font-size: var(--type-lead); line-height: 1.7; }
.about-hero-media { position: relative; min-height: 590px; }
.about-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); box-shadow: var(--shadow); }
.about-hero-media > span { position: absolute; right: -24px; bottom: 34px; display: grid; min-width: 210px; padding: 22px 26px; background: rgba(244,243,239,.96); color: var(--steel); box-shadow: 0 18px 50px rgba(10,24,34,.14); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-hero-media strong { color: var(--abyss); font-size: 3.8rem; font-weight: 500; line-height: .9; letter-spacing: -.07em; }
.about-story-page { padding: 104px 0 118px; border-top: 1px solid var(--line); background: white; }
.about-story-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 130px); }
.about-story-page h2 { max-width: 560px; margin-top: 18px; }
.about-story-page-copy { display: grid; gap: 24px; padding-top: 10px; }
.about-story-page-copy p { max-width: 680px; margin: 0; color: #596b74; font-size: var(--type-body); line-height: 1.8; }
.purpose-section { padding: 0 0 118px; background: white; }
.purpose-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; }
.purpose-grid article { min-height: 470px; padding: clamp(42px, 6vw, 82px); background: var(--abyss); color: white; }
.purpose-grid article + article { margin-top: 86px; background: #e7ecec; color: var(--abyss); }
.purpose-grid article > span { color: #8da8b7; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.purpose-grid article h2 { max-width: 680px; margin-top: 70px; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.purpose-grid article:first-child h2 em { color: #9ab2bf; }
.purpose-grid article p { max-width: 610px; margin: 30px 0 0; color: #b7c6cd; line-height: 1.8; }
.purpose-grid article + article p { color: #596b74; }
.sector-section { padding: 112px 0; background: var(--workshop); }
.sector-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.sector-grid h2 { margin-top: 18px; font-size: clamp(2.7rem, 4.2vw, 4.7rem); }
.sector-grid > div > p:not(.section-index) { max-width: 570px; margin: 28px 0; color: #60717a; line-height: 1.75; }
.sector-grid ul { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.sector-grid li { position: relative; padding: 22px 16px 22px 28px; border-bottom: 1px solid var(--line); color: #52646e; font-size: var(--type-small); }
.sector-grid li::before { content: ""; position: absolute; top: 50%; left: 2px; width: 7px; height: 7px; border: 1px solid var(--steel); transform: translateY(-50%) rotate(45deg); }
.about-gallery { padding: 0 0 118px; background: var(--workshop); }
.about-gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, 260px); gap: 12px; }
.about-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--abyss); }
.about-gallery figure:first-child { grid-row: 1 / 3; }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.about-gallery figure:hover img { transform: scale(1.03); }
.about-gallery figcaption { position: absolute; right: 16px; bottom: 16px; padding: 8px 10px; background: rgba(7,17,25,.74); color: white; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .about-hero-grid, .about-story-page-grid, .sector-grid { grid-template-columns: 1fr; }
  .about-hero-media { min-height: 480px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid article + article { margin-top: 0; }
  .inner-hero-grid, .intent-intro { grid-template-columns: 1fr; }
  .inner-hero-media { min-height: 420px; }
  .gallery-rail { grid-auto-columns: calc((100% - 18px) / 1.55); }
}

.service-seo-links { padding: 1.25rem 0 0; background: #fff; }
.service-seo-links-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.service-seo-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; color: #17303d; border: 1px solid #d8dfe2; text-decoration: none; transition: border-color 180ms ease, background 180ms ease; }
.service-seo-links a:hover { background: #f5f4f0; border-color: #879ba5; }
@media (max-width: 720px) { .service-seo-links-inner { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .about-hero { padding: 30px 0 64px; }
  .about-hero-grid { gap: 38px; }
  .about-hero-copy h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); }
  .about-hero-copy > p:not(.eyebrow) { font-size: .96rem; line-height: 1.62; }
  .about-hero-media { min-height: 310px; }
  .about-hero-media > span { right: -5px; bottom: 18px; min-width: 170px; padding: 16px 18px; }
  .about-hero-media strong { font-size: 2.8rem; }
  .about-story-page, .sector-section { padding: 68px 0 78px; }
  .about-story-page-grid { gap: 34px; }
  .purpose-section { padding-bottom: 78px; }
  .purpose-grid article { min-height: 0; padding: 38px 22px 44px; }
  .purpose-grid article h2 { margin-top: 40px; font-size: clamp(2.25rem, 9.8vw, 3rem); }
  .sector-grid { gap: 46px; }
  .sector-grid ul { grid-template-columns: 1fr; }
  .about-gallery { padding-bottom: 78px; }
  .about-gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 280px); }
  .about-gallery figure:first-child { grid-row: auto; }
  .inner-nav-cta { min-width: 44px; justify-content: center; padding-inline: 10px; font-size: 0; }
  .inner-nav-cta::after { content: "WA"; font-size: .68rem; }
  .inner-hero { padding: 38px 0 64px; }
  .inner-hero-grid { gap: 38px; }
  .inner-hero h1 { font-size: clamp(2.45rem, 10.7vw, 3.15rem); }
  .inner-hero-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 1rem; line-height: 1.62; }
  .inner-hero-actions { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 27px; }
  .inner-hero-actions .button { width: 100%; justify-content: space-between; }
  .inner-hero-media { min-height: 280px; }
  .model-page .inner-hero { padding: 20px 0 30px; }
  .model-page .breadcrumb { margin-bottom: 14px; }
  .model-page .inner-hero .eyebrow { margin-block: 0 8px; }
  .model-page .inner-hero h1 { max-width: 8.5em; margin-top: 8px; font-size: clamp(2.25rem, 10vw, 2.8rem); }
  .model-page .inner-hero-copy > p:not(.eyebrow) { margin-top: 15px; font-size: .9rem; line-height: 1.55; }
  .model-page .inner-hero-actions { margin-top: 18px; }
  .model-page .inner-hero-actions .text-link { display: none; }
  .model-page .inner-hero-media { display: none; }
  .model-page .model-section { padding-top: 34px; }
  .model-page .intent-intro > p { font-size: .86rem; line-height: 1.6; }
  .model-jump-nav { position: sticky; z-index: 22; top: 66px; flex-wrap: nowrap; gap: 7px; margin: 26px -15px 0; padding: 10px 15px; overflow-x: auto; background: rgba(255,255,255,.96); box-shadow: 0 8px 18px rgba(10,24,34,.05); backdrop-filter: blur(14px); scrollbar-width: none; }
  .model-jump-nav::-webkit-scrollbar { display: none; }
  .model-jump-nav a { flex: 0 0 auto; min-height: 38px; padding-inline: 12px; background: #f5f5f2; font-size: .68rem; }
  .intent-section, .gallery-page, .model-section { padding: 68px 0 78px; }
  .intent-intro { gap: 22px; }
  .intent-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .intent-card, .intent-card-wide { grid-column: auto; min-height: 310px; }
  .intent-card-copy { padding: 22px; }
  .gallery-block + .gallery-block { margin-top: 64px; padding-top: 54px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 22px; }
  .gallery-heading h2 { font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .gallery-controls { justify-content: space-between; }
  .gallery-rail { grid-auto-columns: 88%; gap: 12px; margin-right: -15px; }
  .gallery-card figcaption { font-size: .8rem; }
  .conversion-band { padding-bottom: 78px; }
  .conversion-band-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; }
  .conversion-band .button { width: 100%; justify-content: space-between; }
  .line-model-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 26px; }
  .line-model-card { padding-top: 4px; padding-bottom: 28px; scroll-margin-top: 126px; }
  .line-model-images { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; grid-template-columns: none; gap: 10px; margin-right: -15px; padding-right: 15px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
  .line-model-images::-webkit-scrollbar { display: none; }
  .line-model-images button, .line-model-images button:first-child { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .line-model-images img, .line-model-images button:first-child img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
  .model-gallery-controls { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; margin-top: 10px; }
  .model-gallery-controls button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .model-gallery-controls span { color: #6b7c84; text-align: center; font-size: .68rem; font-variant-numeric: tabular-nums; }
  .line-model-copy { grid-template-columns: 1fr; }
  .line-model-copy { gap: 9px; margin-top: 15px; }
  .line-model-copy h2 { font-size: 1.75rem; }
  .line-model-copy p { font-size: .82rem; line-height: 1.58; }
  .line-model-copy .button { width: 100%; justify-content: space-between; }
  .selection-bar { bottom: calc(74px + env(safe-area-inset-bottom)); align-items: stretch; flex-direction: column; gap: 10px; margin-top: 32px; padding: 13px; }
  .selection-bar a { justify-content: center; }
  .page-toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
