:root {
  --cl-blue-950: #214a70;
  --cl-blue-900: #2b5d88;
  --cl-blue-800: #336997;
  --cl-blue-700: #4479a6;
  --cl-blue-100: #eef4f8;

  --cl-copper-700: #b87330;
  --cl-copper-600: #d18e49;
  --cl-copper-500: #dba361;
  --cl-copper-100: #f8efe4;

  --cl-ink: #1f2e3a;
  --cl-text: #263746;
  --cl-muted: #657582;
  --cl-line: #dce3e8;
  --cl-soft: #f5f4ef;
  --cl-white: #ffffff;

  --shadow-soft: 0 18px 50px rgba(16, 43, 61, 0.10);
  --shadow-card: 0 12px 32px rgba(16, 43, 61, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --font-heading: "Gineso Soft Condensed", "Gineso Soft Cond Bold", "Gineso Soft Condensed Bold", "Gineso Soft", "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Roboto", "Meiryo UI", Meiryo, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cl-text);
  background: var(--cl-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Typography: Climatrol reference
   Headings use Gineso Soft Condensed when available; Barlow Condensed is the loaded fallback.
   Body copy uses Roboto, which is the closest match to the Elementor-era reference pages. */
h1, h2, h3,
.eyebrow,
.card span,
.service-list span,
.manufacturer-card span,
.contact-card span,
.site-footer h3 {
  font-family: var(--font-heading);
}

p,
.hero-copy,
.contact-card p,
.contact-card a,
input,
textarea,
label {
  font-family: var(--font-body);
}


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 4px solid var(--cl-copper-600);
  border-bottom: 1px solid rgba(223, 229, 232, 0.92);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; }
.brand-logo { width: 118px; height: auto; display: block; object-fit: contain; }
.brand-fallback {
  display: none;
  align-items: center;
  color: var(--cl-blue-800);
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--cl-blue-800); font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-nav a { position: relative; text-decoration: none; opacity: 0.88; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--cl-copper-600); transition: width 0.22s ease; }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; border: 1px solid var(--cl-line); background: var(--cl-white); color: var(--cl-blue-900); border-radius: 12px; padding: 9px 12px; font-size: 22px; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; color: var(--cl-white); background: var(--cl-blue-950); }
.hero-media, .hero-media img, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .page-hero img { object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33, 74, 112, 0.94), rgba(33, 74, 112, 0.72) 45%, rgba(33, 74, 112, 0.20)), linear-gradient(0deg, rgba(33, 74, 112, 0.35), rgba(16, 43, 61, 0)); }
.hero-content { position: relative; z-index: 2; max-width: 920px; margin-left: max(24px, calc((100% - 1180px) / 2)); }
.eyebrow { margin: 0 0 16px; color: var(--cl-copper-600); text-transform: uppercase; font-size: 16px; line-height: 1; font-weight: 700; letter-spacing: 0.045em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 960px; margin-bottom: 28px; color: inherit; font-size: clamp(46px, 6vw, 82px); line-height: 0.98; letter-spacing: 0.01em; font-weight: 700; text-transform: uppercase; }
h2 { margin-bottom: 20px; color: var(--cl-blue-800); font-size: clamp(34px, 4vw, 56px); line-height: 1.03; letter-spacing: 0.01em; font-weight: 700; text-transform: uppercase; }
h3 { margin-bottom: 10px; color: var(--cl-blue-800); font-size: 24px; line-height: 1.15; letter-spacing: 0.008em; font-weight: 700; text-transform: uppercase; }
p { color: var(--cl-muted); font-size: 16px; line-height: 1.68; }
.hero-copy { max-width: 720px; color: rgba(255, 255, 255, 0.86); font-size: 20px; line-height: 1.64; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 25px; border: 2px solid transparent; border-radius: 999px; font-family: var(--font-body); text-decoration: none; font-weight: 700; cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cl-copper-600); color: var(--cl-white); box-shadow: 0 10px 24px rgba(209, 142, 73, 0.24); }
.btn-primary:hover { background: var(--cl-copper-700); }
.btn-secondary { color: var(--cl-white); border-color: rgba(255, 255, 255, 0.74); background: transparent; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }

