/* Taller Xavier Torrescasana — Bosch Car Service · pagina "en construccio" */

:root {
  --bcs-teal: #00304B;
  --bcs-blue: #4C90CD;
  --bcs-blue-100: #003B6A;
  --bcs-red: #E20015;
  --bcs-grey: #808285;
  --font-heading: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: #1a1a1a;
  background: var(--bcs-teal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bcs-teal);
  border-bottom: 3px solid var(--bcs-blue);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.brand-logo img {
  width: 44px;
  height: 44px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--bcs-blue);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn.is-active {
  background: var(--bcs-blue);
  color: #ffffff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 20px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Velado degradado segun manual BCS: 35%-20% opacidad en zona oscura (superior)
   y 5%-0% en zona clara (inferior) */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 10, 20, 0.72) 0%,
    rgba(0, 10, 20, 0.35) 38%,
    rgba(0, 10, 20, 0.18) 62%,
    rgba(0, 10, 20, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-card {
  max-width: 620px;
  width: 100%;
  background: rgba(0, 48, 75, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.badge {
  display: inline-block;
  background: var(--bcs-red);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 14px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 46ch;
}

.hero-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 28px 0 24px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bcs-blue);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(76, 144, 205, 0.22);
  color: var(--bcs-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.contact-value {
  font-size: 0.98rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--bcs-blue);
  text-decoration: underline;
}

.bosch-claim {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bosch-claim img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}

.bosch-claim-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.85rem;
  line-height: 1.3;
}

.bosch-claim-text strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.bosch-claim-text span {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bcs-teal);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 20px 16px;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer-sub {
  color: var(--bcs-grey);
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 32px 14px;
  }

  .hero-card {
    padding: 24px 20px;
  }

  .contact-item {
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.92rem;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}
