@charset "UTF-8";
/* /tramites/ (src/pages/tramites/index.astro): how to send the documents by parcel service, and the
   services of Control Escolar. Loaded after styles.css, only by this page; mobile first, with the
   site's tokens. Motion follows design/design-system.md: strong ease-out (--ease-out), feedback in
   300 ms or less, transform and opacity only, hover only with a fine pointer; one entrance on the
   cover (the truck arrives), and nothing moves with reduced motion. */
.tramites{--ok:#1f8a5b;--ok-ink:#17714a;--ok-soft:#f2faf6;--ok-line:#cfe9dc;--adm:#2fb47c;--panel:linear-gradient(180deg,#f5f9fd 0%,#eaf1f9 100%)}
.tr-art{display:block;width:100%;height:auto;overflow:visible}
.tr-art text{font-family:var(--body);font-weight:800}

/* Cover: the title, the route from home to the venue, and the seven steps at a glance. */
.tr-hero{padding:28px 0 36px;overflow:hidden;background:radial-gradient(60% 70% at 78% 40%,#e4eef9 0%,rgb(228 238 249 / 0) 72%),linear-gradient(180deg,#fff 0%,#f6f9fd 100%)}
.tr-hero__grid{display:grid}
.tr-hero h1{font-size:clamp(42px,10.5vw,92px);line-height:1.02;letter-spacing:-.045em;text-wrap:balance}
.tr-hero__lead{max-width:540px;margin-top:18px;font-size:17px;line-height:1.65;color:#42566e}
.tr-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-top:26px}
.tr-hero__actions .button{border-radius:50px;padding-inline:26px}
.tr-hero__actions .text-link{color:var(--ink);font-size:14px}
.tr-hero__art{max-width:560px;margin:8px auto 0}
/* Phones and tablets: the drawing right under the title, so the first screen shows the route. */
@media(max-width:899px){.tr-hero__copy{display:contents}.tr-hero .section-label{order:1}.tr-hero h1{order:2}.tr-hero__art{order:3;margin:14px auto 0}.tr-hero__lead{order:4}.tr-hero__actions{order:5}}
.tr-rail-nav{margin-top:28px;padding-top:22px;border-top:1px solid #d6e3ef}
.tr-rail-title{font-size:13px;font-weight:700;color:var(--muted)}
.tr-rail{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 6px}
.tr-rail a{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:44px;padding:4px 2px;border-radius:12px;text-align:center;font-size:12px;font-weight:700;line-height:1.3;color:var(--ink)}
.tr-rail__icon{position:relative;display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--blue);box-shadow:0 6px 16px #102b460d;transition:border-color .2s,transform .16s var(--ease-out)}
.tr-rail__icon b{position:absolute;top:-3px;right:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--blue);color:#fff;font-size:11px;font-weight:800;line-height:1}
.tr-rail a:active .tr-rail__icon{transform:scale(.94)}
@media (hover:hover) and (pointer:fine){
  .tr-rail a:hover .tr-rail__icon{border-color:var(--blue)}
  .tr-hero__actions .button:hover .icon{transform:translateY(2px)}
}
@media(min-width:760px){
  .tr-rail{position:relative;grid-template-columns:repeat(7,minmax(0,1fr))}
  .tr-rail::before{content:'';position:absolute;top:30px;left:calc(100% / 14);right:calc(100% / 14);border-top:2px dashed #b8cbde}
  .tr-rail li{position:relative}
  .tr-rail a{font-size:13px}
}
@media(min-width:900px){
  .tr-hero{padding:56px 0 52px}
  .tr-hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:40px}
  .tr-hero__art{margin:0}
  .tr-rail-nav{margin-top:44px}
}

/* The steps: a dashed route joins their numbers. */
.tr-ship{padding:48px 0 64px}
.tr-steps{list-style:none;margin:0;padding:0}
.tr-step{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 14px;padding-bottom:56px}
.tr-step:last-child{padding-bottom:0}
.tr-step:not(:last-child)::before{content:'';position:absolute;top:40px;bottom:0;left:19px;border-left:2px dashed #b8cbde}
.tr-step__node{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;font:400 22px/1 var(--display);box-shadow:0 0 0 6px #fff}
.tr-step__body{min-width:0}
.tr-step h3{padding-top:3px;font:400 clamp(28px,7vw,46px)/1.08 var(--display);letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.tr-step__text{max-width:520px;margin-top:10px;font-size:16px;line-height:1.65;color:#42566e}
.tr-step__action{margin-top:20px;border-radius:50px;gap:12px;padding-inline:22px}
.tr-step__action .icon{width:20px;height:20px}
.tr-step__visual{min-width:0;margin-top:22px}
.tr-panel{padding:18px;border-radius:22px;background:var(--panel)}
@media (hover:hover) and (pointer:fine){.tr-step__action:hover .icon{transform:none}}
@media(max-width:420px){.tr-step__action,.tr-copy__button{gap:10px;padding-inline:18px;font-size:14px}}
@media(min-width:900px){
  .tr-ship{padding:80px 0 96px}
  .tr-step{grid-template-columns:56px minmax(0,1fr);gap:0 36px;padding-bottom:96px}
  .tr-step:not(:last-child)::before{top:56px;left:27px}
  .tr-step__node{width:56px;height:56px;font-size:30px;box-shadow:0 0 0 8px #fff}
  .tr-step--split .tr-step__body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start}
  .tr-step--split .tr-step__visual{margin-top:0}
  .tr-panel{padding:28px}
}

/* Step 1: the documents as cards, each with its drawing, its condition and original or copy. */
.tr-docs-count{margin-top:12px;font-size:13.5px;color:var(--muted)}
.tr-docs-count [data-doc-count]{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.tr-docs-count.is-complete [data-doc-count]{color:var(--ok-ink)}
.tr-docs{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
.tr-doc{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start;align-content:start;padding:12px;border:1px solid #dce6f0;border-radius:16px;background:#fff;transition:border-color .2s,background-color .2s}
.tr-doc__art{position:relative;padding:6px 4px 2px;border-radius:12px;background:var(--ice)}
.tr-doc__art .tr-art{max-width:170px;margin-inline:auto}
.tr-doc__done{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ok);color:#fff;box-shadow:0 0 0 3px #fff;opacity:0;transform:scale(.6);transition:opacity .2s var(--ease-out),transform .2s var(--ease-out)}
.tr-doc__done .icon{width:16px;height:16px;stroke-width:2.4}
.tr-doc:has(input:checked){border-color:var(--ok-line);background:var(--ok-soft)}
.tr-doc:has(input:checked) .tr-doc__done{opacity:1;transform:none}
.tr-doc h4{font-size:15px;line-height:1.3;color:var(--ink)}
.tr-doc__levels{list-style:none;margin:6px 0 0;padding:0;font-size:12.5px;line-height:1.45;color:#42566e}
.tr-doc__levels strong{color:var(--ink)}
.tr-doc__detail{margin-top:4px;font-size:13px;line-height:1.5;color:#42566e}
.tr-doc__badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tr-badge{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:3px 10px 3px 7px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2}
.tr-badge .icon{width:15px;height:15px}
.tr-badge--original{background:#f7ecd6;color:#5c400f}
.tr-badge--copia{background:#e3eefb;color:#0d4a91}
.tr-doc__check{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:2px;padding-right:6px;font-size:13px;font-weight:700;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none}
.tr-doc__check input{width:20px;height:20px;margin:0;accent-color:var(--ok);cursor:pointer}
@media (hover:hover) and (pointer:fine){.tr-doc:hover{border-color:#bcd0e4}.tr-doc:has(input:checked):hover{border-color:#a9d6bf}}
@media(min-width:560px){
  .tr-docs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .tr-doc{grid-template-columns:1fr;padding:14px}
  .tr-doc__art{padding:12px 16px 6px}
}
@media(min-width:1000px){.tr-docs{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Step 3: three ways to protect them. */
.tr-pack{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tr-pack li{padding:12px 8px 14px;border-radius:18px;background:var(--panel);text-align:center}
.tr-pack .tr-art{max-width:160px;margin-inline:auto}
.tr-pack p{margin-top:8px;font-size:12.5px;font-weight:700;line-height:1.35;color:var(--ink)}
@media(min-width:700px){.tr-pack{gap:16px}.tr-pack li{padding:20px 16px 22px}.tr-pack p{font-size:15px}}
@media(min-width:900px){.tr-pack{max-width:880px}}
/* On phones the cards of steps 1 and 3 take the whole width, over the route. */
@media(max-width:559px){.tr-docs,.tr-pack{position:relative;z-index:1;margin-left:-54px}}

/* Step 4: any carrier. */
.tr-chips{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tr-chips li{display:inline-flex;align-items:center;min-height:38px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:14px;font-weight:700;color:var(--ink)}

/* Step 5: the waybill, filled in with ODM's address (selectable text), and «Copiar dirección». */
.tr-waybill{max-width:560px;border:1px solid #cddbe8;border-radius:14px;background:#fff;box-shadow:0 18px 44px #102b4614;overflow:hidden}
.tr-waybill__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--ink);color:#fff}
.tr-waybill__head span{font-size:13px;font-weight:800;letter-spacing:.02em}
.tr-waybill__barcode{flex:none;width:110px;height:26px}
.tr-waybill__tag{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tr-waybill__from{padding:12px 16px 14px;border-bottom:1px dashed #cddbe8;background:#fafcfe}
.tr-waybill__blank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:6px}
.tr-waybill__blank span{padding-bottom:12px;border-bottom:2px solid #dfe8f1;font-size:12px;color:#5d6e80}
.tr-waybill__to{position:relative;padding:14px 16px 16px 21px}
.tr-waybill__to::before{content:'';position:absolute;top:0;bottom:0;left:0;width:5px;background:var(--adm)}
.tr-waybill__to .tr-waybill__tag{color:var(--ok-ink)}
.tr-waybill dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:10px 0 0}
.tr-waybill dl>div{min-width:0}
.tr-waybill .is-wide{grid-column:1/-1}
.tr-waybill dt{font-size:11.5px;font-weight:700;color:var(--muted)}
.tr-waybill dd{margin:1px 0 0;font-size:16px;font-weight:700;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.tr-waybill .is-key dd{display:inline-block;margin-left:-6px;padding:0 6px;border-radius:5px;background:#fff1c9}
.tr-waybill__foot{padding:9px 16px;border-top:1px solid #e3ebf3;background:#fafcfe;font-size:12px;font-weight:700;color:var(--muted)}
.tr-copy{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:18px}
.tr-copy__button{border-radius:50px;gap:12px;padding-inline:22px}
.tr-copy__icons{display:grid;width:20px;height:20px}
.tr-copy__icons .icon{grid-area:1/1;width:20px;height:20px;transition:opacity .15s var(--ease-out),transform .2s var(--ease-out)}
.tr-copy__button .tr-copy__done{opacity:0;transform:scale(.6)}
.tr-copy__button.is-copied{border-color:var(--ok-ink);background:var(--ok-ink)}
.tr-copy__button.is-copied .tr-copy__icon{opacity:0;transform:scale(.6)}
.tr-copy__button.is-copied .tr-copy__done{opacity:1;transform:none}
.tr-copy__status{min-height:1.5em;font-size:13px;color:var(--muted)}
.tr-copy-buffer{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}
@media (hover:hover) and (pointer:fine){.tr-copy__button:hover .tr-copy__icon{transform:none}.tr-copy__button.is-copied:hover{background:var(--ok-ink)}}
@media(max-width:420px){.tr-waybill__blank{grid-template-columns:1fr 1fr}.tr-waybill__blank span:first-child{grid-column:1/-1}}

/* Step 7: what must arrive before the start, and the welcome letter. */
.tr-ready{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tr-ready li{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:6px 14px 6px 10px;border:1px solid var(--ok-line);border-radius:999px;background:var(--ok-soft);font-size:14px;font-weight:700;color:var(--ink)}
.tr-ready .icon{width:18px;height:18px;color:var(--ok-ink);stroke-width:2.2}
.tr-welcome{display:flex;align-items:flex-start;gap:12px;max-width:520px;margin-top:18px;padding:14px 16px;border:1px solid #f0dfbd;border-radius:14px;background:#fbf4e6;font-size:15px;line-height:1.6;color:var(--ink)}
.tr-welcome .icon{margin-top:1px;color:#9d6d24}

/* Delivering in person instead. */
.tr-inperson{display:grid;gap:18px;align-items:center;margin-top:64px;padding:24px 20px;border:1px solid #dce6f0;border-radius:24px;background:#fff;box-shadow:0 18px 50px #102b460d}
.tr-inperson__art{max-width:220px;margin-inline:auto}
.tr-inperson h2{font-size:clamp(30px,6.5vw,44px);line-height:1.1}
.tr-inperson__copy>p{margin-top:10px;font-size:16px;line-height:1.6;color:#42566e}
.tr-inperson address{margin-top:16px;padding-left:16px;border-left:1px solid var(--gold);font-style:normal;font-size:17px;line-height:1.7;color:var(--ink)}
.tr-inperson .button{margin-top:20px;border-radius:50px;gap:12px;padding-inline:22px}
@media (hover:hover) and (pointer:fine){.tr-inperson .button:hover .icon{transform:none}}
@media(min-width:760px){.tr-inperson{grid-template-columns:220px minmax(0,1fr);gap:40px;padding:36px 44px}}
@media(min-width:900px){.tr-inperson{margin:32px 0 0 92px}}

/* Control Escolar: its services and costs as cards; the two constancias share one. */
.tr-services{padding:64px 0 72px;background:var(--ice)}
.tr-services__intro h2{font-size:clamp(40px,8vw,64px)}
.tr-services__intro>p:not(.section-label){max-width:560px;margin-top:14px;font-size:16px;line-height:1.7;color:#42566e}
.tr-service-list{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:14px}
.tr-service{display:flex;flex-direction:column;padding:20px;border:1px solid #d9e5f0;border-radius:20px;background:#fff}
.tr-service__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e3eefb;color:var(--blue)}
.tr-service__icon .icon{width:28px;height:28px}
.tr-service h3{margin-top:14px;font-size:18px;line-height:1.3}
.tr-service__options{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.tr-service__options>li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:var(--ice)}
.tr-service__when{display:grid;gap:2px;min-width:0}
.tr-service__variant{font-size:13px;font-weight:700;line-height:1.35;color:var(--ink)}
.tr-service__days{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#42566e}
.tr-service__days .icon{width:15px;height:15px}
.tr-service__price{font:400 30px/1 var(--display);letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.tr-service__notes{margin-top:auto;padding-top:10px}
.tr-service__notes summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13.5px;font-weight:700;color:var(--blue);cursor:pointer;list-style:none}
.tr-service__notes summary::-webkit-details-marker{display:none}
.tr-service__notes summary::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s var(--ease-out)}
.tr-service__notes[open] summary::after{transform:translateY(1px) rotate(-135deg)}
.tr-service__notes ul{margin:2px 0 4px;padding-left:18px;font-size:13px;line-height:1.55;color:#42566e}
.tr-service__notes li+li{margin-top:4px}
.tr-services__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:28px}
.tr-services__actions .button{border-radius:50px;gap:12px;padding-inline:24px}
.tr-services__note{display:flex;align-items:flex-start;gap:8px;max-width:520px;font-size:14px;line-height:1.55;color:#42566e}
.tr-services__note .icon{flex:none;width:18px;height:18px;margin-top:2px;color:var(--blue)}
@media (hover:hover) and (pointer:fine){.tr-services__actions .button:hover .icon{transform:none}}
@media(min-width:700px){.tr-service-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.tr-services{padding:96px 0 104px}}
@media(min-width:1100px){.tr-service-list{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* The one entrance: the truck drives in from home and the documents settle. */
@media(prefers-reduced-motion:no-preference){
  .tr-hero__truck{animation:tr-drive .7s var(--ease-out) .2s both}
  .tr-hero__docs{animation:tr-settle .5s var(--ease-out) .45s both}
  @keyframes tr-drive{from{opacity:0;transform:translateX(-90px)}}
  @keyframes tr-settle{from{opacity:0;transform:translateY(12px)}}
}

/* Printed: the steps and the waybill, without the site's chrome or the controls. */
@media print{
  body.tramites-page{padding-top:0}
  .tramites-page .site-header,.tramites-page .reading-progress,.tr-hero__actions,.tr-rail-nav,.tr-copy,.tr-doc__check,.tr-docs-count,.tr-step__action{display:none}
  .tr-step,.tr-doc,.tr-waybill,.tr-service{break-inside:avoid}
}
