/* ===================================================
   HP Hidráulica — one-page
   Paleta: negro / rojo / blanco
   =================================================== */

:root {
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --red: #d81f26;
  --red-dark: #a5171c;
  --white: #ffffff;
  --grey-100: #f4f4f4;
  --grey-400: #8a8a8a;
  --grey-700: #3d3d3d;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: var(--black);
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; fill: currentColor; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px; flex-wrap: wrap;
}
.brand { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.06em; color: var(--white); }
.brand span { color: var(--red); }

.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey-400); padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--white); border-color: var(--red); }

.header-contact { display: flex; align-items: center; gap: 16px; }
.header-contact a {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--grey-400);
}
.header-contact a:hover { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.85rem; padding: 12px 22px; border-radius: 2px;
  transition: background .15s, transform .1s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border: 1px solid var(--grey-400); color: var(--white); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* -------------------- Hero -------------------- */
.hero { background: var(--black); color: var(--white); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--red); font-family: var(--font-display); letter-spacing: 0.14em; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; margin-bottom: 18px; }
.hero p { color: var(--grey-400); font-size: 1.05rem; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-strip img { height: 130px; width: 100%; object-fit: cover; border-radius: 3px; border: 1px solid var(--grey-700); }

/* -------------------- Sections -------------------- */
section { padding: 44px 0; scroll-margin-top: 80px; }
.section-alt { background: var(--grey-100); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--red-dark); }
.section-head h2 { font-size: 2rem; }
.divider { height: 4px; width: 64px; background: var(--red); margin-bottom: 18px; }

/* -------------------- Info / horarios -------------------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.info-card { background: var(--white); border: 1px solid #e6e6e6; border-left: 4px solid var(--red); padding: 24px; border-radius: 2px; }
.info-card h4 { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--grey-400); margin-bottom: 10px; }
.info-card p { margin: 0; color: var(--charcoal); }

.hours-table { width: auto; border-collapse: collapse; border-spacing: 0; background: var(--white); margin: 0; }
.hours-table tr { text-align: left; }
.hours-table td { text-align: left; vertical-align: top; padding: 10px 0; font-size: 0.95rem; border-bottom: 1px solid #e6e6e6; }
.hours-table td:first-child { padding-right: 28px; font-family: var(--font-display); letter-spacing: 0.04em; }
.hours-table tr:last-child td { border-bottom: none; }

/* -------------------- About -------------------- */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-card { background: var(--white); border-radius: 3px; overflow: hidden; border: 1px solid #e6e6e6; }
.about-card img { height: 200px; object-fit: cover; width: 100%; }
.about-card p { padding: 20px; margin: 0; color: var(--grey-400); }

/* -------------------- Process -------------------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.process-step { position: relative; padding-top: 8px; border-top: 2px solid var(--red); }
.process-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--red); line-height: 1; margin-bottom: 10px; }
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--grey-400); margin: 0; }

/* -------------------- Value props -------------------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card { padding: 26px; border: 1px solid var(--grey-700); border-radius: 2px; }
.value-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: var(--grey-400); margin: 0; font-size: 0.92rem; }

/* -------------------- Testimonials -------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.testimonial { background: var(--white); border: 1px solid #e6e6e6; padding: 22px; border-radius: 2px; }
.testimonial p { font-style: italic; color: var(--grey-700); margin: 0 0 14px; }
.testimonial-author { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; }
.testimonial-role { color: var(--grey-400); font-size: 0.8rem; }

/* -------------------- Store CTA -------------------- */
.store-cta {
  background: var(--charcoal); color: var(--white); border-radius: 4px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.store-cta p { color: var(--grey-400); margin: 6px 0 0; max-width: 46ch; }

/* -------------------- Contact -------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--white); border: 1px solid #e6e6e6; border-radius: 3px; padding: 28px; margin-bottom: 20px; text-align: left; }
.contact-card h3 { font-size: 1rem; letter-spacing: 0.04em; }
.map-frame { border: 1px solid #e6e6e6; border-radius: 3px; overflow: hidden; min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--black); color: var(--grey-400); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 0.9rem; color: var(--grey-400); }
.footer-grid a:hover { color: var(--red); }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  border: 1px solid var(--grey-700); width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  color: var(--grey-400);
}
.social-row a:hover { border-color: var(--red); color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--grey-700); padding-top: 18px; font-size: 0.8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* -------------------- Floating WhatsApp -------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-contact { display: none; }

  .header-bar { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 16px 0; }
  .brand { font-size: 1.7rem; }
  .main-nav ul { justify-content: center; gap: 14px 20px; row-gap: 8px; }
  .main-nav a { font-size: 0.78rem; }
  .hero { padding: 32px 0 40px; }
  section { padding: 40px 0; }
  .section-head { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
