/*
 * TCC Web v1.17.3 · Commercial Navigation Focus + Quote Conversion
 * Scope: global header, HOME commercial shortcuts, /cotizar/ request form.
 */

/* --------------------------------------------------------------------------
 * Header commercial hierarchy
 * -------------------------------------------------------------------------- */
.tcc-menu--commercial { gap: 22px; }
.tcc-menu--commercial > li { position: relative; }
.tcc-menu--commercial > li > a,
.tcc-menu-services-details > summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.tcc-menu-services-details { position: relative; }
.tcc-menu-services-details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.tcc-menu-services-details > summary::-webkit-details-marker { display: none; }
.tcc-menu-services-details > summary span {
  color: #777;
  font-size: 13px;
  transform: translateY(-1px);
  transition: transform .18s ease;
}
.tcc-menu-services-details[open] > summary span { transform: rotate(180deg); }
.tcc-menu-services-details > summary:hover,
.tcc-menu-services-details > summary:focus-visible,
.tcc-menu-featured > a { color: var(--tcc-red); }
.tcc-menu-services-details > summary:focus-visible { outline: 2px solid rgba(229,37,33,.35); outline-offset: 5px; border-radius: 4px; }

.tcc-menu-services-panel {
  width: 294px;
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  z-index: 10020;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(17,17,17,.13);
}
.tcc-menu-services-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30px;
  width: 14px;
  height: 14px;
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
  background: #fff;
  transform: rotate(45deg);
}
.tcc-menu-services-panel a {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 10px;
  color: #111;
  transition: background .18s ease, color .18s ease;
}
.tcc-menu-services-panel a:hover,
.tcc-menu-services-panel a:focus-visible { background: #f5f5f5; color: #111; }
.tcc-menu-services-panel a.is-lcl { background: rgba(229,37,33,.06); }
.tcc-menu-services-panel a.is-lcl:hover,
.tcc-menu-services-panel a.is-lcl:focus-visible { background: rgba(229,37,33,.1); }
.tcc-menu-services-panel small {
  color: var(--tcc-red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}
.tcc-menu-services-panel strong { font-size: 14px; font-weight: 760; }

.tcc-menu-featured > a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--tcc-red);
  box-shadow: 0 0 0 4px rgba(229,37,33,.08);
}
.tcc-header-actions .tcc-button--header { white-space: nowrap; }

@media (max-width: 1220px) and (min-width: 1025px) {
  .tcc-header-inner { gap: 22px; }
  .tcc-brand img,
  .tcc-brand .custom-logo { width: 178px; }
  .tcc-nav-wrap { gap: 20px; }
  .tcc-menu--commercial { gap: 15px; }
  .tcc-menu--commercial > li > a,
  .tcc-menu-services-details > summary { font-size: 12.5px; }
  .tcc-header-actions { gap: 12px; }
  .tcc-button--header { padding-inline: 16px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .tcc-menu-services-details { width: 100%; }
  .tcc-menu-services-details > summary {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding: 0 2px;
    font-size: 17px;
    font-weight: 750;
  }
  .tcc-menu-services-panel {
    width: 100%;
    position: static;
    margin: 0 0 10px;
    padding: 4px 0 10px 13px;
    border: 0;
    border-left: 2px solid rgba(229,37,33,.22);
    border-radius: 0;
    box-shadow: none;
  }
  .tcc-menu-services-panel::before { display: none; }
  .tcc-menu-services-panel a { padding: 10px 12px; }
  .tcc-menu-services-panel small { font-size: 8px; }
  .tcc-menu-services-panel strong { font-size: 15px; }
  .tcc-menu-featured > a { color: var(--tcc-red) !important; }
  .tcc-header-actions .tcc-button--header { order: -1; }
}

/* --------------------------------------------------------------------------
 * HOME: turn the four trust cells into commercial service shortcuts.
 * -------------------------------------------------------------------------- */
.tcc-hero-commercial-links a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-right: 1px solid var(--tcc-border);
  color: #111;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  transition: color .18s ease, background .18s ease;
}
.tcc-hero-commercial-links a:last-child { border-right: 0; }
.tcc-hero-commercial-links a:hover,
.tcc-hero-commercial-links a:focus-visible { color: var(--tcc-red); background: rgba(229,37,33,.04); }

@media (max-width: 820px) {
  .tcc-hero-commercial-links a:nth-child(2) { border-right: 0; }
  .tcc-hero-commercial-links a:nth-child(-n+2) { border-bottom: 1px solid var(--tcc-border); }
}

/* --------------------------------------------------------------------------
 * /cotizar/ · direct quote request
 * -------------------------------------------------------------------------- */
