@import url("/assets/cabecera.css");

:root{color-scheme:light;--header-height:94px;--orange:#ff650c;--ink:#1b1a18;--paper:#f7f5f1;--muted:#5b5751;--line:#e6e1d9}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 12px)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bf4200;outline-offset:4px}
.wrap{width:min(1240px,calc(100% - 100px));margin-inline:auto}
.top{position:sticky;top:0;z-index:10;background:#fff;box-shadow:0 1px 0 var(--line)}
.nav,.footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.nav{min-height:var(--header-height)}
.brand,.header-actions,.actions{display:flex;align-items:center;gap:16px}
.brand{font-size:18px;line-height:1.1;letter-spacing:-.025em}
.brand img{width:166px;height:auto;flex:none}
.header-actions{gap:10px}
.menu{position:relative}
.menu summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:5px;list-style:none;cursor:pointer;font-size:14px;font-weight:800}
.menu summary::-webkit-details-marker{display:none}
.menu summary:hover,.menu[open] summary{background:#fff0e6;border-color:#f4b68f}
.menu summary:focus-visible{outline:3px solid #bf4200;outline-offset:4px}
.hamburger{display:grid;gap:4px;width:18px}
.hamburger i{display:block;height:2px;border-radius:2px;background:#bd2626}
.menu[open] .hamburger i:first-child{transform:translateY(6px) rotate(45deg)}
.menu[open] .hamburger i:nth-child(2){opacity:0}
.menu[open] .hamburger i:last-child{transform:translateY(-6px) rotate(-45deg)}
.menu nav{position:absolute;z-index:2;right:0;top:calc(100% + 12px);display:grid;width:min(250px,calc(100vw - 32px));padding:7px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:5px;box-shadow:0 18px 45px #1b1a1829;font-size:15px;font-weight:700}
.menu nav>*{padding:11px 14px;border-radius:3px}
.menu nav>a:hover{color:#8e3100;background:#fff0e6}
.intranet{color:#71695e;border-top:1px solid var(--line)}
.footer a:hover{color:#ff8a47}
.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:13px 19px;min-height:48px;border:1px solid transparent;border-radius:5px;background:var(--orange);color:#16120e;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.button:hover{background:#ff8037}
.button:disabled{opacity:.65;cursor:wait}
.hero{min-height:570px;display:grid;align-items:center;color:#fff;background:#29231d linear-gradient(90deg,#171512f9 0%,#171512d6 34%,#17151245 69%,#17151213 100%);background-image:linear-gradient(90deg,#171512f9 0%,#171512d6 34%,#17151245 69%,#17151213 100%),url('/assets/excavacion.webp');background-size:cover;background-position:center 55%;border-bottom:5px solid var(--orange)}
.hero-content{padding-block:76px 82px}
.eyebrow{display:flex;align-items:center;gap:11px;margin:0 0 18px;color:#a63a00;font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.eyebrow::before{content:"";display:block;width:25px;height:2px;background:var(--orange)}
.hero .eyebrow{color:#ff8a47}
h1,h2,h3,p{margin-top:0}
h1,h2{font-weight:900;letter-spacing:-.065em;line-height:.99}
h1{margin-bottom:22px;font-size:clamp(48px,7.2vw,104px)}
h1 em{color:var(--orange);font-style:normal}
.intro{max-width:410px;color:#eee8df;font-size:17px;margin-bottom:29px}
.actions{flex-wrap:wrap}
.outline{color:#fff;background:#16120e55;border-color:#ffffff75}
.outline:hover{background:#29231d}
.services,.contact,.about{padding-block:76px}
.about{background:linear-gradient(140deg,#fff8ef,#f4e5d8);border-bottom:1px solid #e9d6c5}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);align-items:start;gap:clamp(18px,4vw,54px)}
.about h2{margin:0;padding-left:15px;border-left:4px solid var(--orange)}
@media(min-width:761px){
  .about{position:relative;isolation:isolate;overflow:hidden}
  .about::before{
    content:"";position:absolute;z-index:-1;inset:10% auto 0 0;width:min(61%,900px);
    background:url('/assets/excavacion.webp') center 59% / cover no-repeat;
    mask-image:radial-gradient(ellipse 67% 59% at 32% 80%,#000 26%,transparent 100%);
    filter:grayscale(.7) sepia(.28);mix-blend-mode:multiply;opacity:.32;pointer-events:none
  }
}
.about-copy{padding:clamp(16px,3vw,30px);border:1px solid #ead8c9;border-radius:13px;background:#fffdf9;box-shadow:0 8px 22px #3321170a}
.about-copy p{max-width:68ch;margin:0 0 10px;color:#5b4d44}
.about-copy p:last-child{margin:0}
.about-copy .about-lead{margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #efe0d3;color:#31241c;font-size:clamp(18px,2.4vw,26px);line-height:1.34}
.about-copy strong{color:#83330b}
h2{font-size:clamp(37px,5vw,61px);margin-bottom:32px}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
article{background:#fff;border:1px solid var(--line);border-radius:6px;padding:23px;box-shadow:0 8px 22px #1b1a1809}
.icon{display:grid;place-items:center;width:42px;height:42px;background:#fff0e6;color:#a63a00;font-size:24px;font-weight:bold;margin-bottom:17px}
h3{font-size:20px;line-height:1.15;letter-spacing:-.035em;margin-bottom:10px}
/* Shared intranet field sizing. Each page keeps its own form layout. */
:where(.login-page,.intranet-body) :where(label:not([hidden])){
  display:block;margin-bottom:14px;font-size:14px;font-weight:700;
}
:where(.login-page,.intranet-body) :where(input:not([type="checkbox"],[type="radio"]),select,textarea){
  display:block;width:100%;min-width:0;max-width:100%;margin-top:5px;padding:9px 10px;
  border:1px solid #a8a19a;border-radius:7px;background:#fff;color:inherit;
  font:inherit;font-weight:400;
}
:where(.intranet-body) :where(textarea){resize:vertical}
@media(max-width:640px){
  :where(.login-page,.intranet-body) :where(input:not([type="checkbox"],[type="radio"]),select,textarea){font-size:16px}
}
article p{color:var(--muted);margin-bottom:0}
.contact{
  background:radial-gradient(ellipse at 12% 0%,#ffdcc3,transparent 58%),#f5ede4;
  border-top:1px solid #e9d6c5;
}
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(12px,2vw,24px);
}
.contact-intro{
  padding:clamp(24px,4vw,54px);
  border-radius:18px;
  background:#29231d linear-gradient(180deg,#201914 12%,#201914ed 43%,#20191435 100%);
  background-image:linear-gradient(180deg,#201914 12%,#201914ed 43%,#20191435 100%),url('/assets/excavacion.webp');
  background-position:center,53% center;
  background-size:cover;
  color:#fff;
}
.contact .eyebrow{color:#ff9f6b}
.contact h2{margin-bottom:16px;font-size:clamp(38px,5vw,64px)}
.contact-intro>p:last-child{max-width:36ch;color:#f8e9dc;margin-bottom:0}
#contact-form{
  display:grid;
  gap:18px;
  min-width:0;
  padding:clamp(18px,3vw,36px);
  border:1px solid #e9d7c7;
  border-radius:18px;
  background:#fffdfb;
  box-shadow:0 12px 38px #41261a13;
}
.contact .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact label{display:block;min-width:0;font-size:14px;font-weight:800}
.contact-label{display:flex;align-items:center;gap:7px}
.contact-field-icon{
  flex:none;width:24px;height:24px;padding:4px;border-radius:6px;
  background:#fff0e6;color:#a63a00;fill:none;
  stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.contact-label small{color:var(--muted);font-size:12px;font-weight:400}
.contact :is(input,select,textarea){
  display:block;width:100%;margin-top:6px;padding:11px 12px;
  border:1px solid #c9b9ab;border-radius:9px;background:#fbf7f3;
  color:var(--ink);font:inherit;font-size:16px;font-weight:400;
}
.contact :is(input,select){min-height:46px}
.contact textarea{min-height:118px;resize:vertical}
.contact textarea::placeholder{color:#685d54}
.contact :is(input,select,textarea):focus{background:#fff;border-color:#bf4200}
.contact-actions{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.contact .privacy{margin:0;color:var(--muted);font-size:13px;flex:1 1 170px}
.contact .button{border-radius:10px;min-height:50px}
#form-status{margin:0}
#form-status:empty{position:absolute}
#form-status:not(:empty){padding:10px 12px;border-radius:8px;background:#fff0e6;color:#743206;font-size:14px}
@media(max-width:820px){
  .contact-grid{grid-template-columns:minmax(0,1fr)}
  .contact-intro{
    background-image:linear-gradient(90deg,#201914f7 23%,#201914b3 100%),url('/assets/excavacion.webp');
    background-position:center,center 60%;
  }
}
@media(max-width:520px){
  .contact .fields{grid-template-columns:minmax(0,1fr);gap:12px}
  .contact .button{width:100%}
}
footer{background:#201d19;color:#fff;padding-block:24px;font-size:14px}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
.wrap{width:calc(100% - 32px)}
.nav{gap:8px}
.brand{font-size:14px;gap:6px}
.brand img{width:clamp(112px,34vw,138px)}
.header-actions{gap:6px}
.budget{font-size:12px;min-height:42px;padding:8px;gap:5px}
.menu summary{min-height:42px;padding:0 9px}
.menu summary>span:last-child:not(.hamburger){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hero{min-height:510px;background-position:60% center}
.hero-content{padding-block:52px}
h1{font-size:clamp(40px,10vw,66px)}
.services,.contact,.about{padding-block:52px}
.cards,.about-grid{grid-template-columns:1fr}
.about-grid{gap:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.project-info{padding-block:clamp(32px,6vw,60px);background:#fbf2e8;border-top:1px solid #e8d7c8}
.project-info h2{font-size:clamp(32px,4vw,49px);margin-bottom:24px}
.project-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.project-questions>div{padding:clamp(14px,3vw,23px);border:1px solid #ead8c9;border-top:3px solid #ed7735;border-radius:10px;background:#fffdf9}
.project-icon{display:inline-grid;place-items:center;width:32px;height:32px;margin-bottom:9px;border-radius:7px;background:#ffe8d4;color:#89390e;font-size:19px;font-weight:900}
.project-questions h3{margin-bottom:7px}
.project-questions p{color:#5b4d44;margin-bottom:0}
.project-questions strong{color:#35251b}
.site-footer{padding-block:38px;background:#211b17}
.footer-grid{display:grid;grid-template-columns:1.05fr 1.2fr .95fr;gap:28px}
.footer-grid:has(.footer-blog){grid-template-columns:repeat(4,minmax(0,1fr))}
.footer-grid nav{display:grid;align-content:start;gap:6px}
.footer-grid strong{display:block;color:#ff9b65;margin-bottom:3px}
.footer-grid .footer-brand{font-size:18px;color:#fff}
.footer-grid p{color:#e3d7cb;margin:7px 0 0;max-width:35ch}
.footer-grid a{color:#fff0e6;text-decoration:underline;text-underline-offset:3px}
.footer-grid a:hover{color:#ff9b65}
@media(max-width:720px){
.project-questions,.footer-grid,.footer-grid:has(.footer-blog){grid-template-columns:1fr;gap:20px}
}

.footer-areas{margin-top:22px;padding-top:15px;border-top:1px solid #ffffff30}
.footer-areas strong{color:#ff9b65}
.footer-areas ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 18px;margin:7px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.45;color:#e3d7cb}
@media(max-width:860px){.footer-areas ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.footer-areas ul{grid-template-columns:1fr}}
.footer-areas a{text-decoration:underline;text-underline-offset:3px}
.footer-areas a:hover{color:#ff9b65}

.site-top .nav{position:relative}
.site-top .menu summary{background:#fff9}
.site-top .menu summary:hover,.site-top .menu[open] summary{background:#fff0e6}

/* Miniature worksite along the bottom edge of the shared header. */
.header-worksite{
  position:absolute;inset:auto 0 0;height:17px;border-bottom:2px solid var(--orange);
  pointer-events:none;
}
.intranet-body .header-worksite,.login-page .header-worksite{border-bottom:0}
.header-worksite-track{position:relative;width:min(540px,calc(100% - 30px));height:100%;margin-inline:auto;overflow-x:clip}
.header-motion-toggle,.header-motion-label{display:none}
.header-digger,.header-soil,.header-truck{position:absolute;bottom:0}
.header-digger{left:4px;width:29px;height:18px;color:#c54b0f}
.header-digger::before,.header-digger::after,.header-digger-arm::before,.header-digger-arm::after,
.header-truck i::before,.header-truck i::after{content:"";position:absolute}
.header-digger::before{
  left:2px;bottom:5px;width:21px;height:13px;background:currentColor;
  clip-path:polygon(0 65%,23% 65%,23% 12%,69% 12%,92% 58%,100% 58%,100% 100%,0 100%);
}
.header-digger::after{left:0;bottom:0;width:26px;height:5px;border:1px solid #593a28;border-radius:5px;background:#a37659}
.header-digger-arm{
  position:absolute;left:17px;bottom:7px;width:23px;height:10px;transform-origin:2px 8px;
  animation:header-scoop 3s ease-in-out -.55s infinite;
}
.header-digger-arm::before{
  inset:0;background:currentColor;
  clip-path:polygon(0 75%,43% 0,62% 0,100% 78%,83% 96%,53% 40%,14% 100%);
}
.header-digger-arm::after{
  left:17px;top:7px;width:9px;height:7px;background:#9f3b0c;
  clip-path:polygon(0 0,42% 24%,100% 16%,84% 81%,52% 100%,12% 85%);
}
.header-soil{
  left:38px;width:24px;height:10px;background:linear-gradient(#b7794b,#865235);
  clip-path:polygon(0 100%,13% 74%,30% 72%,43% 32%,56% 13%,70% 33%,84% 73%,100% 100%);
}
.header-worksite-track::after{
  content:"";position:absolute;left:41px;bottom:6px;width:3px;height:3px;border-radius:50%;
  background:#a36540;animation:header-dust 3s linear -.55s infinite;
}
.header-truck{left:64px;right:0;height:14px;animation:header-haul 12s linear infinite}
.header-truck-body{position:absolute;bottom:0;left:0;width:34px;height:14px;animation:header-truck-turn 12s ease-in-out infinite}
.header-truck i{position:absolute;inset:0}
.header-truck i::before{
  inset:0 0 3px;background:#b94813;
  clip-path:polygon(0 78%,64% 78%,64% 5%,88% 5%,100% 43%,100% 100%,0 100%);
}
.header-truck-bed{
  position:absolute;left:0;bottom:5px;width:20px;height:6px;
  background:#b94813;border-radius:1px 1px 2px 2px;
  transform-origin:100% 100%;
  animation:header-truck-load 12s ease-in-out infinite;
}
.header-truck-bed::before{
  content:"";position:absolute;inset:-4px 2px auto;height:4px;background:#95603d;
  clip-path:polygon(0 100%,18% 60%,44% 0,65% 45%,78% 49%,100% 100%);
  animation:header-truck-cargo 12s linear infinite;
}
.header-truck i::after{
  inset:auto 0 0;height:6px;
  background:radial-gradient(circle at 20% 50%,#563a2b 0 2.5px,transparent 3px),
             radial-gradient(circle at 43% 50%,#563a2b 0 2.5px,transparent 3px),
             radial-gradient(circle at 82% 50%,#563a2b 0 2.5px,transparent 3px);
}
@keyframes header-scoop{
  0%,100%{transform:rotate(-26deg)}
  32%,39%{transform:rotate(15deg)}
  69%,80%{transform:rotate(-38deg)}
}
@keyframes header-dust{
  0%,32%,55%,100%{opacity:0;transform:translate(0,0)}
  39%{opacity:.8}
  48%{opacity:0;transform:translate(5px,-5px)}
}
@keyframes header-haul{
  0%,100%{transform:translateX(100%)}
  36%,63%{transform:translateX(0)}
}
@keyframes header-truck-turn{
  0%,36%{transform:scaleX(-1)}
  40%,100%{transform:scaleX(1)}
}
@keyframes header-truck-load{
  0%,38%,61%,100%{transform:rotate(0)}
  44%,54%{transform:rotate(-11deg)}
}
@keyframes header-truck-cargo{
  0%,45%,100%{opacity:0}
  53%,99%{opacity:1}
}
@media(max-width:640px){
  .header-worksite-track{opacity:.38}
}
@media(prefers-reduced-motion:reduce){
  .header-worksite-track :is(.header-digger-arm,.header-truck,.header-truck-body,.header-truck-bed),
  .header-worksite-track .header-truck-bed::before,
  .header-worksite-track::after{animation-play-state:paused}
  .header-truck{animation-delay:-4.4s}
  .header-truck-body{animation-delay:-4.8s}
  .header-motion-toggle:checked ~ .header-worksite-track :is(.header-truck,.header-truck-body){animation-delay:0s}
}
@media(max-width:640px) and (prefers-reduced-motion:reduce){
  .header-motion-toggle{display:block;position:absolute;opacity:0;width:1px;height:1px;margin:0}
  .header-motion-label{
    display:inline-flex;align-items:center;gap:5px;position:absolute;z-index:1;right:8px;bottom:1px;
    min-height:22px;padding:0 7px;border:1px solid #e6bfa5;border-radius:5px;
    background:#fff6ef;color:#823809;font-size:11px;font-weight:750;
    pointer-events:auto;cursor:pointer;
  }
  .header-motion-label::before{
    content:"";border-block:4px solid transparent;border-left:6px solid currentColor;
  }
  .header-motion-toggle:checked + .header-motion-label::before{
    width:6px;height:8px;border:0;border-inline:2px solid currentColor;
  }
  .header-motion-toggle:focus-visible + .header-motion-label{outline:2px solid #a33d0b}
  .header-motion-toggle:checked + .header-motion-label{background:#823809;color:#fff}
  .header-motion-toggle:checked ~ .header-worksite-track :is(.header-digger-arm,.header-truck,.header-truck-body,.header-truck-bed),
  .header-motion-toggle:checked ~ .header-worksite-track .header-truck-bed::before,
  .header-motion-toggle:checked ~ .header-worksite-track::after{animation-play-state:running}
}

.site-footer .footer-credit{margin-top:18px;color:#e3d7cb;font-size:12px}

.photo-gallery{padding-block:clamp(34px,6vw,72px);background:#28211b;color:#fff5eb;border-block:1px solid #574033}
.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:9px 24px;margin-bottom:20px}
.gallery-heading h2{margin:0}
.gallery-heading p{max-width:36ch;margin:0;padding:6px 9px;border:1px solid #71523e;border-radius:7px;background:#37291f;color:#f0d7c3;font-size:13px}
.gallery-fleet,.gallery-works{display:grid;gap:12px}
.gallery-fleet{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-works{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-subtitle{margin:22px 0 11px;padding-left:9px;border-left:3px solid var(--orange);font-size:clamp(21px,3vw,28px)}
.gallery-photo{min-width:0;margin:0;border:1px solid #634a3a;border-radius:10px;background:#342820;overflow:hidden}
.gallery-open{position:relative;display:block;width:100%;padding:0;border:0;background:#463527;cursor:zoom-in}
.gallery-open:focus-visible{outline-offset:-5px;z-index:1}
.gallery-open img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.gallery-fleet img{aspect-ratio:16/10}
.gallery-zoom{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#261c14e6;color:#fff7ef;font-size:23px}
.gallery-open:hover .gallery-zoom{background:#a43b08}
.gallery-photo figcaption{padding:8px 10px;color:#fff5eb;font-size:14px;font-weight:800}
.gallery-dialog{position:fixed;width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #674838;border-radius:12px;background:#241b16;color:#fff7ef}
.gallery-dialog::backdrop{background:#170e0bd9}
.gallery-dialog form{position:absolute;top:7px;right:7px;padding:0;border:0;background:none}
.gallery-dialog img{display:block;width:100%;max-height:calc(100dvh - 98px);object-fit:contain}
.gallery-dialog button{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid #755645;border-radius:7px;background:#392b21;color:#fff7ef;font-size:22px;cursor:pointer}
.gallery-dialog button:hover{background:#a43b08}
.gallery-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;text-align:center}
.gallery-dialog-footer p{margin:0;font-weight:800}
@media(max-width:640px){
  .gallery-fleet,.gallery-works{grid-template-columns:minmax(0,1fr)}
  .gallery-heading h2{font-size:clamp(31px,9vw,44px)}
}


.services .cards article{
  padding:clamp(15px,2vw,23px);border-top:3px solid #ed7735;border-radius:11px;
  background:linear-gradient(#fff8ef,#fff 95px)
}
.services .cards .icon{width:40px;height:40px;margin-bottom:12px;border-radius:9px;background:#ffebd9}
.services .cards h3{padding-bottom:9px;border-bottom:1px solid #efe2d7}
.services .cards p{font-size:15px;line-height:1.55}
.services .cards strong{color:#402b1e}

.blog-page{padding-block:clamp(28px,5vw,64px)}
.blog-page h1{max-width:22ch;margin:0 0 12px;font-size:clamp(2.15rem,6vw,4.5rem);line-height:1.05;overflow-wrap:anywhere}
.blog-lead{max-width:65ch;font-size:clamp(1.05rem,2.5vw,1.35rem);line-height:1.55}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:18px;margin-block:26px}
.blog-card{overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #e5ddd5;border-radius:14px}
.blog-cover{display:block;width:100%;height:auto;aspect-ratio:760/308;object-fit:cover}
.blog-card>div{display:flex;flex-direction:column;flex:1;padding:18px}
.blog-card h3{margin:0;font-size:1.35rem;line-height:1.2}
.blog-card h3 a{color:inherit;text-decoration:none}
.blog-card h3 a:hover{text-decoration:underline}
.blog-read{display:inline-block;color:#943405;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.blog-card .blog-read{margin-top:auto;align-self:flex-start}
.blog-seo{margin-top:32px;padding:clamp(16px,4vw,30px);border-left:4px solid #ee590b;background:#fff2e7;border-radius:0 12px 12px 0}
.blog-seo h2{margin-top:0}
.blog-seo p{max-width:85ch}
.blog-article{max-width:850px;margin:auto}
.blog-article h1{margin-top:18px}
.blog-article .blog-cover{margin-block:22px;border-radius:14px}
.blog-prose{max-width:72ch;font-size:1.1rem;line-height:1.7;margin-block:24px}
.blog-page :is(p,a,h2){overflow-wrap:anywhere}
.blog-featured{padding-block:clamp(20px,3vw,38px);background:#fff5ed;border-block:1px solid #efdace}
.blog-featured:not(:has(.blog-headlines)){display:none}
.blog-featured-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:14px}
.blog-featured-heading h2{margin:0;font-size:clamp(1.25rem,2.6vw,1.75rem);line-height:1.2}
.blog-featured-heading .blog-read{font-size:.9rem}
.blog-headlines{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:10px;margin:0;padding:0;list-style:none}
.blog-headlines li{min-width:0}
.blog-headlines a{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;
  height:100%;padding:8px;border:1px solid #ead8cc;border-radius:11px;
  background:#fff;color:#2d211c;text-decoration:none;box-shadow:0 3px 10px #6130190a;
}
.blog-headlines a:hover,.blog-headlines a:focus-visible{background:#fffaf6;border-color:#d47648;color:#7d2a08}
.blog-headlines a:is(:hover,:focus-visible) .blog-headline-title{text-decoration:underline;text-underline-offset:3px}
.blog-headline-thumb{display:block;width:clamp(62px,6vw,88px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:7px;background:#f0e0d3}
.blog-headline-title{font-size:clamp(.92rem,1.3vw,1.05rem);font-weight:800;line-height:1.26;overflow-wrap:anywhere}
.blog-headline-arrow{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffebdd;color:#943405;font-weight:800}

.blog-budget-dialog{
  position:fixed;inset:0;width:min(670px,calc(100% - 24px));max-height:calc(100dvh - 24px);
  margin:auto;padding:0;border:1px solid #e9d7c7;border-radius:15px;
  background:#fffdfb;color:#291f19;box-shadow:0 20px 60px #261a1473;overscroll-behavior:contain
}
.blog-budget-dialog::backdrop{background:#21160fb3}
.blog-budget-dialog .contact-grid{width:100%;gap:0;grid-template-columns:minmax(0,1fr)}
.blog-budget-dialog .contact-intro{
  padding:16px 62px 16px clamp(16px,4vw,28px);border-radius:0;background:#38271e
}
.blog-budget-dialog .eyebrow{margin:0 0 4px}
.blog-budget-dialog h2{margin:0 0 6px;font-size:clamp(23px,5vw,34px);line-height:1.12}
.blog-budget-dialog .contact-intro>p:last-child{max-width:52ch;font-size:14px}
.blog-budget-dialog #contact-form{gap:12px;padding:clamp(14px,3vw,25px);border:0;border-radius:0;box-shadow:none}
.blog-budget-dialog textarea{min-height:85px}
.blog-budget-close{
  position:absolute;inset:10px 10px auto auto;display:grid;place-items:center;width:44px;height:44px;
  border:1px solid #a7816a;border-radius:8px;background:#4b3325;color:#fff;cursor:pointer;font-size:25px;line-height:1
}
.blog-budget-close:hover{background:#87461f}

.blog-news{margin-top:clamp(23px,4vw,40px)}
.blog-news-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px 20px}
.blog-news-heading h2{margin:0;font-size:clamp(1.45rem,3vw,2rem)}
.blog-news .blog-grid{margin-top:14px}
.blog-search{min-width:0;width:min(100%,340px)}
.blog-search label{display:block;margin-bottom:3px;color:#493529;font-size:.86rem;font-weight:800}
.blog-search input{width:100%;min-height:44px;padding:8px 11px;border:1px solid #ba9d8a;border-radius:8px;background:#fff;color:#2d211c;font:inherit;font-size:16px}
#blog-search-status{margin:9px 0 0;color:#624d41;font-size:.9rem}
#blog-search-status:empty{margin:0}
.blog-card[hidden]{display:none}

/* Corporate header and high-contrast machinery for the intranet. */
header.top.site-top {
  --worksite-yellow: #ffc329;
  --worksite-orange: #ff9a54;
  --worksite-metal: #e4cbb6;
  --worksite-earth: #bd8a61;
  border-bottom: 2px solid #af701d;
  box-shadow: none;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
.top.site-top .nav {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 96px));
}
.top.site-top .nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  white-space: nowrap;
}
.top.site-top .brand img { width: clamp(46px, 7vw, 56px); height: auto; flex: none; }
.intranet-brand-name {
  color: #ff9a54;
  font-size: clamp(1.6rem, 3.8vw, 2rem);
  font-weight: 850;
  line-height: .95;
  letter-spacing: -.055em;
}
.intranet-brand-name span {
  display: block;
  color: var(--worksite-yellow);
  -webkit-text-stroke: 1.15px #634009;
  paint-order: stroke fill;
}
.top.site-top .nav .menu summary {
  min-height: 44px;
  padding-inline: 16px;
  border-color: #efcf91;
  border-radius: 999px;
  background: #fffaf0;
  color: #23211e;
  font-size: .9rem;
  font-weight: 750;
}
.top.site-top .nav .menu summary:hover, .top.site-top .nav .menu[open] summary {
  border-color: var(--worksite-yellow);
  background: var(--worksite-yellow);
}
.top.site-top .nav .menu nav {
  top: calc(100% + 8px);
  border-radius: 12px;
  box-shadow: 0 12px 30px #23211e24;
}
.top.site-top .nav .logout-button { border-radius: 999px; }
.top.site-top .hamburger i { background: #873a0d; }
.top.site-top :is(.brand, .menu summary):focus-visible { outline-color: var(--worksite-yellow); }

.site-top .header-worksite { border-bottom-color: #af701d; }
.site-top .header-worksite-track {
  transform: scaleX(-1);
  opacity: .94;
  background: linear-gradient(90deg, transparent, #e4cbb655 12%, #e4cbb655 88%, transparent) bottom / 100% 1px no-repeat;
}
.site-top .header-digger { color: var(--worksite-yellow); }
.site-top .header-digger::after { border-color: #6a4934; background: var(--worksite-metal); }
.site-top .header-digger-arm::after, .site-top .header-truck i::before,
.site-top .header-truck-bed { background: var(--worksite-orange); }
.site-top .header-soil, .site-top .header-worksite-track::after,
.site-top .header-truck-bed::before { background: var(--worksite-earth); }
.site-top .header-truck i::after {
  background: radial-gradient(circle at 20% 50%, var(--worksite-metal) 0 2.5px, transparent 3px),
              radial-gradient(circle at 43% 50%, var(--worksite-metal) 0 2.5px, transparent 3px),
              radial-gradient(circle at 82% 50%, var(--worksite-metal) 0 2.5px, transparent 3px);
}
@media (max-width: 960px) {
  .top.site-top .nav { width: calc(100% - 56px); }
}
@media (max-width: 720px) {
  :root { --header-height: 76px; }
  .top.site-top .nav { width: calc(100% - 36px); gap: 10px; }
}
@media (max-width: 440px) {
  .top.site-top .nav .menu summary { padding-inline: 9px; }
}

@media (max-width: 360px) {
  .top.site-top .nav .logout-button {
    position: relative;
    min-width: 44px;
    justify-content: center;
  }
  .top.site-top .nav .logout-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