/* Sections */
.section { padding: 100px 0; }
.section-soft { background: linear-gradient(180deg, var(--cl-soft), #ffffff); }
.section-intro { position: relative; }
.section-intro::before { content: ""; position: absolute; top: 0; left: max(24px, calc((100% - 1180px) / 2)); width: 92px; height: 4px; background: var(--cl-copper-600); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.section-heading { max-width: 790px; margin-bottom: 38px; }
.row-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.text-link { color: var(--cl-blue-800); font-weight: 900; text-decoration: none; border-bottom: 2px solid var(--cl-copper-600); padding-bottom: 3px; }

/* Cards */
.cards { display: grid; gap: 24px; }
.three { grid-template-columns: repeat(3, 1fr); }
.card, .solution-card, .contact-form, .contact-card { background: var(--cl-white); border: 1px solid var(--cl-line); border-radius: var(--radius-md); box-shadow: 0 10px 28px rgba(51, 105, 151, 0.07); }
.card { position: relative; padding: 32px; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 32px; width: 54px; height: 4px; background: var(--cl-copper-600); }
.card span, .service-list span { display: inline-flex; margin-bottom: 24px; color: var(--cl-copper-600); font-weight: 900; letter-spacing: 0.08em; }
.card p { margin-bottom: 0; }

/* Products / manufacturers */
.section-products { background: var(--cl-white); }
.section-products .section-heading { max-width: 840px; }
.section-products .section-heading p:not(.eyebrow) { max-width: 780px; font-size: 18px; color: var(--cl-muted); }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.manufacturer-card { min-height: 150px; display: grid; place-items: center; padding: 28px; background: var(--cl-soft); border: 1px solid var(--cl-line); border-top: 4px solid var(--cl-copper-600); border-radius: var(--radius-md); box-shadow: 0 8px 22px rgba(51, 105, 151, 0.06); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.manufacturer-card:hover { transform: translateY(-3px); border-color: rgba(201, 144, 83, 0.55); box-shadow: 0 18px 42px rgba(16, 43, 61, 0.11); }
.manufacturer-card span { color: var(--cl-blue-800); font-size: 27px; font-weight: 700; letter-spacing: 0.01em; text-align: center; text-transform: uppercase; }
.section-actions { margin-top: 34px; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.featured-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.project-card { position: relative; min-height: 310px; overflow: hidden; border-radius: var(--radius-md); background: var(--cl-blue-800); box-shadow: var(--shadow-soft); }
.project-card.large { grid-row: span 2; min-height: 642px; }
.project-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; opacity: 0.84; transition: transform 0.45s ease, opacity 0.45s ease; }
.project-card:hover img { transform: scale(1.045); opacity: 0.98; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 43, 61, 0.02) 18%, rgba(16, 43, 61, 0.90)), linear-gradient(90deg, rgba(16, 43, 61, 0.42), rgba(16, 43, 61, 0.04)); }
.project-card div { position: absolute; left: 24px; right: 24px; bottom: 23px; z-index: 2; color: var(--cl-white); }
.project-card p { margin-bottom: 8px; color: var(--cl-copper-500); font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.10em; font-weight: 900; }
.project-card h3 { margin: 0; color: var(--cl-white); }
.project-card span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.76); line-height: 1.45; }

/* Client logos */
.logo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.logo-strip img { width: 100%; height: 88px; object-fit: contain; padding: 18px; background: var(--cl-white); border: 1px solid var(--cl-line); border-radius: 16px; filter: grayscale(1); opacity: 0.74; transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease; }
.logo-strip img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.legal-note { margin-top: 18px; color: #8b969d; font-size: 13px; }

/* CTA */
.cta { padding: 82px 0; background: radial-gradient(circle at top right, rgba(209, 142, 73, 0.24), transparent 34%), var(--cl-blue-800); }
.cta-box { display: flex; justify-content: space-between; gap: 34px; align-items: center; color: var(--cl-white); }
.cta-box h2 { max-width: 760px; margin-bottom: 0; color: var(--cl-white); }

/* Page hero */
.page-hero { position: relative; min-height: 480px; display: grid; align-items: end; padding: 120px 0 78px; color: var(--cl-white); overflow: hidden; background: var(--cl-blue-950); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33, 74, 112, 0.93), rgba(33, 74, 112, 0.52)), linear-gradient(0deg, rgba(33, 74, 112, 0.25), transparent); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 930px; margin-bottom: 0; }
.product-page-hero img { opacity: 0.72; }

