/* Instalación Project Planner — site styles. «Línea de obra»: plaster white, deep teal, copper pipe. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --plaster: #f2f0eb;
  --white: #ffffff;
  --sunk: #e7e4dc;
  --line: #d6d1c6;
  --ink: #1e2a2f;
  --soft: #4e5c62;
  --teal: #013645;
  --teal-mid: #0b5866;
  --teal-tint: #dce9eb;
  --copper: #c9560f;
  --copper-dark: #9c3f08;
  --copper-light: #f3a877;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--plaster); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-mid); text-underline-offset: 3px; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); color: var(--teal); }
h3 { font-size: 1.6rem; color: var(--teal); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.kicker { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; color: var(--copper); margin-bottom: 0.8em; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 40em; }
.muted { color: var(--soft); font-size: 0.95rem; }

/* Header: white bar closed by a copper pipe with a valve */
.top { background: var(--white); position: sticky; top: 0; z-index: 5; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal); }
.pipe { position: relative; height: 6px; background: var(--copper); }
.pipe .valve { position: absolute; left: max(20px, calc(50% - 560px)); top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--copper-dark); border: 3px solid var(--white); }

/* Hero */
.hero { background: var(--teal); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.hero-text { padding-bottom: 64px; }
.hero .kicker { color: var(--copper-light); }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.2rem); color: var(--white); margin-bottom: 0.4em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--copper-light); }
.hero .lead { color: #cfe0e3; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.facts li { border: 1.5px solid #3d6a74; color: var(--white); padding: 6px 12px; border-radius: 4px; font-weight: 500; font-size: 0.95rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.text-link { color: var(--white); font-weight: 600; }
.text-link:hover { color: var(--copper-light); }
.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; }
.riser { position: absolute; left: 4%; top: 30px; bottom: 0; width: 64px; display: flex; gap: 10px; }
.riser span { flex: 1; background: var(--copper); border-radius: 18px 18px 0 0; }
.riser span + span { background: #2c6d79; }
.shot { margin: 0; }
.shot img { width: 100%; background: var(--white); }
.shot-hero { position: relative; width: min(360px, 78vw); border: 6px solid #0a4a57; border-bottom: 0; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25); }

/* Play button */
.play { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 6px; background: var(--copper); color: var(--white); text-decoration: none; min-height: 56px; }
.play:hover { background: var(--copper-dark); color: var(--white); }
.play-soon { background: transparent; border: 2px dashed var(--copper-light); cursor: default; }
.play-mark { width: 22px; height: 24px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-soon .play-mark { background: var(--copper-light); }
.play-text { display: flex; flex-direction: column; line-height: 1.1; }
.play-small { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.play-big { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }

/* Phases as a pipe run */
.phases { padding: 88px 0 40px; }
.intro { font-size: 1.15rem; color: var(--soft); max-width: 46em; margin-bottom: 40px; }
.run { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.run::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 10px; background: var(--copper); border-radius: 5px; }
.run li { position: relative; padding: 0 16px 0 0; }
.node { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.5rem; border: 5px solid var(--plaster); box-shadow: 0 0 0 3px var(--copper); margin-bottom: 18px; }
.run h3 { font-size: 1.35rem; margin-bottom: 0.3em; }
.run p { color: var(--soft); font-size: 1rem; }
.phases-shot { display: flex; justify-content: center; }
.shot-wide { width: min(420px, 86vw); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px rgba(1, 54, 69, 0.14); }

/* Feature rows */
.features { padding: 72px 0 40px; }
.feature { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 340px 1fr; }
.feature.flip .feature-text { order: 2; }
.feature .shot { border: 1px solid var(--line); border-left: 6px solid var(--copper); border-radius: 8px; overflow: hidden; background: var(--white); }
.feature-text { max-width: 34em; }
.feature-text p { color: var(--soft); font-size: 1.1rem; }
.label { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--copper-dark); font-size: 1rem; margin-bottom: 0.6em; }
.num { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 4px; background: var(--teal); color: var(--white); letter-spacing: 0.04em; }
.feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

/* Documents + privacy */
.sheet { padding: 40px 0 80px; }
.sheet-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.sheet-block { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--copper); border-radius: 8px; padding: 32px; }
.sheet-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.sheet-block p { color: var(--soft); }
.sheet-block.dark { background: var(--teal); border-color: var(--teal); border-top-color: var(--copper); color: var(--white); }
.sheet-block.dark h2 { color: var(--white); }
.sheet-block.dark p { color: #cfe0e3; }
.sheet-block.dark a { color: var(--copper-light); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 6px; border-radius: 3px; background: var(--copper); }

/* FAQ */
.faq { padding: 24px 0 80px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--copper); }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 16px; margin: 0; color: var(--soft); }

/* Closing band */
.closing { background: var(--white); border-top: 6px solid var(--copper); padding: 48px 0; }
.closing-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing h2 { font-size: 2.2rem; margin-bottom: 0.2em; }
.closing p { margin: 0; color: var(--soft); }
.closing .play-soon { border-color: var(--copper); color: var(--teal); }
.closing .play-soon .play-mark { background: var(--copper); }

/* Inner pages */
.page { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--teal); }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose p { max-width: 42em; }

/* Footer */
.foot { background: var(--teal); color: #cfe0e3; padding: 36px 0 28px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { background: var(--white); border-radius: 8px; padding: 4px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--white); margin: 0; }
.foot-small { margin: 0; font-size: 0.95rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.foot-links a { color: var(--white); display: inline-block; padding: 6px 0; }
.foot-links a:hover { color: var(--copper-light); }
.foot-note { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #1d5663; font-size: 0.9rem; color: #a9c5c9; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; }
  .hero-text { padding-bottom: 24px; }
  .riser { left: 0; }
  .run { grid-template-columns: 1fr; gap: 22px; padding-left: 0; }
  .run::before { left: 23px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; }
  .run li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .run .node { grid-row: span 2; margin-bottom: 0; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .feature.flip .feature-text { order: 0; }
  .feature .shot { width: min(340px, 86vw); justify-self: center; }
  .sheet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }
  .nav a { padding: 8px 8px; font-size: 0.95rem; }
  .sheet-block { padding: 24px 20px; }
  .closing h2 { font-size: 1.8rem; }
}
