/* Terraservis: mechanical precision, full photographs and generous reading space. */
@font-face{font-family:Terraservis Display;src:url('assets/fonts/montserrat-semibold.woff') format('woff');font-style:normal;font-weight:600 800;font-display:swap}
:root{--accent:#347d27;--space-section:clamp(64px,7vw,104px);--radius:12px;--body:#45584c}
body{line-height:1.7}h1,h2,h3{font-family:'Terraservis Display','Segoe UI',Arial,sans-serif;font-weight:600;letter-spacing:-.04em;line-height:1.16}h2{font-size:clamp(2rem,4vw,3.5rem)}p{max-width:75ch}section[id]{scroll-margin-top:24px}
header{box-shadow:0 3px 18px #173c2e09}header nav a{padding-block:8px;position:relative}header nav a:hover{color:var(--accent)}header nav a[aria-current]::after{content:'';position:absolute;bottom:1px;height:3px;border-radius:2px;background:var(--green);left:0;right:0}header nav a[aria-current]{box-shadow:none!important;color:var(--ink)}.menu{width:48px;min-height:48px;border-radius:8px}.menu:hover{background:var(--paper)}header nav.open{box-shadow:0 16px 25px #173c2e18;max-height:calc(100svh - 78px);overflow-y:auto}header nav.open a{padding:10px 0;border-bottom:1px solid var(--line)}
.button{border-radius:7px;min-height:54px;padding:15px 24px;line-height:1.4}.button:hover{transform:translateY(-1px)}.button.dark:hover{background:#2b5540}.text-link{line-height:1.5;text-underline-offset:5px}.eyebrow{letter-spacing:.05em;line-height:1.5}.eyebrow.light{color:var(--green-light)}
.hero{min-height:730px}.hero-copy{max-width:1100px;padding-top:76px;padding-bottom:52px}.hero h1{font-size:clamp(3rem,5.4vw,5.4rem);line-height:1.12;max-width:1000px;letter-spacing:-.045em}.hero-description{max-width:580px}.hero-actions{flex-wrap:wrap;gap:22px 32px}.hero-bottom{padding-top:24px;gap:28px}.hero-bottom>span{max-width:550px;letter-spacing:.035em}.hero-bottom>div{flex-shrink:0}.capability-strip{gap:22px;line-height:1.4;padding-block:29px}
.intro{padding-block:var(--space-section)}.intro h2 span,.territory h2 span{color:var(--accent)}.services{padding:20px 0 var(--space-section)}.section-top{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;align-items:center;margin-bottom:42px}.section-top>p{max-width:none;margin:0}.service-explorer{grid-template-columns:minmax(285px,.9fr) minmax(0,2fr);gap:30px;border-top:0}.service-list{padding:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;align-self:start}.service-tab{padding:18px 20px;line-height:1.4;border-bottom:1px solid var(--line);min-height:70px}.service-tab:last-child{border-bottom:0}.service-tab[aria-selected=true]{border-radius:0;background:var(--ink);border-left:5px solid var(--green);padding-left:15px}.service-detail{margin:0;border-radius:var(--radius);border:1px solid var(--line);background:#fff}.service-body{display:block;padding:32px 36px}.service-body>h3{font-size:clamp(1.65rem,2.5vw,2.25rem);line-height:1.2}.service-body>p:not(.eyebrow){max-width:65ch}.service-body>ul{display:grid;grid-template-columns:1fr 1fr;gap:12px 30px;margin:24px 0 28px;padding-left:22px}.service-body>ul li{padding:0;line-height:1.65}.service-body>.button{margin-top:0}.photo-caption{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line);padding:13px 24px;letter-spacing:.04em}.service-photo img{background:var(--paper)}
.field{grid-template-columns:1.05fr 1fr;min-height:0;align-items:center}.field-image{padding:32px 0 32px 5%;background:transparent}.field-image img{border-radius:var(--radius);height:auto;object-fit:contain;aspect-ratio:auto}.field-copy{padding:64px 10% 64px 9%}.field h2{font-size:clamp(2rem,3.2vw,3rem)}.big-time{font-size:clamp(4rem,7vw,6.25rem);margin-bottom:18px}.field-tags{gap:10px;margin:25px 0 32px}.field-tags span{border-radius:5px;line-height:1.4}.clients-banner{padding-block:42px}
.backing{padding-block:var(--space-section)}.value-grid{gap:28px}.value-grid article{padding-top:24px}.value-grid h3{max-width:none;font-size:1.6rem;line-height:1.25;margin-bottom:15px}.value-icon{margin-bottom:18px;color:var(--accent)}.team{gap:35px;grid-template-columns:1.3fr 1fr;border-radius:var(--radius);margin-top:48px;align-items:center}.team img{height:auto;object-fit:contain;aspect-ratio:auto}.team>div{padding:35px 35px 35px 0}.team h3{font-size:clamp(1.8rem,2.8vw,2.6rem);line-height:1.2}
.territory{gap:64px;padding-bottom:var(--space-section)}.sector-picker{padding:32px;border-radius:var(--radius)}.sector-buttons{gap:8px}.sector-buttons button{min-height:46px;line-height:1.4;padding:10px 12px}.sector-picker h3{font-size:1.8rem}.sector-copy{min-height:0}.location-map{margin-top:-12px;border-radius:var(--radius)}.map-foot{align-items:flex-start;flex-wrap:wrap}.map-heading{padding:26px 30px}
.contact{padding-block:var(--space-section)}.contact-inner{gap:64px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.contact h2{font-size:clamp(2.3rem,3.8vw,3.7rem);line-height:1.18}.phone{font-size:clamp(1.8rem,3.5vw,2.6rem);margin-top:28px}.contact form{padding:32px;border:1px solid #ffffff20;border-radius:var(--radius);background:#244b39}.contact form h3{font-size:1.6rem;line-height:1.25}.form-row{grid-template-columns:1fr;gap:0}label{line-height:1.5;margin-bottom:20px}input,select,textarea{min-height:54px;line-height:1.5;border-radius:6px}input::placeholder,textarea::placeholder{color:#626f65;opacity:1}
footer{padding-top:48px}.footer-top{grid-template-columns:.8fr 1.25fr 1.25fr;gap:40px}.footer-top>a:last-child{grid-column:2/4;justify-self:start;margin-top:-6px}.footer-top strong{display:block;line-height:1.4}.footer-top p{margin-top:14px;line-height:1.65;overflow-wrap:normal}.footer-bottom{line-height:1.5;flex-wrap:wrap;padding-bottom:30px}.whatsapp{padding:13px 18px;box-shadow:0 5px 22px #173c2e25}
/* About page: a matched pair of purpose statements, followed by history and people. */
.about-intro{padding:70px 0 55px}.about-intro h1{font-size:clamp(2.8rem,5.7vw,5.5rem);line-height:1.12}.about-intro h1 span{color:var(--accent)}.about-purpose{gap:60px;padding-block:var(--space-section)}.about-purpose h2{font-size:clamp(2rem,3.8vw,3.3rem)}.about-purpose article{padding-top:28px}.about-section-heading{gap:60px}.about-history{padding-block:var(--space-section)}.history-steps{gap:32px}.history-marker{letter-spacing:-.03em}.history-steps h3{line-height:1.25;font-size:1.7rem}.about-team{padding-block:var(--space-section)}.about-team figure{border-radius:var(--radius)}.about-team-copy{gap:60px}
/* Blog: room for the questions, consistent cover frames and readable articles. */
.blog-intro{padding:65px 0 50px}.blog-intro h1{line-height:1.16;font-size:clamp(2.4rem,4.6vw,4.6rem)}.blog-grid{gap:28px;grid-template-columns:repeat(3,minmax(0,1fr))}.blog-card{border-radius:var(--radius);transition:box-shadow .2s,border-color .2s;min-width:0}.blog-card:hover,.blog-card:focus-within{border-color:var(--accent);box-shadow:0 10px 26px #173c2e0d}.blog-card h2{font-size:1.65rem;line-height:1.28;letter-spacing:-.025em}.blog-card p:not(.eyebrow){line-height:1.65}.blog-card>.text-link{margin-top:auto;padding-top:12px}.article-layout{grid-template-columns:minmax(0,800px) minmax(0,310px);gap:56px}.article h1{font-size:clamp(2.1rem,3.8vw,3.8rem);line-height:1.2}.article h2{font-size:1.85rem;line-height:1.25}.article p,.article li{line-height:1.8}.article-sidebar{padding:26px;border:1px solid var(--line);top:118px}.article-sidebar h3{font-size:1.5rem;line-height:1.3}.toc{line-height:1.5;padding-block:12px;overflow-wrap:anywhere}.direct-answer{border-radius:0 8px 8px 0}.article-cover{border-radius:var(--radius)}.article summary{padding-right:12px}.breadcrumbs{line-height:1.5;overflow-wrap:anywhere}.blog-banner{border-radius:var(--radius)}
@media(max-width:1200px){.section-top,.intro>div,.services>.section-top{gap:45px}.hero-copy{padding-top:65px}.value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-explorer{grid-template-columns:minmax(250px,.85fr) minmax(0,1.5fr);gap:22px}.service-body{padding:28px}.service-body>ul{display:block}.service-body li+li{margin-top:12px}.field-copy{padding-inline:8%}.team>div{padding:30px 30px 30px 0}}
@media(max-width:1000px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:minmax(0,1fr)}.article-sidebar{position:static}.article-sidebar .button{width:auto}.field{grid-template-columns:1fr 1fr}.field-copy{padding:40px 7%}.team{grid-template-columns:1fr 1fr;gap:24px}.territory,.contact-inner{gap:32px}.sector-picker{padding:26px}.about-section-heading,.about-team-copy{gap:35px}.footer-top{grid-template-columns:1fr 1fr;gap:30px}.footer-top>a:first-child{grid-column:1/-1}.footer-top>a:last-child{grid-column:1/-1;margin-top:0}}
@media(max-width:700px){:root{--space-section:60px}.wrap{width:88%}.hero{min-height:0}.hero-copy{padding:48px 6% 38px;max-width:100%}.hero h1{font-size:clamp(2.45rem,9vw,4rem);line-height:1.16}.hero .eyebrow{letter-spacing:.03em}.hero-actions{gap:22px;align-items:stretch}.hero-actions .button{width:100%}.hero-actions .text-link{align-self:flex-start}.hero-bottom{margin-top:0;gap:22px}.hero-bottom>span{letter-spacing:0}.capability-strip{padding-block:24px;gap:20px;grid-template-columns:1fr 1fr}.capability-strip span{padding-left:12px}.section-top,.intro>div,.services>.section-top{grid-template-columns:1fr;gap:25px}.service-explorer{display:block}.service-list{border:0;overflow-x:auto;flex-direction:row;padding:0 0 14px;border-radius:0;gap:10px}.service-tab{min-height:60px;border:1px solid var(--line);max-width:245px;border-radius:7px;padding:13px 16px}.service-tab:last-child{border-bottom:1px solid var(--line)}.service-tab[aria-selected=true]{border-radius:7px;padding-left:12px}.service-detail{margin-top:4px}.service-body{padding:25px}.photo-caption{padding:12px 20px;letter-spacing:.02em}.field{grid-template-columns:1fr}.field-image{padding:25px 6% 0}.field-copy{padding:35px 6% 48px}.field h2{font-size:2.1rem}.big-time{font-size:4.5rem}.clients-banner{padding-block:32px}.value-grid{grid-template-columns:1fr;gap:28px}.value-grid article{padding-top:20px}.team{grid-template-columns:1fr;gap:0}.team>div{padding:28px}.team h3{font-size:1.9rem}.territory,.contact-inner{grid-template-columns:1fr;gap:30px}.location-map{margin-top:0}.map-heading{padding:25px}.map-foot{padding:20px 25px}.contact h2{font-size:2.2rem}.contact form{padding:25px}.footer-top{grid-template-columns:1fr;gap:25px}.footer-top>a:last-child{grid-column:1}.footer-top p{margin-bottom:0}.footer-bottom{padding-bottom:90px}.whatsapp{padding:12px;min-height:54px;min-width:54px}.about-intro{padding:48px 0 38px}.about-intro h1{font-size:clamp(2.4rem,9vw,3.8rem)}.about-purpose,.about-section-heading,.about-team-copy{grid-template-columns:1fr;gap:30px}.about-purpose{gap:42px}.blog-grid{grid-template-columns:1fr;gap:24px;padding-block:35px 55px}.blog-intro{padding:48px 0 35px}.blog-intro h1{font-size:2.4rem}.blog-card h2{font-size:1.6rem}.article h1{font-size:2.1rem}.article h2{font-size:1.65rem}.article-layout{gap:32px;padding-bottom:55px}.article-sidebar .button{width:100%}.blog-banner{padding:28px}.blog-banner h2{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){.button,.blog-card{transition:none}}

@media(min-width:1201px){header .brand img{width:190px;height:78px}}

/* Original photographs supplied by Terraservis. */
.service-photo:has(img[src*="terraservis-real"]){background:#e9eee9;display:block}
.service-photo img[src*="terraservis-real"]{width:100%;height:auto;max-height:580px;object-fit:contain;aspect-ratio:auto}
.article-cover[src*="transporte-taller-terraservis-real"]{height:auto;max-height:700px;object-fit:contain;background:#edf1ed}

.service-photo img[src*="terraservis-real"]{margin-inline:auto}

/* Fill photographic frames with a focal point tailored to each photograph. */
.service-photo{display:block!important;height:auto!important;min-height:0!important;overflow:hidden}
.service-photo img,.service-photo img[src*="terraservis-real"]{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center}
.service-photo img[src*="mantenimiento-terraservis-real"]{object-position:50% 18%}
.service-photo img[src*="diagnostico-terraservis-real"]{object-position:50% 25%}
.service-photo img[src*="soldadura-terraservis-real"]{object-position:50% 40%}

.field{align-items:stretch}.field-image{padding:0;position:relative;min-height:460px;overflow:hidden}.field-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.team{align-items:stretch}.team>img{width:100%;height:100%;object-fit:cover;object-position:center;min-height:340px}
.about-team figure img{display:block;width:100%;height:auto;object-fit:cover}
.article-cover,.article-cover[src*="transporte-taller-terraservis-real"]{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover}
.article-cover[src*="transporte-campo-terraservis-real"]{object-position:50% 70%}
.blog-card-image{object-fit:cover;object-position:50% 60%}
@media(max-width:700px){.field-image{min-height:0;aspect-ratio:4/3}.team>img{height:auto;min-height:0;aspect-ratio:4/3}.service-photo img,.service-photo img[src*="terraservis-real"]{aspect-ratio:4/3!important}}

/* Genuine service photographs and simple, keyboard-accessible galleries. */
.photo-controls{display:flex;align-items:center;justify-content:center;gap:24px;padding:14px 20px;background:#f5f7f4;color:#173c2e}
.photo-controls[hidden]{display:none!important}.photo-controls button{display:grid;place-items:center;min-width:48px;min-height:48px;padding:8px 16px;border:1px solid #c5d6c9;border-radius:6px;background:#fff;color:#173c2e;font-size:24px}.photo-controls button:hover{background:#e0eedb}.photo-controls span{font-size:var(--text-size,20px);font-weight:600}
.service-photo .photo-caption{position:static;display:block;line-height:1.5;letter-spacing:0;padding:16px 24px}
.service-photo img[src*="oct29"]{object-position:50% 45%}
.service-photo img[src*="carro-taller-oct29"]{object-position:50% 55%}
.team>img[src*="equipo-oct29"]{object-fit:cover;object-position:50% 65%}
.about-team figure img{aspect-ratio:3/2;object-fit:cover;object-position:center}

.team>img[src*="equipo-oct29"]{height:auto;min-height:0;aspect-ratio:3/2;object-fit:cover;align-self:center}
.about-team figure img[src*="equipo-oct29"]{aspect-ratio:3/2;object-position:center}