/* Services */
.service-list { display: grid; gap: 20px; }
.service-list article { display: grid; grid-template-columns: 90px 0.72fr 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--cl-line); }
.service-list h2 { margin-bottom: 0; font-size: 30px; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter { border: 1px solid var(--cl-line); background: var(--cl-white); color: var(--cl-blue-900); padding: 11px 16px; border-radius: 999px; font-weight: 850; cursor: pointer; transition: background 0.18s ease, color 0.18s ease, border 0.18s ease; }
.filter.active, .filter:hover { background: var(--cl-blue-800); color: var(--cl-white); border-color: var(--cl-blue-800); }
.all-projects { grid-template-columns: repeat(3, 1fr); }

/* Legacy solution cards */
.solution-card { overflow: hidden; }
.solution-card img { width: 100%; height: 240px; object-fit: cover; }
.solution-card h2, .solution-card p { padding-left: 28px; padding-right: 28px; }
.solution-card h2 { margin-top: 28px; font-size: 28px; }
.solution-card p { padding-bottom: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 52px; align-items: start; }
.contact-card { padding: 24px; margin-top: 14px; }
.contact-card span { display: block; margin-bottom: 8px; color: var(--cl-copper-600); text-transform: uppercase; letter-spacing: 0.09em; font-size: 12px; font-weight: 900; }
.contact-card p, .contact-card a { margin: 0; color: var(--cl-blue-900); font-size: 18px; font-weight: 850; text-decoration: none; }
.contact-form { padding: 30px; display: grid; gap: 18px; }
label { display: grid; gap: 8px; color: var(--cl-blue-900); font-weight: 850; }
input, textarea { width: 100%; border: 1px solid var(--cl-line); border-radius: 12px; padding: 14px 16px; font: inherit; color: var(--cl-text); background: #fbfcfc; }
input:focus, textarea:focus { outline: 2px solid rgba(201, 144, 83, 0.28); border-color: var(--cl-copper-600); }
textarea { resize: vertical; }

/* Footer */
.site-footer { padding: 66px 0 24px; background: var(--cl-blue-800); color: var(--cl-white); }
.footer-grid { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr; gap: 54px; }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, 0.68); }
.site-footer a { display: block; margin: 10px 0; text-decoration: none; }
.site-footer a:hover { color: var(--cl-white); }
.site-footer h3 { color: var(--cl-white); font-size: 16px; }
.brand-footer { display: inline-flex; width: fit-content; padding: 0; background: transparent; border-radius: 0; }
.brand-footer .brand-logo { width: 148px; }
.brand-footer .brand-fallback { color: var(--cl-white); }
.footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.50); font-size: 14px; }
.muted { color: var(--cl-muted); }

/* Responsive */
@media (max-width: 920px) {
  .site-header { padding: 15px 20px; }
  .nav-toggle { display: inline-grid; }
  .site-nav { position: absolute; top: 74px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--cl-white); border: 1px solid var(--cl-line); border-radius: 16px; box-shadow: var(--shadow-soft); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; }
  .site-nav a::after { display: none; }
  .hero { min-height: 680px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(33, 74, 112, 0.91), rgba(33, 74, 112, 0.64)); }
  .hero-content { margin: 0 auto; }
  .split, .contact-grid, .footer-grid, .service-list article { grid-template-columns: 1fr; gap: 26px; }
  .three, .all-projects, .featured-grid, .project-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card.large { min-height: 360px; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-box, .row-heading { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 30px, 1180px); }
  .brand-logo { width: 104px; }
  .brand-footer .brand-logo { width: 132px; }
  .hero { min-height: 650px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .section { padding: 70px 0; }
  .hero-copy { font-size: 18px; }
  .brand-grid { grid-template-columns: 1fr; }
  .manufacturer-card { min-height: 120px; }
  .logo-strip img { height: 78px; }
}


