/*=================================
  Taxi Service Locarno — 2026 refresh
  Additive overrides on top of style.css.
  Scoped to body.home4 (homepage) so the
  rest of the template is unaffected.
==================================*/

body.home4 {
  --theme-color: #C8973B;
  --theme-color2: #0E3A56;
  --title-color: #0F2A3D;
  --body-color: #3F4C57;
  --smoke-color: #EEF3F6;
  --border-color: #D8E2E8;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 45px -18px rgba(14, 58, 86, 0.35);
  --shadow-soft-hover: 0 26px 55px -16px rgba(14, 58, 86, 0.45);
}

body.home4 {
  background-color: #FBFAF6;
}

/*-------- Typography --------*/
body.home4 .sec-title,
body.home4 .feature-box_title,
body.home4 .service-block_title,
body.home4 .experience-year {
  letter-spacing: -0.01em;
}

body.home4 .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--theme-color2);
}

body.home4 .sub-title::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-color), var(--theme-color2));
  border-radius: 2px;
}

/*-------- Buttons --------*/
body.home4 .as-btn {
  border-radius: 999px;
  background: var(--theme-color2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

body.home4 .as-btn:hover,
body.home4 .as-btn.active {
  background: var(--theme-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-hover);
}

body.home4 .as-btn::before {
  border-radius: 999px;
}

/*-------- Header --------*/
body.home4 .header-top {
  background: var(--theme-color2);
}

body.home4 .as-header .sticky-active {
  background: rgba(10, 30, 46, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.home4 .header-testo h1 {
  font-size: 32px;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Logo: dimensioni fisse per breakpoint, sovrascrivono i valori ridotti del tema
   (specificita' "body.home4 .header-logo img" > ".header-logo img" del tema) */
body.home4 .header-logo,
body.home4 .mobile-logo {
  max-width: none;
}

body.home4 .header-logo img {
  width: 160px;
  max-width: 160px;
  height: auto;
}

body.home4 .mobile-logo img {
  width: 180px;
  max-width: 180px;
  height: auto;
}

@media (max-width: 991px) {
  body.home4 .header-logo img {
    width: 130px;
    max-width: 130px;
  }
}

@media (max-width: 782px) {
  body.home4 .header-logo img {
    width: 120px;
    max-width: 120px;
  }
}

@media (max-width: 600px) {
  body.home4 .header-logo img {
    width: 100px;
    max-width: 100px;
  }
  body.home4 .mobile-logo img {
    width: 150px;
    max-width: 150px;
  }
}

body.home4 .main-menu > ul > li > a {
  font-weight: 600;
}

body.home4 .main-menu > ul > li > a:hover {
  color: var(--theme-color);
}

/*-------- Hero --------*/
body.home4 .as-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 30, 46, 0.82) 0%, rgba(10, 30, 46, 0.45) 48%, rgba(10, 30, 46, 0.15) 100%);
  z-index: 1;
}

body.home4 .hero-style4 {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.home4 .hero-style4 .hero-title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
}

body.home4 .hero-style4 .hero-title:first-of-type {
  color: var(--theme-color);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

body.home4 .hero-style4 .hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

body.home4 .hero-style4 .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

body.home4 .hero-style4 .hero-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(200, 151, 59, 0.18);
  border: 1px solid rgba(200, 151, 59, 0.5);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.home4 .hero-style4 .hero-phone-badge:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

/*-------- About / experience --------*/
body.home4 #azienda .img-box3 .img1 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

body.home4 .experience-list {
  background: linear-gradient(135deg, var(--theme-color2), #0A1E2E);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
}

body.home4 .as-experience .experience-year {
  color: var(--theme-color);
}

body.home4 .as-experience .experience-text,
body.home4 .dots-list li {
  color: rgba(255, 255, 255, 0.85) !important;
}

/*-------- Service cards --------*/
body.home4 .service-block {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.home4 .service-block:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft-hover);
}

body.home4 .service-block_img {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

body.home4 .service-block_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 30, 46, 0.55) 100%);
}

body.home4 .service-block_img img {
  transition: transform 0.5s ease;
}

body.home4 .service-block:hover .service-block_img img {
  transform: scale(1.08);
}

body.home4 .service-block_content {
  padding: 26px 24px 28px;
}

body.home4 .service-block_title a {
  color: var(--title-color);
}

body.home4 .service-block_title a:hover {
  color: var(--theme-color);
}

body.home4 .layer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--smoke-color);
}

body.home4 .layer-btn::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

body.home4 .layer-btn:hover::after {
  transform: translateX(4px);
}

/*-------- Feature boxes --------*/
body.home4 .feature-box {
  border-radius: var(--radius-md);
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

body.home4 .feature-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

body.home4 .feature-box_icon {
  width: 78px;
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(200, 151, 59, 0.35), rgba(14, 58, 86, 0.4));
}

body.home4 .feature-box_title {
  color: #fff;
  margin-top: 18px;
}

/*-------- Footer --------*/
body.home4 .footer-wrapper {
  background: var(--theme-color2);
}

body.home4 .footer-wrapper .widget_title {
  position: relative;
  padding-bottom: 14px;
}

body.home4 .footer-wrapper .widget_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--theme-color);
}

body.home4 .copyright-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/*-------- Floating call/whatsapp buttons --------*/
body.home4 #whatsapp-button,
body.home4 #call-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

body.home4 #call-button {
  background-color: var(--theme-color2);
  left: auto;
  right: 20px;
}

@media (max-width: 575px) {
  body.home4 #call-button {
    right: 16px;
    bottom: 80px;
  }
  body.home4 #whatsapp-button {
    left: 16px;
  }
}

/*-------- FAQ --------*/
body.home4 .faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.home4 .faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-soft);
}

body.home4 .faq-item_title {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--title-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.home4 .faq-item_title::-webkit-details-marker {
  display: none;
}

body.home4 .faq-item_title::after {
  content: "+";
  font-size: 22px;
  color: var(--theme-color);
  transition: transform 0.3s ease;
}

body.home4 .faq-item[open] .faq-item_title::after {
  transform: rotate(45deg);
}

body.home4 .faq-item_text {
  margin: 14px 0 0;
  color: var(--body-color);
}

/*-------- Responsive hero --------*/
@media (max-width: 991px) {
  body.home4 .hero-style4 {
    padding: 32px 26px;
  }
  body.home4 .hero-style4 .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  body.home4 .hero-style4 {
    padding: 26px 20px;
  }
  body.home4 .hero-style4 .hero-title {
    font-size: 28px;
  }
  body.home4 .hero-style4 .hero-text {
    font-size: 15px;
  }
}
