@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--g:#17650d;--deep:#073c08;--gold:#f3b900;--orange:#e97900;--blue:#1686c9;--red:#cf2929;--ink:#202620;--muted:#69736b;--line:#e7ebe6;--soft:#f7f8f6}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:'DM Sans',sans-serif;color:var(--ink);margin:0;background:#fff}a{text-decoration:none;color:inherit}
.topbar{background:#f7f8f7;color:#303830;border-bottom:1px solid #e5e9e5;font-size:.78rem}.topbar .container{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px}.toplinks{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.topbar a:hover{color:var(--g)}.topbar i{color:var(--g)}
.socials{display:flex;gap:8px;align-items:center}.socials a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid #e5e8e4;color:#293329;transition:.25s}.socials a:hover{background:var(--g);color:#fff;transform:translateY(-3px);border-color:var(--g)}
.brandbar{background:#fff;position:sticky;top:0;z-index:1000;border-bottom:1px solid #eee;box-shadow:0 5px 20px #00000007}.brandbar .container{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{width:72px;height:78px;object-fit:contain}.brand small{display:block;font-size:.72rem;font-weight:800;color:#555;letter-spacing:.02em}.brand strong{display:block;font:800 2rem Manrope;color:var(--g);line-height:1;letter-spacing:-.05em}.brand span{font-size:.77rem;font-weight:700;color:#555}.navbar{padding:0}.nav-link{font-weight:700;padding:10px 13px!important;border-radius:30px;color:#262b26!important;transition:.25s}.nav-link:hover,.nav-link.active{background:var(--g);color:white!important;box-shadow:0 5px 15px #17650d25}.navbar-toggler{border:1px solid #ddd}.search-btn{border:1px solid #e6e8e4;border-radius:12px;background:white;padding:10px 13px;transition:.25s}.search-btn:hover{background:#f1f7ee;color:var(--g);transform:translateY(-2px)}
.hero{padding:0}.hero-wrap{display:grid;grid-template-columns:34% 66%;min-height:355px;overflow:hidden;position:relative;background:#eaf2e7}.hero-copy{padding:48px 44px 40px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(125deg,#063d12 0%,#0d611a 100%);color:white;position:relative;z-index:2}.hero-copy:after{content:'';position:absolute;right:-30px;top:0;width:55px;height:100%;background:var(--gold);transform:skew(-12deg);z-index:-1}.eyebrow{color:#d8f0ce;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.hero h1{font:800 clamp(2.8rem,4.5vw,4.8rem) Manrope;color:white;line-height:.98;letter-spacing:-.06em;margin:14px 0 18px}.hero p{line-height:1.6;color:#f0f8ed;max-width:400px}.btn-main{background:var(--gold);color:#172216;border:0;border-radius:30px;padding:12px 20px;font-weight:800;transition:.25s;align-self:flex-start}.btn-main:hover{background:#ffd54b;color:#172216;transform:translateY(-3px);box-shadow:0 8px 18px #0002}.hero-photo{min-height:355px;background:url('assets/hero-cairani.jpg') center/cover no-repeat;position:relative}.hero-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0000 55%,#0003)}.hero-photo:after{content:'CANDARAVE · TACNA · PERÚ';position:absolute;right:24px;bottom:20px;color:white;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-shadow:0 2px 8px #0009}.hero-side-images{position:absolute;right:0;top:0;bottom:0;width:19%;display:flex;flex-direction:column;z-index:3;border-left:6px solid white}.hero-side-images img{width:100%;height:50%;object-fit:cover;border-bottom:6px solid white}
.quickbar{max-width:1240px;margin:-24px auto 35px;position:relative;z-index:5;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #e9ece7;border-radius:22px;box-shadow:0 15px 35px #162d1618;overflow:hidden;background:white}.quick-link{min-height:88px;display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid #e9ece7;padding:14px;transition:.25s}.quick-link:last-child{border:0}.quick-link:hover{background:#f7faf6;transform:translateY(-2px)}.quick-link .icon{font-size:1.9rem;color:var(--g)}.quick-link:nth-child(2) .icon{color:var(--gold)}.quick-link:nth-child(3) .icon{color:var(--blue)}.quick-link:nth-child(4) .icon{color:var(--orange)}.quick-link:nth-child(5) .icon{color:var(--g)}.quick-link strong{font-size:.9rem;line-height:1.25}
.section{padding:20px 0 45px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.section-head h2{font:800 1.65rem Manrope;letter-spacing:-.04em;margin:0}.section-head h2:after{content:'';display:block;width:80px;height:4px;background:var(--gold);border-radius:5px;margin-top:9px}.section-head p{color:var(--muted);margin:5px 0 0}.more-link{color:var(--g);border:1px solid #dce8d8;border-radius:30px;padding:8px 14px;font-weight:800;white-space:nowrap;transition:.25s}.more-link:hover{background:var(--g);color:white}
.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.service-card{border:1px solid #e7ebe5;border-radius:15px;padding:23px 16px;min-height:158px;position:relative;transition:.25s;background:white;overflow:hidden}.service-card:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:4px;background:var(--g);transform:scaleX(0);transition:.25s}.service-card:hover{transform:translateY(-6px);box-shadow:0 15px 30px #15301512;border-color:#d9e5d7}.service-card:hover:after{transform:scaleX(1)}.service-card .icon{font-size:1.8rem;color:var(--g);margin-bottom:12px}.service-card h3{font-size:1rem;font-weight:800;margin:0 0 7px}.service-card p{font-size:.84rem;color:var(--muted);margin:0}
.news-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:25px}.featured-news{display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 20px #00000005}.featured-news img{width:100%;height:100%;min-height:270px;object-fit:cover;transition:.5s}.featured-news:hover img{transform:scale(1.03)}.news-content{padding:25px;display:flex;flex-direction:column;justify-content:center}.tag{display:inline-block;background:#edf5e9;color:var(--g);padding:5px 10px;border-radius:30px;font-size:.74rem;font-weight:800;align-self:flex-start}.news-content h3{font:800 1.3rem Manrope;line-height:1.25;margin:13px 0}.news-content p{color:var(--muted);line-height:1.5}.small-news{display:flex;gap:15px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.small-news:last-child{border:0;margin:0}.small-news .thumb{min-width:110px;height:100px;border-radius:12px;background:#f0f4ed;display:flex;align-items:center;justify-content:center;color:var(--g);font-size:2rem;overflow:hidden}.small-news h3{font-size:1rem;font-weight:800;margin:8px 0}.small-news p{font-size:.84rem;color:var(--muted);margin:0}.split-section{background:var(--soft)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{border:1px solid var(--line);border-radius:17px;background:white;overflow:hidden;transition:.25s}.project-card:hover{transform:translateY(-5px);box-shadow:0 16px 30px #162d160d}.project-card img{width:100%;height:205px;object-fit:cover}.project-card .body{padding:20px}.project-card h3{font-weight:800;font-size:1.1rem;margin:12px 0}.project-card p{font-size:.9rem;color:var(--muted)}.status{color:var(--g);background:#edf5e9;border-radius:20px;padding:6px 10px;font-size:.75rem;font-weight:700}
.footer{background:#18231b;color:#dce7dc;padding:42px 0 20px;position:relative}.footer:before{content:'';height:4px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,var(--g),var(--gold),var(--blue),var(--orange),var(--red))}.footer h4{color:white;font-size:1rem;font-weight:800;margin-bottom:14px}.footer p,.footer a{font-size:.87rem;color:#d2e1ce}.footer a:hover{color:#ffdf70}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:25px}.footer-bottom{border-top:1px solid #ffffff25;margin-top:25px;padding-top:16px;font-size:.8rem}.footer-socials a{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ffffff12;border:1px solid #ffffff22;font-size:1rem;margin-right:7px;transition:.2s}.footer-socials a:hover{background:var(--gold);color:#18231b}
.page-banner{background:linear-gradient(115deg,#f3f7f1,#fff);padding:45px 0;border-bottom:1px solid var(--line)}.page-banner h1{font:800 2.35rem Manrope;color:var(--g);margin:8px 0}.page-banner p{color:var(--muted);margin:0}.content-panel{padding:35px 0 60px}.content-card{border:1px solid var(--line);border-radius:15px;padding:25px;margin-bottom:20px;background:white}.content-card h2,.content-card h3{font-family:Manrope;font-weight:800}.list-item{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border:0}.list-item h3{font-size:1rem;margin:0 0 5px}.list-item p{font-size:.9rem;color:var(--muted);margin:0}
.search-overlay{display:none;position:fixed;inset:0;background:#061c0de8;z-index:2000;align-items:center;justify-content:center;padding:20px}.search-overlay.open{display:flex}.search-box{background:white;border-radius:17px;padding:25px;width:min(650px,95%)}.backtop{display:none;position:fixed;bottom:22px;right:22px;border:0;border-radius:50%;width:46px;height:46px;color:white;background:var(--g);box-shadow:0 5px 15px #0002;transition:.2s}.backtop:hover{transform:translateY(-3px)}.backtop.show{display:block}.fade-up{animation:up .6s ease both}@keyframes up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:992px){.brandbar .container{min-height:85px}.hero-wrap{grid-template-columns:1fr}.hero-copy{padding:35px}.hero-copy:after{display:none}.hero-photo{min-height:300px}.hero-side-images{display:none}.quickbar{margin:-18px 12px 28px;grid-template-columns:repeat(3,1fr)}.quick-link:nth-child(3){border-right:0}.quick-link:nth-child(4),.quick-link:nth-child(5){border-top:1px solid var(--line)}.services-grid{grid-template-columns:repeat(3,1fr)}.news-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:576px){.topbar .container{padding:8px 14px;flex-wrap:wrap}.toplinks{gap:9px}.topbar .socials{margin-left:auto}.brandbar .container{padding:10px 14px}.brand img{width:50px;height:60px}.brand strong{font-size:1.45rem}.brand small,.brand span{font-size:.65rem}.hero-copy{padding:27px 23px}.hero h1{font-size:2.65rem}.hero-photo{min-height:230px}.quickbar{grid-template-columns:repeat(2,1fr)}.quick-link{min-height:76px;padding:12px 8px;gap:8px}.quick-link:nth-child(2),.quick-link:nth-child(4){border-right:0}.quick-link:nth-child(3){border-right:1px solid var(--line)}.quick-link:nth-child(5){grid-column:1/-1;border-top:1px solid var(--line)}.quick-link .icon{font-size:1.5rem}.quick-link strong{font-size:.8rem}.services-grid{grid-template-columns:repeat(2,1fr);gap:10px}.service-card{padding:17px 13px;min-height:140px}.section-head h2{font-size:1.35rem}.featured-news{grid-template-columns:1fr}.featured-news img{height:215px;min-height:215px}.news-content{padding:20px}.small-news .thumb{min-width:88px;height:85px}.project-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.page-banner h1{font-size:1.8rem}.content-card{padding:18px}}

.fade-up{transition:opacity .6s ease,transform .6s ease}.fade-up.is-visible{opacity:1;transform:none}.dropdown-menu{border:1px solid #e5e8e3;border-radius:12px;box-shadow:0 12px 24px #00000012;padding:8px}.dropdown-item{border-radius:7px;padding:9px 12px}.dropdown-item:hover{background:#eef6eb;color:var(--g)}
/* V4 visual refinement: shield-inspired color palette, richer hero carousel */
.topbar{background:linear-gradient(100deg,#17650d 0%,#124f0c 42%,#0a3b18 100%);color:#fff;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#f3b900,#e97900,#cf2929,#1686c9,#17650d) 1}.topbar a,.topbar span{color:#f7fff4}.topbar i{color:#ffcf24}.topbar .socials a{background:#ffffff14;border-color:#ffffff35;color:#fff}.topbar .socials a:hover{background:#f3b900;color:#14320e}.topbar .container{min-height:44px}.topbar .toplinks{gap:22px}.brand strong{color:#17650d}.hero-carousel{position:relative;overflow:hidden;background:#102b14}.hero-carousel .carousel-item{height:min(570px,46vw);min-height:390px}.hero-carousel .carousel-item>img{height:100%;object-fit:cover;object-position:center}.hero-carousel .carousel-item:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,34,12,.82) 0%,rgba(7,34,12,.48) 45%,rgba(7,34,12,.08) 100%);pointer-events:none}.hero-carousel .carousel-caption{left:11%;right:22%;bottom:12%;z-index:2;text-shadow:0 2px 14px #0007}.hero-carousel .carousel-caption h1{font:800 clamp(2.5rem,4.6vw,4.8rem) Manrope;line-height:1.03;letter-spacing:-.05em;margin:15px 0}.hero-carousel .carousel-caption p{font-size:1.12rem;max-width:550px}.slide-tag{display:inline-block;border-radius:30px;padding:7px 12px;background:#f3b900;color:#20310f;font-weight:800;font-size:.75rem;letter-spacing:.13em;text-shadow:none}.hero-carousel .carousel-indicators{z-index:3;justify-content:flex-start;left:11%;margin-left:0;margin-bottom:20px}.hero-carousel .carousel-indicators [data-bs-target]{width:34px;height:5px;border-radius:5px;border:0}.hero-carousel .carousel-control-prev,.hero-carousel .carousel-control-next{z-index:3;width:6%}.hero-accent-strip{display:flex;height:5px}.hero-accent-strip span{flex:1}.hero-accent-strip span:nth-child(1){background:#17650d}.hero-accent-strip span:nth-child(2){background:#f3b900}.hero-accent-strip span:nth-child(3){background:#e97900}.hero-accent-strip span:nth-child(4){background:#cf2929}.hero-accent-strip span:nth-child(5){background:#1686c9}.announcement{max-width:1240px;margin:26px auto 0;padding:13px 20px;display:flex;align-items:center;gap:13px;border:1px solid #e7ebe5;border-radius:12px;background:#f7faf5;color:#354235}.announcement>i{font-size:1.2rem;color:#e97900}.announcement strong{font-weight:800;color:#17650d}.announcement span{color:#69736b;font-size:.9rem}.announcement a{margin-left:auto;color:#17650d;font-weight:800;white-space:nowrap}.quickbar{margin-top:22px}.section{padding-top:36px}.services-grid{gap:16px}.service-card{background:linear-gradient(160deg,#fff,#fbfcfa)}.service-card:nth-child(2) .icon{color:#e97900}.service-card:nth-child(3) .icon{color:#1686c9}.service-card:nth-child(4) .icon{color:#cf2929}.service-card:nth-child(5) .icon{color:#17650d}.project-card img{transition:transform .5s}.project-card:hover img{transform:scale(1.04)}
@media(max-width:992px){.hero-carousel .carousel-item{height:440px}.hero-carousel .carousel-caption{left:9%;right:12%;bottom:12%}.announcement{margin-left:12px;margin-right:12px;flex-wrap:wrap}.announcement a{margin-left:0}.hero-carousel .carousel-indicators{left:9%}}
@media(max-width:576px){.hero-carousel .carousel-item{height:390px;min-height:390px}.hero-carousel .carousel-item>img{object-position:center}.hero-carousel .carousel-caption{left:7%;right:8%;bottom:15%;padding-bottom:0}.hero-carousel .carousel-caption h1{font-size:2.35rem}.hero-carousel .carousel-caption p{font-size:.95rem}.hero-carousel .carousel-caption .btn{font-size:.85rem}.hero-carousel .carousel-indicators{left:7%;margin-bottom:12px}.hero-carousel .carousel-control-prev,.hero-carousel .carousel-control-next{width:10%}.announcement{padding:14px;gap:9px}.announcement span{width:100%}.announcement a{font-size:.85rem}.quickbar{margin-top:18px}}