/* Contact page detail cards, closer to historic Climatrol graphic system */
.contact-card {
  background: #f3f3f3;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.contact-card span {
  font-size: 18px;
  letter-spacing: 0.055em;
}
.contact-card p,
.contact-card a {
  color: var(--cl-blue-800);
  font-size: 19px;
  line-height: 1.8;
  font-weight: 400;
}


/* Identity refinements based on the recovered 2022 Climatrol pages */
.site-nav,
.btn,
.text-link,
.contact-card a,
.contact-card p,
label,
input,
textarea {
  font-family: var(--font-body);
}

.brand-footer .brand-logo {
  filter: none;
  opacity: 1;
}

.site-footer .brand {
  margin-bottom: 18px;
}

.site-footer h3,
.contact-card span {
  color: var(--cl-copper-500);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* V5 — Portafolio completo por rubro */
.site-nav a[aria-current="page"] {
  color: var(--cl-blue-800);
}
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.portfolio-intro-section {
  padding-bottom: 84px;
}

.portfolio-intro {
  align-items: center;
}

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.portfolio-stats div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: var(--cl-soft);
  border-top: 4px solid var(--cl-copper-600);
}

.portfolio-stats strong {
  font-family: var(--font-heading);
  color: var(--cl-blue-800);
  font-size: 46px;
  line-height: 0.95;
  font-weight: 700;
}

.portfolio-stats span {
  margin-top: 9px;
  color: var(--cl-muted);
  font-size: 13px;
  line-height: 1.35;
}

.project-showcase-section .filters {
  margin-bottom: 38px;
}

.featured-projects {
  align-items: stretch;
}

.full-portfolio-section {
  background: var(--cl-white);
}

.portfolio-category-list {
  display: grid;
  gap: 16px;
}

.portfolio-category {
  border: 1px solid var(--cl-line);
  border-left: 5px solid var(--cl-blue-800);
  background: var(--cl-white);
  box-shadow: 0 8px 26px rgba(51, 105, 151, 0.06);
}

.portfolio-category[open] {
  border-left-color: var(--cl-copper-600);
}

.portfolio-category summary {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

.portfolio-category summary::-webkit-details-marker {
  display: none;
}

.portfolio-category summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cl-white);
  background: var(--cl-blue-800);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}

.portfolio-category[open] summary::after {
  content: "−";
  background: var(--cl-copper-600);
}

.portfolio-category summary > span:first-child {
  display: grid;
  gap: 3px;
}

.portfolio-category summary small {
  color: var(--cl-copper-700);
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-category summary strong {
  color: var(--cl-blue-800);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-count {
  margin-left: auto;
  color: var(--cl-muted);
  font-size: 14px;
  white-space: nowrap;
}

.portfolio-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0 26px 26px;
  border-top: 1px solid var(--cl-line);
}

.portfolio-entry {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--cl-line);
}

.portfolio-entry:nth-child(odd) {
  padding-right: 30px;
  border-right: 1px solid var(--cl-line);
}

.portfolio-entry:nth-child(even) {
  padding-left: 30px;
}

.portfolio-entry h3 {
  margin-bottom: 8px;
  color: var(--cl-blue-800);
  font-size: 23px;
  text-transform: uppercase;
}

.portfolio-entry p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.portfolio-source-note {
  max-width: 820px;
  margin: 28px 0 0;
  color: #82909a;
  font-size: 13px;
}

@media (max-width: 920px) {
  .portfolio-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-entry-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-entry,
  .portfolio-entry:nth-child(odd),
  .portfolio-entry:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .portfolio-stats {
    grid-template-columns: 1fr;
  }

  .portfolio-stats div {
    min-height: 108px;
  }

  .portfolio-category summary {
    min-height: 88px;
    align-items: flex-start;
    padding: 20px;
  }

  .portfolio-category summary strong {
    font-size: 25px;
  }

  .portfolio-count {
    display: none;
  }

  .portfolio-entry-grid {
    padding: 0 20px 20px;
  }
}

/* V6 updates: expanded brands and clearer projects portfolio */
.brand-grid-extended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manufacturer-card {
  align-content: center;
  gap: 10px;
}

.manufacturer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(51, 105, 151, 0.10), rgba(209, 142, 73, 0.10));
  border: 1px solid rgba(51, 105, 151, 0.12);
  color: var(--cl-blue-800);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
}