.tcc-quote-request {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  background:
    radial-gradient(circle at 84% 18%, rgba(229,37,33,.06), transparent 25%),
    #f7f7f7;
  scroll-margin-top: 94px;
}
.tcc-quote-request-grid {
  display: grid;
  grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr);
  gap: 54px;
  align-items: start;
}
.tcc-quote-request-intro {
  position: sticky;
  top: 108px;
  max-width: 410px;
}
.tcc-quote-request-intro h2 {
  margin: 13px 0 18px;
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.tcc-quote-request-intro > p {
  margin: 0 0 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.68;
}
.tcc-quote-request-steps { display: grid; gap: 0; border-top: 1px solid #dfdfdf; }
.tcc-quote-request-steps > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #dfdfdf;
}
.tcc-quote-request-steps > div > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}
.tcc-quote-request-steps p { margin: 0; }
.tcc-quote-request-steps strong { display: block; font-size: 14px; }
.tcc-quote-request-steps small { display: block; margin-top: 4px; color: #777; font-size: 12px; line-height: 1.45; }
.tcc-quote-request-note {
  margin: 22px 0;
  padding: 16px 17px;
  border: 1px solid rgba(229,37,33,.14);
  border-radius: 12px;
  background: rgba(229,37,33,.055);
}
.tcc-quote-request-note strong { display: block; color: #b8211e; font-size: 12px; }
.tcc-quote-request-note span { display: block; margin-top: 5px; color: #5f5f5f; font-size: 12px; line-height: 1.55; }
.tcc-quote-request-intro > a { color: var(--tcc-red); font-size: 13px; font-weight: 800; }

.tcc-quote-request-card {
  overflow: hidden;
  border: 1px solid #e1e1e1;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(17,17,17,.07);
}
.tcc-quote-request-card-head {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 0 26px;
  border-bottom: 1px solid #ededed;
}
.tcc-quote-request-card-head > span { color: var(--tcc-red); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.tcc-quote-request-card-head > strong { font-size: 15px; }
.tcc-quote-request-card-head > small { color: #888; font-size: 10px; }

.tcc-quote-form-status {
  display: grid;
  gap: 5px;
  padding: 18px 25px;
  border-bottom: 1px solid transparent;
}
.tcc-quote-form-status strong { font-size: 14px; }
.tcc-quote-form-status span { font-size: 12px; line-height: 1.5; }
.tcc-quote-form-status.is-success { color: #174c2a; background: #edf8f0; border-color: #d4ebda; }
.tcc-quote-form-status.is-error { color: #8d1d1a; background: #fff1ef; border-color: #f2d1cc; }

.tcc-quote-request-form { padding: 0 26px 28px; }
.tcc-quote-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tcc-quote-form-section { margin: 0; padding: 28px 0 30px; border: 0; border-bottom: 1px solid #ededed; }
.tcc-quote-form-section legend {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 0;
}
.tcc-quote-form-section legend > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.tcc-quote-form-section legend small {
  display: block;
  margin-bottom: 3px;
  color: var(--tcc-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}
.tcc-quote-form-section legend strong { display: block; font-size: 18px; }
.tcc-quote-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.tcc-quote-form-grid--measure { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tcc-quote-field { min-width: 0; display: grid; gap: 7px; }
.tcc-quote-field--wide { grid-column: 1 / -1; }
.tcc-quote-field > span { color: #303030; font-size: 11px; font-weight: 780; }
.tcc-quote-field input,
.tcc-quote-field select,
.tcc-quote-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.tcc-quote-field textarea { min-height: 86px; resize: vertical; }
.tcc-quote-field input:focus,
.tcc-quote-field select:focus,
.tcc-quote-field textarea:focus { border-color: rgba(229,37,33,.68); box-shadow: 0 0 0 3px rgba(229,37,33,.08); }
.tcc-quote-field input::placeholder,
.tcc-quote-field textarea::placeholder { color: #a1a1a1; }

.tcc-quote-privacy {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 22px 0;
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}
.tcc-quote-privacy input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--tcc-red); }
.tcc-quote-privacy a { color: var(--tcc-red); text-decoration: underline; }
.tcc-quote-form-submit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 4px;
}
.tcc-quote-form-submit strong { display: block; font-size: 12px; }
.tcc-quote-form-submit > div > span { display: block; max-width: 390px; margin-top: 4px; color: #777; font-size: 10px; line-height: 1.45; }
.tcc-quote-form-submit .tcc-button { border: 0; cursor: pointer; }

@media (max-width: 980px) {
  .tcc-quote-request { padding: 80px 0; }
  .tcc-quote-request-grid { grid-template-columns: 1fr; gap: 34px; }
  .tcc-quote-request-intro { position: static; max-width: 740px; }
  .tcc-quote-request-steps { grid-template-columns: repeat(3,1fr); border: 1px solid #dedede; border-radius: 14px; overflow: hidden; }
  .tcc-quote-request-steps > div { grid-template-columns: 30px 1fr; padding: 15px; border: 0; border-right: 1px solid #dedede; }
  .tcc-quote-request-steps > div:last-child { border-right: 0; }
}

@media (max-width: 680px) {
  .tcc-quote-request { padding: 64px 0; scroll-margin-top: 76px; }
  .tcc-quote-request-intro h2 { font-size: 34px; }
  .tcc-quote-request-steps { grid-template-columns: 1fr; }
  .tcc-quote-request-steps > div { border-right: 0; border-bottom: 1px solid #dedede; }
  .tcc-quote-request-steps > div:last-child { border-bottom: 0; }
  .tcc-quote-request-card { border-radius: 15px; }
  .tcc-quote-request-card-head { min-height: 0; grid-template-columns: 1fr; gap: 5px; padding: 19px 18px; }
  .tcc-quote-request-card-head > small { margin-top: 2px; }
  .tcc-quote-request-form { padding: 0 18px 22px; }
  .tcc-quote-form-section { padding: 24px 0; }
  .tcc-quote-form-grid,
  .tcc-quote-form-grid--measure { grid-template-columns: 1fr; }
  .tcc-quote-field--wide { grid-column: auto; }
  .tcc-quote-form-submit { grid-template-columns: 1fr; }
  .tcc-quote-form-submit .tcc-button { width: 100%; justify-content: space-between; }
  .tcc-quote-form-status { padding: 16px 18px; }
}
