/* Herrería Hernández — estilo arquitectónico original */
:root{--ink:#12202d;--navy:#1a2836;--night:#101c27;--accent:#0b7fa8;--accent2:#1fb7e2;--paper:#ffffff;--mist:#f5f8fa;--sand:#edf3f6;--slate:#526273;--edge:#dbe5ea;--radius:24px;--shadow:0 24px 70px rgba(15,36,54,.09);--shadow-soft:0 18px 40px rgba(15,36,54,.08);--shadow-strong:0 24px 55px rgba(8,25,40,.16);}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:linear-gradient(180deg,#ffffff 0%,#f7fafb 100%);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:16px;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}svg{vertical-align:middle}::selection{background:#bdeefa;color:#102330}.wrap{width:min(100% - 76px,1240px);margin-inline:auto}.skip{position:absolute;left:12px;top:-80px;background:#fff;color:#111;z-index:1000;padding:10px 14px}.skip:focus{top:10px}.kicker{display:flex;align-items:center;gap:10px;letter-spacing:.21em;text-transform:uppercase;color:var(--accent);font-weight:800;font-size:11px}.kicker:before{content:'';height:1px;width:29px;background:currentColor}.section-title{font-size:clamp(34px,4.2vw,54px);letter-spacing:-.053em;line-height:1.04;font-weight:760;margin:14px 0 17px}.section-desc{color:#586b78;line-height:1.75;font-size:16px;max-width:640px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:56px;padding:15px 28px;border:1px solid transparent;border-radius:999px;font-weight:800;font-size:13px;letter-spacing:.03em;text-transform:none;transition:background .22s,transform .22s,border-color .22s,box-shadow .22s,color .22s;white-space:nowrap;box-shadow:var(--shadow-soft)}.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-strong)}.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4dbfec;outline-offset:3px}.btn-primary{background:linear-gradient(135deg,#112131 0%,#1d425b 100%);color:#fff;border-color:#17354a}.btn-primary:hover{background:linear-gradient(135deg,#163148 0%,#23516f 100%)}.btn-outline{background:rgba(255,255,255,.82);color:var(--night);border-color:#cdd9e0;backdrop-filter:blur(10px)}.btn-outline:hover{border-color:var(--accent);background:#fff}.btn-blue{background:linear-gradient(135deg,#0b82ad 0%,#15a9d8 100%);color:#fff;border-color:#0f86b1}.btn-blue:hover{background:linear-gradient(135deg,#0a7299 0%,#109cc7 100%)}.btn .ic{width:18px;height:18px}.icon{width:20px;height:20px;stroke-width:1.8;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.topline{height:35px;background:linear-gradient(90deg,#10202d,#193244);color:#d5e1e8;font-size:11px;letter-spacing:.02em}.topline-inner{height:100%;display:flex;justify-content:space-between;align-items:center}.topline a{display:flex;align-items:center;gap:8px}.topline a:hover{color:#fff}.topline .icon{width:15px;height:15px;color:#78c9e7}.site-header{position:sticky;z-index:80;top:0;background:rgba(255,255,255,.88);backdrop-filter:blur(22px) saturate(1.4);box-shadow:0 12px 34px rgba(12,33,49,.06);border-bottom:1px solid rgba(13,29,40,.08)}.header-row{height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.brand-icon{width:68px;height:64px;background:#101c27;border:1px solid #263d4f;border-radius:18px;display:flex;align-items:center;justify-content:center;padding:7px;overflow:hidden;box-shadow:0 14px 30px rgba(13,34,49,.08)}.brand-icon img{width:100%;height:100%;object-fit:contain}.brand-name{font-size:15px;letter-spacing:.15em;font-weight:870;line-height:1.2}.brand-name span{display:block;letter-spacing:.22em;font-size:10px;font-weight:700;color:#59707c;margin-top:5px}.main-nav{display:flex;align-items:center;gap:12px;font-weight:680;font-size:12px;color:#465764}.main-nav a{padding:11px 16px;border-radius:999px;transition:background .2s,color .2s,box-shadow .2s}.main-nav a:hover{color:#007da7;background:#f2f7fa;box-shadow:inset 0 0 0 1px #dce7ed}.header-contact{display:flex;gap:10px;align-items:center}.header-phone{font-size:12px;font-weight:800;display:flex;gap:8px;align-items:center;white-space:nowrap;padding:12px 16px;border-radius:999px;background:#f4f8fa;border:1px solid #dce6eb}.header-phone .icon{width:15px;color:#087ba6}.menu-toggle{display:none;border:1px solid var(--edge);background:#fff;border-radius:999px;height:48px;width:48px;align-items:center;justify-content:center;box-shadow:var(--shadow-soft)}.menu-toggle .icon{height:23px;width:23px}
.hero{background:linear-gradient(180deg,#f7fafc 0%,#eef4f7 100%);overflow:hidden;position:relative}.hero-grid{display:grid;grid-template-columns:50% 50%;min-height:620px}.hero-content{padding:78px 56px 58px 0;position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero-content:before{content:'';position:absolute;top:35px;left:-26px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#cfeef92a 0%,transparent 70%);z-index:-1}.hero h1{font-size:clamp(50px,5.5vw,86px);line-height:.97;letter-spacing:-.078em;font-weight:800;margin:20px 0 24px;max-width:640px}.hero h1 span{color:var(--accent);display:block}.hero-p{font-size:16px;color:#526474;line-height:1.85;max-width:500px;margin-bottom:31px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.hero-aside{display:flex;align-items:center;gap:11px;margin-top:38px;color:#536977;font-size:12px;font-weight:700;padding:13px 18px;border-radius:999px;background:#ffffff;border:1px solid #dee7eb;box-shadow:var(--shadow-soft)}.hero-aside .icon{color:#188ab3}.hero-aside .pipe{height:17px;border-left:1px solid #c9d4da}.hero-visual{position:relative;margin-right:calc((min(100vw - 76px,1240px) - 100vw)/2);min-height:620px;background:#7d8a91;border-radius:34px 0 0 34px;overflow:hidden;box-shadow:0 30px 70px rgba(8,25,40,.14)}.hero-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 44%;filter:saturate(.82) contrast(1.03)}.hero-visual:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(10,28,39,.72),transparent 47%),linear-gradient(90deg,rgba(10,28,39,.16),transparent 38%)}.hero-tag{position:absolute;z-index:2;bottom:30px;left:30px;right:30px;border:1px solid rgba(255,255,255,.38);color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;border-radius:24px;backdrop-filter:blur(14px);background:rgba(16,31,44,.42);box-shadow:0 20px 40px rgba(0,0,0,.12)}.hero-tag b{display:block;font-size:18px;letter-spacing:-.02em}.hero-tag small{font-size:11px;color:#f1f6f8;display:block;margin-bottom:5px;letter-spacing:.13em;text-transform:uppercase}.hero-tag .icon{width:28px;height:28px}
.value-strip{background:linear-gradient(90deg,#101c27,#163040);color:#fff}.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.value{display:flex;gap:14px;align-items:center;padding:28px 19px;border-right:1px solid rgba(255,255,255,.12)}.value:first-child{padding-left:0}.value:last-child{border-right:0}.value .icon{width:28px;height:28px;color:#65d0f4;flex-shrink:0}.value b{font-size:12px;display:block}.value span{font-size:11px;color:#b4c4d0;display:block;margin-top:5px}
.section{padding:93px 0}.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:45px;margin-bottom:33px}.section-header .section-title{margin-bottom:0}.section-header .section-desc{max-width:340px;margin:0}.services{background:#fff}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.service-card{border-radius:22px;border:1px solid var(--edge);background:#fff;overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s;box-shadow:0 10px 28px rgba(12,31,46,.04)}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#cfdee6}.service-image{height:213px;position:relative;background:#d2dae0;overflow:hidden}.service-image img{width:100%;height:100%;object-fit:cover;filter:saturate(.84);transition:transform .45s}.service-card:hover img{transform:scale(1.05)}.service-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#10253655,transparent 50%)}.service-number{position:absolute;z-index:2;left:17px;bottom:15px;font-size:13px;color:#fff;letter-spacing:.13em;font-weight:800}.service-body{padding:24px 24px 25px}.service-body h3{font-size:21px;letter-spacing:-.035em;line-height:1.18;margin:0 0 12px}.service-body p{font-size:13px;line-height:1.72;color:#64727c;min-height:46px;margin-bottom:18px}.text-link{display:inline-flex;align-items:center;gap:11px;font-size:12px;font-weight:800;color:#007fa8}.text-link .icon{width:16px;height:16px;transition:transform .2s}.text-link:hover .icon{transform:translateX(3px)}.specialties{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.specialties b{font-size:12px;color:#516472;margin-right:5px}.specialties span{border:1px solid #d7e4ea;background:#f7fafb;color:#435765;font-size:11px;padding:10px 14px;border-radius:999px}
.feature{background:var(--mist);padding:80px 0}.feature-grid{display:grid;grid-template-columns:49% 51%;align-items:center;gap:0}.feature-image{height:492px;border-radius:24px 0 0 24px;position:relative;overflow:hidden}.feature-image img{height:100%;width:100%;object-fit:cover;object-position:center}.feature-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1025367a,transparent 58%)}.photo-label{position:absolute;z-index:2;bottom:25px;left:28px;color:#fff;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}.feature-panel{background:white;min-height:492px;border-radius:0 24px 24px 0;padding:62px 58px;display:flex;flex-direction:column;justify-content:center;box-shadow:var(--shadow)}.feature-panel .section-title{font-size:46px}.feature-panel p{color:#5c6a75;line-height:1.8;font-size:14px}.feature-points{display:grid;gap:17px;margin:22px 0 25px}.feature-points div{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700}.feature-points .icon{color:#0784ae;width:19px;height:19px}
.projects{background:#fff}.project-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:250px 250px;gap:14px}.project-tile{padding:0;border:0;position:relative;overflow:hidden;border-radius:22px;background:#e0e6e9;cursor:zoom-in;text-align:left;box-shadow:0 12px 30px rgba(13,32,46,.08)}.project-tile:first-child{grid-row:span 2}.project-tile img{width:100%;height:100%;object-fit:cover;filter:saturate(.85);transition:transform .35s}.project-tile:hover img{transform:scale(1.04)}.project-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,23,33,.74),transparent 52%)}.project-label{position:absolute;bottom:21px;left:23px;right:20px;color:white;z-index:2;font-size:15px;font-weight:750}.project-label small{display:block;color:#d9ebf0;letter-spacing:.17em;text-transform:uppercase;font-size:9px;font-weight:700;margin-bottom:6px}.project-label .icon{float:right;width:19px}.project-note{font-size:12px;color:#5b6e7a;margin-top:14px}
.process{background:#f3f6f7}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:36px}.step{padding:32px;border-radius:24px;background:white;border:1px solid #e0e9ec;box-shadow:0 12px 30px rgba(13,32,46,.04)}.step-count{display:flex;align-items:center;justify-content:space-between;color:#0787b1;border-bottom:1px solid #e1eaf0;padding-bottom:25px;margin-bottom:26px}.step-count b{font-size:34px;font-weight:750;letter-spacing:-.06em}.step-count .icon{width:29px;height:29px}.step h3{font-size:19px;letter-spacing:-.03em;margin-bottom:11px}.step p{color:#5f6d77;font-size:13px;line-height:1.75;margin:0}
.faq{background:#fff;padding:85px 0}.faq-grid{display:grid;grid-template-columns:39% 1fr;gap:70px}.faq-list{border-top:1px solid var(--edge)}.faq-list details{border-bottom:1px solid var(--edge);padding:22px 0}.faq-list summary{font-size:14px;font-weight:720;cursor:pointer;list-style:none;display:flex;gap:20px;align-items:center;justify-content:space-between}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';color:#087ea8;font-size:25px;font-weight:400}.faq-list details[open] summary:after{content:'–'}.faq-list details p{font-size:13px;line-height:1.75;color:#5f6e7a;margin:15px 30px 0 0}
.contact{background:var(--night);color:white;padding:95px 0}.contact-grid{display:grid;grid-template-columns:43% 1fr;gap:80px;align-items:start}.contact .kicker{color:#91d3ea}.contact .section-title{color:white}.contact-desc{font-size:15px;color:#c1d1db;line-height:1.85;max-width:380px}.contact-way{display:flex;align-items:start;gap:15px;margin-top:31px;color:white}.contact-way .icon{color:#7ad1ef;width:24px;height:24px}.contact-way small{display:block;color:#b6c6d0;font-size:10px;letter-spacing:.13em;text-transform:uppercase;margin-bottom:6px}.contact-way b{font-size:17px;letter-spacing:-.01em}.contact-way:hover b{text-decoration:underline}.contact-card{background:#fff;color:#142331;padding:38px;border-radius:26px;box-shadow:0 30px 64px rgba(0,0,0,.18)}.contact-card h3{font-size:23px;letter-spacing:-.045em;margin:0 0 9px}.contact-card p{font-size:12px;line-height:1.65;color:#5c6c78;margin-bottom:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px}.form-field{display:grid;gap:8px}.form-field.full{grid-column:1/-1}.form-field label{font-size:11px;color:#2d4352;font-weight:800}.form-field input,.form-field textarea,.form-field select{border:1px solid #d7e1e5;background:#fcfdfd;color:#1b3040;border-radius:18px;padding:14px 15px;width:100%;font-size:12px;min-height:52px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.form-field textarea{min-height:110px;resize:vertical;border-radius:22px}.form-field input::placeholder,.form-field textarea::placeholder{color:#97a6ad}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:2px solid #7acfe9;outline-offset:1px;border-color:#53a9c5}.form-submit{width:100%;margin-top:18px}.form-disclaimer{font-size:11px;color:#667782;line-height:1.6;margin:13px 0 0}.form-status{font-size:12px;font-weight:650;min-height:20px;margin-top:12px}.form-status a{text-decoration:underline;color:#0077a4}
.footer{background:#0b1721;color:#c7d4db;padding:36px 0 29px}.footer-top{display:flex;gap:35px;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid #ffffff25}.footer .brand-name{color:#fff}.footer .brand-name span{color:#aebfc8}.footer-links{display:flex;gap:25px;font-size:12px}.footer-links a:hover{color:#80d2ee}.footer-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:21px;color:#90a4b1;font-size:11px}.whatsapp-float{position:fixed;right:24px;bottom:22px;z-index:75;background:linear-gradient(135deg,#13b45d,#07974b);color:#fff;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 16px 30px rgba(8,96,50,.30);min-height:58px;padding:0 20px;font-size:12px;font-weight:800;transition:transform .2s,box-shadow .2s}.whatsapp-float:hover{transform:translateY(-3px);background:linear-gradient(135deg,#10a454,#05883f);box-shadow:0 20px 36px rgba(8,96,50,.34)}.whatsapp-float svg{width:22px;height:22px}.dialog{border:0;border-radius:12px;background:#0c1b26;max-width:min(90vw,1000px);max-height:90vh;padding:13px;color:white;box-shadow:0 35px 100px #0009}.dialog::backdrop{background:#06131bc9;backdrop-filter:blur(7px)}.dialog-content{position:relative}.dialog img{max-width:100%;max-height:75vh;margin:auto;object-fit:contain;border-radius:5px}.dialog-actions{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 2px;gap:10px}.dialog-actions .close{margin-left:auto}.dialog button{color:#fff;border:1px solid #67808c;background:#163041;border-radius:6px;padding:8px 12px}.dialog button:hover{background:#284457}.dialog .caption{font-size:12px;color:#e9f3f6}
@media(max-width:1140px){.main-nav{gap:18px}.header-phone{display:none}.hero-grid{grid-template-columns:49% 51%}.hero h1{font-size:64px}.hero-content{padding-right:22px}.feature-panel{padding:42px}.feature-panel .section-title{font-size:41px}.contact-grid{gap:45px}}
@media(max-width:900px){.wrap{width:min(100% - 46px,1240px)}.topline{height:31px}.header-row{height:78px}.menu-toggle{display:flex;margin-left:auto}.main-nav{display:none;position:absolute;top:78px;left:16px;right:16px;background:rgba(255,255,255,.96);border:1px solid var(--edge);border-radius:22px;padding:14px 16px 18px;box-shadow:0 24px 40px rgba(20,45,64,.16);backdrop-filter:blur(18px);flex-direction:column;align-items:stretch;gap:2px}.main-nav.open{display:flex}.main-nav a{padding:12px 14px;font-size:14px}.header-contact .btn{min-height:46px;padding:10px 14px;font-size:11px}.hero-grid{min-height:510px;grid-template-columns:50% 50%}.hero-visual{margin-right:calc((min(100vw - 46px,1240px) - 100vw)/2);min-height:510px;border-radius:28px 0 0 28px}.hero-content{padding:35px 25px 35px 0}.hero h1{font-size:clamp(43px,5.7vw,61px)}.hero-p{font-size:14px;line-height:1.65}.hero-actions{gap:8px}.hero-actions .btn{font-size:11px;padding:10px 16px;min-height:48px}.hero-aside{margin-top:25px}.service-grid{grid-template-columns:repeat(2,1fr)}.value{padding:18px 12px;gap:9px}.value b{font-size:11px}.value span{font-size:10px}.value .icon{width:24px}.feature-grid{grid-template-columns:1fr 1fr}.feature-image,.feature-panel{min-height:0;height:440px}.feature-panel{padding:32px}.feature-panel .section-title{font-size:35px}.feature-points{gap:10px}.project-grid{grid-template-rows:210px 210px}.contact-grid{gap:25px;grid-template-columns:40% 1fr}.contact-card{padding:25px}.faq-grid{gap:30px}}
@media(max-width:680px){.topline a:first-child{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topline a:last-child{font-size:10px}.wrap{width:min(100% - 36px,1240px)}.header-row{height:72px}.brand-icon{width:54px;height:52px;border-radius:16px}.brand-name{font-size:12px}.brand-name span{font-size:8px}.main-nav{top:72px}.header-contact{display:none}.hero-grid{display:flex;flex-direction:column;min-height:0}.hero-content{padding:46px 0 35px}.hero-content:before{display:none}.hero h1{font-size:clamp(49px,12vw,68px);max-width:520px;margin:18px 0}.hero-p{font-size:14px}.hero-visual{margin:0 -18px;min-height:390px;border-radius:26px}.hero-visual img{object-position:center 50%}.hero-tag{left:20px;right:20px;bottom:18px}.value-grid{grid-template-columns:repeat(2,1fr)}.value{min-height:78px;border-bottom:1px solid #ffffff21}.value:nth-child(2){border-right:0}.value:nth-child(3),.value:nth-child(4){border-bottom:0}.value:first-child{padding-left:12px}.section{padding:65px 0}.section-title{font-size:39px}.section-header{display:block;margin-bottom:25px}.section-header .section-desc{margin-top:20px}.service-grid{grid-template-columns:1fr;gap:16px}.service-image{height:240px}.service-body{padding:22px}.service-body p{min-height:0}.feature{padding:57px 0}.feature-grid{display:block}.feature-image{height:310px;border-radius:22px 22px 0 0}.feature-panel{height:auto;border-radius:0 0 22px 22px;padding:32px 25px}.feature-panel .section-title{font-size:37px}.project-grid{grid-template-columns:1fr 1fr;grid-template-rows:205px 205px 205px}.project-tile:first-child{grid-row:span 2}.project-tile:last-child{grid-column:2}.project-label{bottom:14px;left:14px;font-size:12px}.steps{grid-template-columns:1fr;gap:13px}.step{padding:24px}.faq-grid{grid-template-columns:1fr;gap:18px}.faq{padding:65px 0}.contact{padding:65px 0}.contact-grid{grid-template-columns:1fr;gap:34px}.contact-desc{max-width:none}.contact-way{margin-top:16px}.contact-card{padding:24px}.footer-top,.footer-bottom{flex-direction:column;align-items:flex-start}.footer-links{flex-wrap:wrap;gap:14px}.whatsapp-float{right:13px;bottom:14px;font-size:0;width:58px;height:58px;padding:0}.whatsapp-float svg{width:29px;height:29px}}
@media(max-width:420px){.hero-actions{width:100%}.hero-actions .btn{flex:1;white-space:normal;text-align:center}.hero-visual{min-height:335px}.value{padding:15px 7px}.value span{line-height:1.3}.form-grid{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr 1fr;grid-template-rows:180px 180px 180px}.project-label{font-size:11px}.contact-card{padding:19px}.form-field.full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
