/* Caeiro Energy: additions to the existing shared design. */
.wordmark {
  width: 178px;
  color: var(--deep);
  line-height: 1;
}
.wordmark:hover { color: var(--deep); }
.wordmark strong {
  display: block;
  font: 700 22px/1 Roboto, Arial, sans-serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.wordmark strong span { color: var(--orange); }
.wordmark small {
  display: block;
  margin-top: 8px;
  color: #607381;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .065em;
  white-space: nowrap;
}
.site-header nav { gap: 18px; font-size: 11px; }
.button.primary { background: linear-gradient(135deg, #b84513, #a63a0b); }
.button.primary:hover { background: linear-gradient(135deg, #a83d0d, #913007); }
.hero-content { max-width: 700px; }
.hero-content > p:not(.kicker) { max-width: 540px; }
.hero-actions { max-width: 700px; }
.hero-actions .button { gap: 12px; }
.hero-actions .button.outline-white { background: #082e4ae6; }
.hero-actions .button.outline-white:hover { background: #124664; }
.wide-banner .container { position: relative; }
.form-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.form-section > div:first-child { padding-top: 12px; }
.form-section > div:first-child p:not(.kicker) { color: var(--muted); }
.request-form { scroll-margin-top: 120px; }
.request-form label { font-size: 13px; }
.request-form input,
.request-form select,
.request-form textarea { font-size: 15px; }
.request-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
.request-form .consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}
.request-form .consent span { color: inherit; }
.request-form .form-note {
  font-size: 12px;
  line-height: 1.6;
}
.draft-status {
  margin-top: 16px;
  padding: 14px;
  border-left: 3px solid #348051;
  border-radius: 4px;
  background: #edf8f0;
  color: #1d5430;
  font-size: 13px;
  line-height: 1.6;
}
.draft-status a { color: #164b29; font-weight: 700; text-decoration: underline; }
[data-delivery-fields][hidden], .draft-status[hidden] { display: none; }
.mobile-actions { display: none; }
.noscript-note {
  padding: 14px 24px;
  background: #eef4f7;
  text-align: center;
}
.noscript-note a { color: var(--blue); text-decoration: underline; }

@media (max-width: 1150px) {
  .wordmark { width: 153px; }
  .wordmark strong { font-size: 20px; }
  .wordmark small { font-size: 6px; }
  .site-header nav { gap: 12px; font-size: 10px; }
  .form-section { gap: 45px; }
}
@media (max-width: 900px) {
  .site-header nav { font-size: 13px; }
  .wordmark { width: 166px; }
  .hero-content { max-width: 610px; }
  .form-section { gap: 34px; }
}
@media (max-width: 640px) {
  .hero-content { padding-bottom: 64px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 320px; }
  .hero-actions .button { justify-content: space-between; }
  .form-section { grid-template-columns: 1fr; gap: 20px; }
  .form-section > div:first-child { padding-top: 0; }
  .request-form label { font-size: 12px; }
  .request-form input,
  .request-form select,
  .request-form textarea { font-size: 16px; }
  .request-form .consent { font-size: 12px; }
  .request-form .form-note { font-size: 12px; }
  .whatsapp-float { display: none; }
  .mobile-actions {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #dce4e9;
    box-shadow: 0 -5px 22px #062e4b1a;
  }
  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px;
    border-radius: 5px;
    background: #eaf1f5;
    color: var(--deep);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
  }
  .mobile-actions a:first-child { background: #e3f6e8; color: #126431; }
  .mobile-actions a:nth-child(2) { background: #b84513; color: #fff; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .back-top { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .wordmark { width: 150px; }
  .wordmark strong { font-size: 19px; }
  .mobile-actions a { font-size: 10px; }
}

/* Compact, more legible navigation. */
html { scroll-padding-top: 88px; }
.utility { font-size: 12px; }
.utility > .container { padding-top: 6px; padding-bottom: 6px; }
.utility .container > div { gap: 20px; }
.header-inner { min-height: 72px; gap: 24px; }
.wordmark { width: 190px; }
.wordmark strong::before {
  display: inline-block;
  width: 4px;
  height: .85em;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--orange);
  content: "";
}
.wordmark small { margin-top: 6px; font-size: 8px; letter-spacing: .055em; }
.site-header nav { gap: 4px; font-size: 14px; font-weight: 600; }
.site-header nav > a:not(:last-child) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 8px;
  border: 0;
  border-radius: 8px;
  color: #314a5b;
  transition: color .2s, background .2s;
}
.site-header nav > a[aria-current]:not(:last-child) {
  background: #edf4f8;
  color: var(--deep);
}
.site-header nav > a:not(:last-child):hover { background: #f1f6f8; color: var(--blue); }
.site-header nav > a:not(:last-child):after {
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 2px;
}
.site-header nav > a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  margin-left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #a83c0d;
  color: #fff;
  box-shadow: 0 5px 15px #a83c0d24;
}
.site-header nav > a:last-child:hover { background: #8f3008; color: #fff; }
.site-header nav > a:last-child[aria-current="page"] { box-shadow: 0 0 0 3px #f7d1bb; }
.nav-contact-arrow { font-size: 15px; line-height: 1; }
.request-form { scroll-margin-top: 88px; }

@media (max-width: 1150px) {
  .wordmark { width: 175px; }
  .wordmark strong { font-size: 20px; }
  .wordmark small { font-size: 8px; }
  .site-header nav { gap: 2px; font-size: 13px; }
  .site-header nav > a:not(:last-child) { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 1050px) {
  .header-inner { min-height: 70px; position: relative; }
  .wordmark { width: 178px; }
  .wordmark strong { font-size: 21px; }
  .wordmark small { font-size: 8px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid #d4e2e9;
    border-radius: 9px;
    background: #f4f8fa;
    color: var(--deep);
    font-size: 13px;
    font-weight: 700;
  }
  .menu-toggle span { font-size: 16px; line-height: 1; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--deep); background: var(--deep); color: #fff; }
  .site-header nav {
    display: none;
    position: absolute;
    left: -32px;
    right: -32px;
    top: 70px;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px 32px 23px;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 14px 25px #0a355315;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    font-size: 14px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav > a:not(:last-child) { min-height: 44px; padding: 11px 12px; }
  .site-header nav > a:not(:last-child):after { right: auto; bottom: 5px; left: 12px; width: 28px; }
  .site-header nav > a:last-child { min-height: 44px; margin: 8px 0 0; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .site-header nav { left: -20px; right: -20px; padding: 10px 20px 22px; }
  .utility > .container { gap: 8px; padding-top: 6px; padding-bottom: 6px; font-size: 10px; }
  .utility .container > span { max-width: 165px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .wordmark { width: 163px; }
  .wordmark strong { font-size: 19px; }
  .wordmark small { font-size: 8px; }
  .utility .container > span { max-width: 152px; font-size: 9px; }
}
