/* STEP 01: shared components only. Do not reset page typography or layout. */
.header { padding-top: clamp(24px, 2.2vw, 32px); padding-bottom: clamp(14px, 1.4vw, 20px); }
.header .logo {
  width: auto;
  max-width: 230px;
  padding-top: 0;
  padding-left: 0;
}
.header .logo img { display: block; width: min(210px, 100%); height: auto; }
.header .info { min-height: 32px; margin-bottom: 6px; }
.header .nav { padding-top: 0; }
.header .info .search input { font-size: 14px; min-width: 190px; height: 36px; }
.header .info .search #searchbtn {
  position: absolute; top: 0; right: 0; width: 44px; height: 36px;
  padding: 0; border: 0; cursor: pointer;
  background: transparent url('../images/search.png') no-repeat center;
  background-size: 16px;
}
.header .nav li a { font-size: max(14px, .17rem); }
.header .nav li:focus-within > .subnav { display: block !important; }
.header a:focus-visible, .header button:focus-visible,
#menu a:focus-visible, #menu button:focus-visible, #menu input:focus-visible,
.footer a:focus-visible, .footer button:focus-visible,
#cookieDiv a:focus-visible, #cookieDiv button:focus-visible {
  outline: 3px solid #7df7ff; outline-offset: 3px;
}
#menu a:focus-visible, #menu button:focus-visible, #menu input:focus-visible,
#cookieDiv a:focus-visible, #cookieDiv button:focus-visible { outline-color: #b52d45; }
.phone-nav {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  text-align: center; cursor: pointer;
}
.phone-nav svg { width: 24px; }
#menu { background: #fff; transition: none; }
#menu .close { border: 0; cursor: pointer; }
#menu .menu-expand {
  display: block; width: 48px; height: 48px; border: 0; cursor: pointer;
  position: absolute; top: 0; right: 0; z-index: 4;
  background: transparent url('../images/arrow1.png') no-repeat center;
  background-size: 13px;
}
#menu li.active > .menu-expand { background-image: url('../images/arrow2.png'); }
#menu .search .btn { min-width: 44px; min-height: 44px; cursor: pointer; }
#menu .search .form-control { min-height: 44px; }

.footer { font-size: 14px; line-height: 1.5; padding: 56px 0 38px; }
.footer .container {
  display: grid; grid-template-columns: 1.05fr .86fr 1fr 1.35fr;
  gap: 20px; padding: 0 34px; align-items: start;
}
.footer .left, .footer .link, .footer .link1, .footer .contact {
  float: none; width: auto; min-width: 0; padding: 0;
}
.footer .left p { padding-left: 0; }
.footer .left p img { display: block; max-width: min(230px, 100%); height: auto; }
.footer p.copy { font-size: 14px; line-height: 1.5; margin-top: 28px; }
.footer h3 { font-size: 21px; line-height: 1.3; letter-spacing: .02em; }
.footer .link ul { padding-top: 20px; }
.footer .link li { margin-bottom: 12px; }
.footer .link li a { padding-left: 24px; font-size: 14px; line-height: 1.45; }
.footer .link li:before { width: 14px; }
.footer .contact p { font-size: 14px; line-height: 1.55; margin-top: 18px; padding-left: 30px; overflow-wrap: anywhere; }
.footer .contact p img { left: 0; top: 2px; max-width: 20px; }
.footer .shhc-compliance { margin-top: 24px; }
.footer .shhc-compliance h3 { font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
.footer .shhc-compliance a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer .shhc-compliance p { padding-left: 0; margin-top: 8px; font-size: 13px; line-height: 1.5; }
.footer .shhc-cookie-settings {
  margin-top: 18px; padding: 8px 0; color: #fff; background: none;
  border: 0; text-decoration: underline; text-underline-offset: 3px;
  font: inherit; cursor: pointer;
}
#mapa { margin: 18px 0 0; }
#mapa a { margin: 0; font-size: 15px; line-height: 1.5; white-space: nowrap; }

.shhc-consent-decided #cookieDiv { display: none; }
#cookieDiv { padding: 18px; max-width: 400px; border-radius: 14px; }
#cookieDiv .left { padding: 0; }
#cookieDiv .left h4 { font-size: 17px; line-height: 1.35; padding-bottom: 8px; }
#cookieDiv .left p { font-size: 14px; line-height: 1.5; }
#cookieDiv .shm p:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
#cookieDiv .privacy { grid-column: 1 / -1; margin: 0 0 2px; font-size: 14px; }
#cookieDiv .a-01 {
  display: block; width: 100%; min-height: 44px; margin: 0; padding: 8px 10px;
  color: #333; background: #fff; border: 2px solid #333; border-radius: 8px;
  line-height: 1.3; font: inherit; font-size: 14px; cursor: pointer;
}
#cookieDiv .a-03 { background: #333; color: #fff; }
#cookieDiv .a-01:hover { background: #333; color: #fff; }
#cookieDiv .a-03:hover { background: #202020; }

/* Explicit button classes for future shared actions; the approved homepage CTA stays scoped. */
.shhc-button-primary, .shhc-button-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: 2px;
  font: 600 15px/1.4 Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.shhc-button-primary { color: #fff; background: #b52d45; border: 1px solid #b52d45; }
.shhc-button-primary:hover { background: #98253a; border-color: #98253a; }
.shhc-button-secondary { color: #b52d45; background: #fff; border: 1px solid #b52d45; }
.shhc-text-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) and (min-width: 993px) {
  .header .logo img { width: 165px; }
  .header .nav li { padding-left: 10px; }
  .footer .container { gap: 14px; padding: 0 26px; }
  .footer h3 { font-size: 19px; }
}
@media (max-width: 992px) {
  .header { padding-top: 6px; padding-bottom: 6px; }
  .header .logo { max-width: 180px; }
  .header .logo img { width: 135px; }
  .phone-nav { top: 4px; }
  .footer .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer .link { display: block; }
  .footer .contact { padding-top: 0; }
  .footer .left p img { width: 200px; }
  .footer .contact p { padding-left: 30px; }
}
@media (max-width: 600px) {
  .header .logo img { width: 135px; }
  .footer { padding: 32px 0; }
  .footer .container { grid-template-columns: 1fr; gap: 25px; padding: 0 18px; }
  .footer .left, .footer .link, .footer .link1, .footer .contact { width: 100%; }
  .footer .link ul { padding-top: 10px; }
  .footer .link:not(.link1) { display: none; }
  .footer .link li { margin-bottom: 8px; }
  .footer .contact { padding-top: 0; }
  .footer h3 { font-size: 18px; }
  #mapa { display: block; }
  #cookieDiv { width: 100%; max-width: none; border-radius: 14px 14px 0 0; }
}
