:root {
  --ink: #111827;
  --muted: #5e6b7e;
  --line: #dfe6ef;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #2f89e8;
  --blue-dark: #0f5fb2;
  --orange: #f47b32;
  --charcoal: #14191f;
  --steel: #e7edf4;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 4vw, 56px);
  color: #d9e7f8;
  background: #10151b;
  font-size: 0.9rem;
  font-weight: 700;
}

.top-bar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.top-bar a,
.top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar a:hover {
  color: var(--white);
}

.top-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--orange);
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.86);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--charcoal);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #3b4657;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-dark);
  background: rgba(47, 137, 232, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.88) 0%, rgba(8, 13, 19, 0.68) 42%, rgba(8, 13, 19, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 13, 19, 0.18) 0%, rgba(8, 13, 19, 0.52) 100%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 86px 0 110px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.hero-actions,
.cta-band,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark-text {
  color: var(--blue-dark);
  border-color: rgba(47, 137, 232, 0.28);
  background: rgba(47, 137, 232, 0.08);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0;
}

.intro-strip,
.cta-band,
.process,
.industries {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.intro-strip p,
.page-hero p,
.split-panel p,
.process li,
.catalog-item p,
.service-grid p,
.about-layout p,
.industries p,
.contact-card,
.quote-form label {
  color: var(--muted);
}

.product-preview,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.service-grid article,
.values article,
.contact-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.05);
}

.product-card {
  padding: 18px;
}

.product-link-card {
  display: block;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-link-card:hover,
.product-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(47, 137, 232, 0.55);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
}

.product-link-card:focus-visible {
  outline: 3px solid rgba(47, 137, 232, 0.28);
  outline-offset: 3px;
}

.product-image,
.catalog-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #e8eef6;
  object-fit: cover;
}

.product-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}

.catalog-image {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 230px;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.split,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.split-panel {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
}

.split-panel.dark {
  color: var(--white);
  background: linear-gradient(135deg, #111827, #1b2735);
}

.split-panel.light {
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-grid,
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid div {
  min-height: 190px;
  padding: 22px;
  border-left: 4px solid var(--blue);
  background: var(--white);
}

.feature-number,
.service-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 800;
}

.cta-band {
  width: min(1180px, calc(100% - 36px));
  margin-bottom: 74px;
  padding: 36px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #111827, #203c5b);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-actions {
  justify-content: flex-start;
}

.page-hero {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 48px;
}

.page-hero.compact {
  padding-bottom: 28px;
}

.page-hero.visual-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  width: 100%;
  min-height: 430px;
  margin: 0;
  padding: clamp(86px, 12vw, 128px) clamp(18px, 7vw, 96px) clamp(58px, 9vw, 92px);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.page-hero.visual-hero::before,
.page-hero.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero.visual-hero::before {
  background-image: var(--hero-bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.page-hero.visual-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.9) 0%, rgba(8, 13, 19, 0.7) 48%, rgba(8, 13, 19, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 13, 19, 0.18), rgba(8, 13, 19, 0.54));
}

.page-hero.visual-hero h1,
.page-hero.visual-hero p {
  width: min(980px, 100%);
}

.page-hero.visual-hero h1 {
  color: var(--white);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.34);
}

.page-hero.visual-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.products-hero {
  --hero-bg: url("../images/products/fittings-adapters.jpg");
}

.services-hero {
  --hero-bg: url("../images/products/hydraulic-hoses.jpg");
}

.about-hero {
  --hero-bg: url("../images/industrial-hose-banner.jpg");
}

.contact-hero {
  --hero-bg: url("../images/products/pneumatic-components.jpg");
}

.page-hero h1 {
  max-width: 980px;
  color: var(--charcoal);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.08rem;
}

.catalog {
  display: grid;
  gap: 18px;
}

.catalog-item {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  scroll-margin-top: 96px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: #344054;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 10px 0 0 var(--orange);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article,
.values article {
  padding: 24px;
}

.service-grid h2 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.values h3 {
  font-size: 1.18rem;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--steel);
}

.service-grid .service-icon {
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #d45c19);
}

.process {
  align-items: start;
}

.process ol {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.industries {
  align-items: start;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.quote-form .full-field,
.quote-form .button,
.quote-form .form-note,
.quote-form .form-status,
.quote-form .honeypot {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 137, 232, 0.2);
  border-color: var(--blue);
}

.contact-card {
  padding: 28px;
}

.contact-card dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

.contact-card dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--charcoal);
  font-weight: 800;
}

.contact-card dd {
  margin: 0;
}

.phone-list {
  display: grid;
  gap: 4px;
}

.phone-list a,
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.inline-contact-icon,
.footer-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 0.25em;
  fill: currentColor;
}

.footer-contact .footer-icon {
  color: var(--orange);
}

.contact-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-actions {
  margin-top: 24px;
}

.whatsapp-button {
  gap: 9px;
  color: var(--white);
  background: #128c4a;
}

.contact-card .whatsapp-button,
.contact-card .whatsapp-button:hover,
.contact-card .whatsapp-button:focus-visible {
  color: var(--white);
}

.whatsapp-button:hover {
  background: #0f7a40;
}

.whatsapp-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 0;
}

.map-section > div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-frame {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 8px;
  background: var(--steel);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.role-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--steel);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.value-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.form-note,
.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.form-note {
  color: #435166;
  background: #eef4fb;
}

.form-status {
  display: none;
  color: #14532d;
  background: #dcfce7;
}

.form-status.show {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: 28px;
  padding: 48px clamp(18px, 4vw, 56px) 24px;
  color: #cbd5e1;
  background: #10151b;
}

.site-footer img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.site-footer .footer-contact a,
.site-footer .footer-contact span {
  display: flex;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-credit a {
  display: inline;
  color: var(--white);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--white);
  background: #128c4a;
  box-shadow: 0 18px 42px rgba(18, 140, 74, 0.35);
  font-weight: 800;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: var(--white);
  background: #0f7a40;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(18, 140, 74, 0.3);
  outline-offset: 4px;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .product-preview,
  .service-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .about-layout,
  .contact-layout,
  .map-section,
  .intro-strip,
  .cta-band,
  .process,
  .industries {
    grid-template-columns: 1fr;
  }

  .catalog-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .top-bar-location {
    display: none;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand span {
    max-width: 180px;
    white-space: normal;
    line-height: 1.15;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 13, 19, 0.86), rgba(8, 13, 19, 0.74));
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 90px;
  }

  .product-preview,
  .service-grid,
  .feature-grid,
  .values,
  .quote-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quote-form .full-field,
  .quote-form .button {
    grid-column: auto;
  }

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 520px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
