/* Home only: the shared navigation and other pages keep their own styles. */
.hidraoil-home {
    --hh-ink: #23382b; --hh-green: #287c46; --hh-muted: #687269;
    --hh-border: #e0e6df; --hh-soft: #f3f5ef;
    margin: 0; padding-top: var(--hs-header-height, 108px); background: #fff; color: var(--hh-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.hidraoil-home *, .hidraoil-home *::before, .hidraoil-home *::after { box-sizing: border-box; }
.hidraoil-home :is(a, button, input, textarea, select):focus-visible { outline: 3px solid #287c46; outline-offset: 4px; }
.hidraoil-home a { color: inherit; }
.hh-container { width: min(100% - 96px, 1248px); margin-inline: auto; }
#home-content :is(h1, h2, h3, p, figure, blockquote) { margin: 0; }
#home-content h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.17; letter-spacing: -.045em; }
#home-content h3 { font-weight: 600; }
#home-content a { text-decoration: none; }
#home-content svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
#home-content img { display: block; max-width: 100%; }
#home-content .hh-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--hh-green); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hh-status-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--hh-green); }
.hh-hero { padding-top: 65px; background: var(--hh-soft); }
.hh-hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 68px; }
#home-content h1 { font-size: clamp(40px, 4.1vw, 58px); font-weight: 600; letter-spacing: -.058em; line-height: 1.08; }
#home-content h1 span { display: block; margin-top: 9px; color: var(--hh-green); }
#home-content .hh-hero-intro { max-width: 490px; margin-top: 26px; color: var(--hh-muted); font-size: 16px; line-height: 1.8; }
.hh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#home-content .hh-button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .18s ease, border-color .18s ease; }
#home-content .hh-button-primary { color: #fff; background: var(--hh-ink); }
#home-content .hh-button-primary:hover { background: var(--hh-green); }
#home-content .hh-button-secondary { border-color: #d0d9ce; background: transparent; }
#home-content .hh-button-secondary:hover { background: #fff; border-color: var(--hh-green); }
#home-content .hh-hero-experience { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--hh-muted); font-size: 11px; }
.hh-hero-experience svg { color: var(--hh-green); }
#home-content .hh-hero-photo { position: relative; align-self: stretch; min-height: 412px; overflow: hidden; border-radius: 8px; background: #26382c; }
#home-content .hh-hero-photo > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; }
.hh-hero-photo::after { position: absolute; inset: 50% 0 0; content: ""; background: linear-gradient(transparent, #152319bd); pointer-events: none; }
.hh-hero-photo figcaption { position: absolute; z-index: 1; right: 26px; bottom: 28px; left: 26px; display: flex; align-items: center; gap: 14px; color: #fff; font-size: 12px; line-height: 1.5; }
.hh-photo-rule { flex: 0 0 23px; width: 23px; height: 2px; background: #8dd99b; }
.hh-photo-corner { position: absolute; z-index: 1; top: 18px; right: 18px; width: 20px; height: 20px; border-top: 1px solid #ffffff7a; border-right: 1px solid #ffffff7a; }
.hh-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; padding-block: 23px; border-top: 1px solid #dbe1d6; }
.hh-benefits > div { display: flex; align-items: center; justify-content: center; gap: 10px; color: #475a49; font-size: 11px; }
.hh-benefits > div + div { border-left: 1px solid #dbe1d6; }
.hh-benefits svg { color: var(--hh-green); }
.hh-brands { padding-block: 34px; border-bottom: 1px solid var(--hh-border); }
.hh-brands-heading, .hh-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
#home-content .hh-brands-heading .hh-eyebrow { margin-bottom: 5px; font-size: 9px; }
#home-content .hh-brands h2 { font-size: 23px; letter-spacing: -.035em; }
#home-content .hh-text-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; padding-block: 3px; color: var(--hh-green); font-size: 12px; font-weight: 600; line-height: 1.5; }
#home-content .hh-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
#home-content .hh-text-link svg { width: 17px; height: 17px; flex-basis: 17px; }
.hh-brand-logos { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; gap: 38px; margin-top: 27px; }
.hh-brand-logos a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 46px; }
#home-content .hh-brand-logos img { width: 125px; max-width: 100%; height: 35px; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .2s ease, opacity .2s ease; }
#home-content .hh-brand-logos a:hover img { filter: none; opacity: 1; }
.hh-section { padding-block: 78px; scroll-margin-top: 125px; }
#home-content .hh-section-intro { max-width: 560px; margin-top: 16px; color: var(--hh-muted); font-size: 14px; line-height: 1.8; }
.hh-section-heading { margin-bottom: 32px; }
.hh-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hh-category { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hh-border); border-radius: 7px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.hh-category:hover { border-color: #83ad8e; transform: translateY(-3px); }
.hh-category-image { display: grid; place-items: center; height: 190px; padding: 21px 23px 11px; background: #f8f9f6; }
#home-content .hh-category-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.hh-category:hover img { transform: scale(1.035); }
.hh-category-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex: 1; min-height: 80px; padding: 17px 20px; }
#home-content .hh-category h3 { font-size: 14px; line-height: 1.4; letter-spacing: -.015em; }
.hh-category-label > span { color: var(--hh-green); flex: 0 0 20px; }
.hh-services { background: var(--hh-soft); }
.hh-services-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 90px; }
.hh-service-photo { position: relative; align-self: stretch; min-height: 550px; overflow: hidden; border-radius: 8px; background: #e1e6df; }
#home-content .hh-service-photo > img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.hh-experience-note { position: absolute; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 20px; padding: 20px 23px; border-radius: 4px; background: #ffffffed; }
.hh-experience-note > span { color: var(--hh-green); font-size: 44px; line-height: 1; letter-spacing: -.06em; }
.hh-experience-note > span > span { font-size: 28px; vertical-align: top; }
#home-content .hh-experience-note p { max-width: 180px; font-size: 12px; line-height: 1.5; }
.hh-service-list { margin-block: 24px; }
.hh-service-list > div { display: flex; align-items: flex-start; gap: 18px; padding-block: 18px; border-bottom: 1px solid #dce3d7; }
.hh-service-number { padding-top: 2px; color: #7c947d; font-size: 10px; font-weight: 600; }
#home-content .hh-service-list h3 { font-size: 16px; letter-spacing: -.02em; }
#home-content .hh-service-list p { margin-top: 6px; color: var(--hh-muted); font-size: 12px; line-height: 1.75; }
.hh-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#home-content .hh-review { display: flex; flex-direction: column; padding: 25px 28px 28px; border: 1px solid var(--hh-border); border-radius: 7px; }
.hh-quote-mark { height: 43px; color: #6eaa7b; font-family: Georgia, serif; font-size: 65px; line-height: 1; }
.hh-review blockquote { flex: 1; padding-block: 14px 25px; }
#home-content .hh-review blockquote p { color: #46534a; font-size: 15px; line-height: 1.85; }
.hh-review figcaption { display: flex; flex-direction: column; gap: 5px; padding-top: 17px; border-top: 1px solid #e9ede7; }
.hh-review strong { font-size: 12px; font-weight: 650; }
.hh-review figcaption > span { color: var(--hh-muted); font-size: 10px; line-height: 1.6; }
.hh-contact { background: #edf3eb; }
.hh-contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: flex-start; gap: 85px; }
.hh-contact-copy { padding-top: 18px; }
#home-content .hh-contact h2 { font-size: clamp(27px, 2.6vw, 37px); }
#home-content .hh-contact-tip { margin-top: 25px; padding-left: 17px; border-left: 2px solid #88b18f; color: #647264; font-size: 12px; line-height: 1.8; }
.hh-contact-channels { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 30px; }
.hh-contact-location { display: flex; align-items: flex-start; gap: 10px; margin-top: 39px; font-size: 12px; font-weight: 600; line-height: 1.8; }
.hh-contact-location .hh-status-dot { margin-top: 8px; }
.hh-contact-location small { color: var(--hh-muted); font-size: 11px; font-weight: 400; }
.hh-contact-form { padding: 30px; border: 1px solid #dfe7dc; border-radius: 10px; background: #fff; }
#home-content .hh-contact-form > h3 { font-size: 22px; letter-spacing: -.035em; }
#home-content .hh-form-intro { margin-block: 5px 24px; color: var(--hh-muted); font-size: 11px; line-height: 1.7; }
.hh-contact-form :is(.container, .row, .col-sm-6) { width: 100%; margin: 0; padding: 0; }
.hh-contact-form #miFormulario { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.hh-contact-form #miFormulario > .mb-3 { min-width: 0; margin: 0; }
.hh-contact-form #miFormulario > :is(.mb-3:has(textarea), .mb-3:has(input[type="file"]), .g-recaptcha, center, .linea-transicion) { grid-column: 1 / -1; }
.hh-contact-form .hh-form-label { display: block; margin-bottom: 6px; color: #4a594d; font-size: 10px; font-weight: 550; }
.hh-contact-form .form-control, .hh-contact-form .form-select { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #dce3da; border-radius: 4px; background: #fff; color: #263a2c; box-shadow: none !important; font: 11px/1.6 system-ui, sans-serif; font-weight: 400 !important; }
.hh-contact-form :is(.form-control, .form-select):focus { border-color: #438153; outline: 2px solid #d7eadb; outline-offset: 1px; }
.hh-contact-form .form-control::placeholder { color: #8a938b; opacity: 1; }
.hh-contact-form textarea { min-height: 115px; resize: vertical; }
.hh-contact-form input[type="file"] { padding: 7px; font-size: 10px; }
.hh-contact-form input[type="file"]::file-selector-button { margin-right: 8px; padding: 5px 8px; border: 0; border-radius: 2px; background: #eaf0e7; color: var(--hh-ink); font: inherit; }
.hh-contact-form .form-label { display: block; margin-top: 7px; color: #7a867a; font-size: 9px; line-height: 1.6; }
.hh-contact-form .invalid-feedback { display: none; }
.hh-contact-form center { text-align: left; }
.hh-contact-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; margin: 2px 0 0 !important; padding: 11px 27px; border: 1px solid var(--hh-ink); border-radius: 4px; background: var(--hh-ink); color: #fff; font: 600 12px/1.5 system-ui, sans-serif !important; cursor: pointer; }
.hh-contact-form button[type="submit"]:hover { background: var(--hh-green); border-color: var(--hh-green); }
.hh-contact-form :is(.mensaje-exito, .mensaje-error) { margin-bottom: 20px; padding: 15px; border: 1px solid #a8c8ac; border-radius: 5px; background: #edf7ed; font-size: 12px; }
.hh-contact-form .mensaje-error { border-color: #d9b0a7; background: #fbf1ee; }
@media (min-width: 1600px) { #home-content h1 { font-size: 61px; } }
@media (max-width: 1199.98px) {
    .hidraoil-home { padding-top: var(--hs-header-height, 96px); }
    .hh-container { width: calc(100% - 64px); }
    .hh-hero-grid { gap: 36px; }
    #home-content h1 { font-size: clamp(37px, 4.5vw, 53px); }
    #home-content .hh-hero-photo { min-height: 390px; }
    .hh-brand-logos { gap: 22px; }
    .hh-services-grid, .hh-contact-grid { gap: 48px; }
    .hh-category-label { padding-inline: 15px; }
    .hh-category-image { height: 160px; padding: 18px; }
    .hh-review-grid { gap: 16px; }
    #home-content .hh-review { padding: 23px; }
}
@media (max-width: 899.98px) {
    .hh-hero { padding-top: 42px; }
    .hh-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    #home-content .hh-hero-copy { max-width: 650px; }
    #home-content h1 { max-width: 650px; font-size: 49px; }
    #home-content .hh-hero-intro { max-width: 550px; }
    #home-content .hh-hero-photo { min-height: 300px; }
    .hh-benefits { margin-top: 30px; gap: 12px; }
    .hh-benefits > div { font-size: 10px; }
    .hh-brands { padding-block: 28px; }
    .hh-brand-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 30px; }
    .hh-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hh-category-image { height: 195px; }
    .hh-category-label { min-height: 68px; }
    .hh-services-grid { gap: 36px; grid-template-columns: 1fr; }
    .hh-service-photo { min-height: 340px; }
    #home-content .hh-service-photo > img { object-position: 50% 58%; }
    .hh-experience-note { right: auto; left: 22px; min-width: 270px; }
    .hh-service-copy { max-width: 640px; }
    .hh-review-grid { grid-template-columns: 1fr; }
    #home-content .hh-review { padding: 24px 28px; }
    .hh-review blockquote { padding-bottom: 20px; }
    .hh-contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .hh-contact-copy { max-width: 600px; padding-top: 0; }
    .hh-contact-location { margin-top: 25px; }
}
@media (max-width: 575.98px) {
    .hh-container { width: calc(100% - 40px); }
    .hh-hero { padding-top: 33px; }
    #home-content h1 { font-size: clamp(33px, 9vw, 42px); letter-spacing: -.05em; overflow-wrap: break-word; hyphens: auto; }
    #home-content .hh-eyebrow { margin-bottom: 16px; font-size: 9px; letter-spacing: .1em; }
    #home-content .hh-hero-intro { margin-top: 20px; font-size: 14px; line-height: 1.8; }
    .hh-actions { gap: 10px; margin-top: 24px; }
    #home-content .hh-button { font-size: 11px; gap: 12px; padding: 11px 14px; min-height: 45px; }
    #home-content .hh-hero-experience { margin-top: 20px; }
    #home-content .hh-hero-photo { min-height: 250px; }
    .hh-hero-photo figcaption { left: 19px; right: 19px; bottom: 22px; font-size: 10px; }
    .hh-benefits { grid-template-columns: 1fr; gap: 14px; padding-block: 20px; }
    .hh-benefits > div { justify-content: flex-start; font-size: 11px; }
    .hh-benefits > div + div { border-left: 0; }
    .hh-brands-heading, .hh-section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
    #home-content .hh-brands h2 { font-size: 22px; }
    .hh-brand-logos { gap: 12px 18px; margin-top: 22px; }
    #home-content .hh-brand-logos img { height: 27px; }
    .hh-section { padding-block: 48px; scroll-margin-top: 110px; }
    #home-content h2 { font-size: 30px; }
    #home-content .hh-section-intro { font-size: 13px; }
    .hh-section-heading { margin-bottom: 24px; }
    .hh-categories { gap: 12px; }
    .hh-category-image { height: 140px; padding: 17px 11px 7px; }
    .hh-category-label { gap: 6px; min-height: 71px; padding: 14px 12px; }
    #home-content .hh-category h3 { font-size: 12px; line-height: 1.5; }
    #home-content .hh-category-label svg { width: 16px; height: 16px; }
    .hh-category-label > span { flex-basis: 16px; }
    .hh-service-photo { min-height: 300px; }
    .hh-experience-note { min-width: 0; right: 18px; left: 18px; bottom: 18px; padding: 16px 19px; }
    .hh-service-list { margin-block: 18px; }
    #home-content .hh-service-list h3 { font-size: 16px; }
    #home-content .hh-review { padding: 22px; }
    #home-content .hh-review blockquote p { font-size: 14px; }
    .hh-contact-form { padding: 23px 20px; }
    .hh-contact-form #miFormulario { grid-template-columns: 1fr; gap: 16px; }
    .hh-contact-form .form-control, .hh-contact-form .form-select { font-size: 16px; min-height: 45px; }
    .hh-contact-form .hh-form-label { font-size: 11px; }
    .hh-contact-form input[type="file"] { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .hidraoil-home *, .hidraoil-home *::before, .hidraoil-home *::after { transition: none !important; scroll-behavior: auto !important; }
    .hh-category:hover, .hh-category:hover img { transform: none; }
}