.manufacturer-type {
  margin: 0;
  color: var(--cl-text);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.gallery-note {
  max-width: 880px;
  margin: -8px 0 28px;
  color: var(--cl-muted);
  font-size: 15px;
}

.visual-projects {
  margin-top: 10px;
}

.portfolio-section .section-heading p:not(.eyebrow) {
  max-width: 880px;
}

.portfolio-list {
  display: grid;
  gap: 16px;
}

.portfolio-block {
  border: 1px solid var(--cl-line);
  border-radius: var(--radius-md);
  background: var(--cl-white);
  box-shadow: 0 10px 26px rgba(51, 105, 151, 0.06);
  overflow: hidden;
}

.portfolio-block summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  color: var(--cl-blue-900);
  font-size: 30px;
  font-weight: 700;
}

.portfolio-block summary::-webkit-details-marker {
  display: none;
}

.portfolio-block summary small {
  font-family: var(--font-body);
  color: var(--cl-muted);
  font-size: 14px;
  font-weight: 500;
}

.portfolio-content {
  padding: 0 24px 22px;
}

.portfolio-content ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.portfolio-content li {
  color: var(--cl-text);
  line-height: 1.6;
}

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

.product-line-card p {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .brand-grid-extended {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .brand-grid-extended,
  .product-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-block summary {
    font-size: 24px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-grid-extended,
  .product-lines-grid {
    grid-template-columns: 1fr;
  }

  .manufacturer-badge {
    font-size: 24px;
  }
}

/* V7 — manufacturer logos + denser home projects */
.manufacturer-grid-logos .manufacturer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 220px;
  gap: 14px;
  padding: 22px 20px;
}

.manufacturer-logo {
  width: 100%;
  max-width: 210px;
  height: 72px;
  object-fit: contain;
}

.manufacturer-grid-logos .manufacturer-card h3 {
  margin: 0;
  font-size: 22px;
  text-align: center;
}

.manufacturer-grid-logos .manufacturer-type {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-text);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

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

.home-project-grid .project-card {
  min-height: 340px;
}

@media (max-width: 1180px) {
  .manufacturer-grid-logos .manufacturer-card {
    min-height: 210px;
  }
}

@media (max-width: 920px) {
  .home-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .manufacturer-grid-logos .manufacturer-card {
    min-height: 190px;
  }

  .manufacturer-logo {
    height: 64px;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
  }
}

/* V8 — portfolio clarity and supplied project photography */
.portfolio-feature-image {
  margin: 4px 0 24px;
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  align-items: end;
  gap: 18px;
}

.portfolio-feature-image img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.portfolio-feature-image figcaption {
  padding-bottom: 4px;
  color: var(--cl-blue-800);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-block summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cl-blue-800);
  color: var(--cl-white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
}

.portfolio-block[open] summary::after {
  content: "−";
  background: var(--cl-copper-600);
}

.form-support-note {
  margin: 0;
  color: var(--cl-muted);
  font-size: 14px;
}

.form-support-note a {
  color: var(--cl-blue-800);
  font-weight: 700;
}

@media (max-width: 700px) {
  .portfolio-feature-image {
    grid-template-columns: 1fr;
  }

  .portfolio-feature-image figcaption {
    padding-bottom: 0;
  }
}

/* V9 — portfolio opened by default and project imagery */
.portfolio-feature {
  margin: 4px 0 24px;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  align-items: end;
  gap: 18px;
}

.portfolio-feature img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(51, 105, 151, 0.10);
}

.portfolio-feature-portrait img {
  object-position: center;
}

.portfolio-feature figcaption {
  padding-bottom: 8px;
  color: var(--cl-blue-800);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.portfolio-block[open] summary {
  border-bottom: 1px solid var(--cl-line);
}

.portfolio-block summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--cl-copper-600);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
}

.portfolio-block[open] summary::after {
  content: "−";
}

@media (max-width: 760px) {
  .portfolio-feature {
    grid-template-columns: 1fr;
  }

  .portfolio-feature img {
    height: 220px;
  }

  .portfolio-feature figcaption {
    padding-bottom: 0;
    font-size: 21px;
  }
}
