/* =====================================================
   SAIMOTO.ES — Replica CSS
   Font: Open Sans | Divi Theme inspired
   ===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7em;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #2ea3f2;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #1a7ab8;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
  margin-bottom: 10px;
}

.container {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* =====================================================
   HEADER
   ===================================================== */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#main-header.header-scrolled {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding-left: 0.5cm;
  padding-right: 20px;
}

#logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
}

#logo img {
  height: 43px;
  width: auto;
  display: block;
}

#top-menu {
  display: flex;
  align-items: center;
}

#top-menu > li {
  position: relative;
}

#top-menu > li > a {
  display: block;
  padding: 24px 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  white-space: nowrap;
}

#top-menu > li > a:hover,
#top-menu > li.has-sub:hover > a {
  color: #2ea3f2;
}

/* Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10,10,10,0.95);
  min-width: 180px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.25s ease;
  z-index: 999;
}

.has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 8px 20px;
  color: #ccc;
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
}

.submenu li a:hover {
  color: #2ea3f2;
  padding-left: 26px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.header-suzuki-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* =====================================================
   HERO
   ===================================================== */

#hero {
  position: relative;
  margin-top: 66px;
}

.hero-bg {
  position: relative;
  height: calc(100vh - 66px);
  min-height: 480px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-top-left {
  position: absolute;
  z-index: 3;
  top: 40px;
  left: 40px;
}

.hero-concessionario {
  color: #fff;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 1cm;
  margin-bottom: 10px;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.6), 1px 1px 0px rgba(0,0,0,0.4);
}

.hero-sub-brands {
  color: rgba(255,255,255,0.9);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.7;
  margin-top: 2cm;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.85), 1px 2px 0px rgba(0,0,0,0.6);
}

.hero-brands-bar {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin-top: 2cm;
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 750px;
  padding: 0 20px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 18px;
  margin-top: 1cm;
  margin-bottom: 24px;
}

.hero-badge-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero-badge-brands {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.85;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  line-height: 1.8;
}

.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #2ea3f2;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #2ea3f2;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: transparent;
  color: #2ea3f2;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-bounce 2s infinite;
  opacity: 0.7;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) rotate(45deg) translateY(0); }
  50%       { transform: translateX(-50%) rotate(45deg) translateY(8px); }
}

/* =====================================================
   BRAND LOGOS CAROUSEL
   ===================================================== */

#brand-logos {
  background: #fff;
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 1cm;
  margin-bottom: 1cm;
}

.brand-logos-wrap {
  overflow: hidden;
}

.brand-logos-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: logos-scroll 25s linear infinite;
}

.brand-logos-track img {
  height: 96px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   SERVICIOS
   ===================================================== */

#servicios {
  padding: 80px 0;
  background: #f8f8f8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.service-taller {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.service-taller::after {
  content: none;
}

.service-recambios {
  background-image: linear-gradient(135deg, #222 0%, #444 100%);
}

.service-recambios::after {
  content: none;
}

.service-body {
  padding: 24px 20px 28px;
}

.service-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-body p {
  font-size: 13px;
  color: #111;
  line-height: 1.7;
  margin-bottom: 16px;
}

.link-more {
  font-size: 12px;
  font-weight: 700;
  color: #2ea3f2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.link-more:hover {
  color: #1a7ab8;
}

/* =====================================================
   SOBRE NOSOTROS
   ===================================================== */

#sobre-nosotros {
  padding: 90px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.section-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2ea3f2;
  margin-bottom: 14px;
}

.section-label.center {
  text-align: center;
}

#contatti .section-label,
#chi-siamo .section-label {
  font-size: 18px;
  margin-top: 2cm;
  margin-bottom: 18px;
}

#chi-siamo .section-label {
  margin-top: 3cm;
}

.about-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 22px;
}

.about-text p {
  font-size: 14px;
  color: #111;
  line-height: 1.8;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: #2ea3f2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid #2ea3f2;
}

.btn-primary:hover {
  background: transparent;
  color: #2ea3f2;
}

.about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* =====================================================
   GAMA YAMAHA
   ===================================================== */

#gama {
  padding: 80px 0;
  background: #111;
}

#gama h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}

#gama .section-label {
  color: #2ea3f2;
  display: block;
  margin-bottom: 10px;
}

.gama-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gama-card {
  position: relative;
  display: block;
  overflow: hidden;
  height: 220px;
}

.gama-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #111;
  transition: transform 0.5s ease;
}

.gama-card:hover .gama-img {
  transform: scale(1.07);
}

.gama-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 30%, transparent 70%);
}

.gama-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =====================================================
   YOU DEMO BIKE
   ===================================================== */

#demo-bike {
  position: relative;
  background-image: url('image-home-block-3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.demo-overlay {
  background: transparent;
  padding: 90px 0;
  text-align: center;
  color: #fff;
}

.demo-overlay .section-label {
  color: rgba(255,255,255,0.8);
}

.demo-overlay h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.demo-overlay p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.demo-overlay .btn-cta {
  background: #fff;
  color: #2ea3f2;
  border-color: #fff;
}

.demo-overlay .btn-cta:hover {
  background: transparent;
  color: #fff;
}

/* =====================================================
   CONTACTO
   ===================================================== */

#contacto {
  padding: 90px 0;
  background: #fff;
}

#contacto h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.contact-intro {
  text-align: center;
  color: #111;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.contact-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2ea3f2;
}

.contact-col address {
  font-size: 14px;
  color: #111;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-col p {
  font-size: 14px;
  color: #111;
  margin-bottom: 8px;
}

.contact-col a {
  color: #111;
}

.contact-col a:hover {
  color: #2ea3f2;
}

.hours {
  margin-top: 12px;
  font-size: 13px;
  color: #111;
  line-height: 1.7;
}

.map-wrap {
  border-top: 1px solid #eee;
  padding-top: 40px;
  margin-bottom: 2cm;
}

.map-wrap iframe {
  display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */

#footer {
  background: #222;
  color: #aaa;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  max-width: 260px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #333;
  color: #aaa;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #2ea3f2;
  color: #fff;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover {
  color: #2ea3f2;
  padding-left: 6px;
}

.footer-col p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-col a {
  color: #aaa;
}

.footer-col a:hover {
  color: #2ea3f2;
}

.footer-bottom {
  background: #111;
  padding: 16px 0;
}

.footer-bottom .container {
  position: relative;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #aaa;
}

.footer-bottom .footer-credit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
}

.footer-bottom .footer-credit:hover {
  color: #2ea3f2;
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #1a1a1a;
  border-top: 2px solid #2ea3f2;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

#cookie-banner p {
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

#cookie-banner a {
  color: #2ea3f2;
  text-decoration: underline;
}

#cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-banner .btn-cookie-accept {
  background: #2ea3f2;
  color: #fff;
  border: none;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

#cookie-banner .btn-cookie-accept:hover {
  background: #1a7ab8;
}

#cookie-banner .btn-cookie-reject {
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

#cookie-banner .btn-cookie-reject:hover {
  border-color: #aaa;
  color: #fff;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  #cookie-banner .cookie-buttons {
    width: 100%;
  }
  #cookie-banner .btn-cookie-accept,
  #cookie-banner .btn-cookie-reject {
    flex: 1;
    text-align: center;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ---- 1440px+ : desktop largo ---- */
@media (min-width: 1440px) {
  .container { max-width: 1260px; }
  .header-suzuki-logo { height: 38px; }
}

/* ---- 2560px+ : 2K / 4K ---- */
@media (min-width: 2560px) {
  .container { max-width: 1600px; }
  body { font-size: 16px; }
  .header-suzuki-logo { height: 48px; }
  .hero-content h1 { font-size: 68px; }
  .hero-concessionario { font-size: 40px; }
  .hero-sub-brands { font-size: 30px; }
  .brand-logos-track img { height: 120px; }
  .brand-logos-track { gap: 90px; }
}

/* ---- max 1130px ---- */
@media (max-width: 1130px) {
  #top-menu > li > a {
    padding: 24px 11px;
    font-size: 12px;
  }
}

/* ---- max 1024px : tablet landscape / laptop piccolo ---- */
@media (max-width: 1024px) {
  .container { width: 92%; }
  #top-menu > li > a { padding: 24px 10px; font-size: 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gama-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 980px) {
  .header-suzuki-logo { display: none; }
}

/* ---- max 980px : tablet ---- */
@media (max-width: 980px) {
  .container { width: 92%; }

  nav { display: none; position: absolute; top: 66px; left: 0; right: 0; }
  nav.open { display: block; }

  #top-menu {
    flex-direction: column;
    background: rgba(10,10,10,0.97);
    padding: 10px 0;
  }

  #top-menu > li > a {
    padding: 12px 24px;
    font-size: 14px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(30,30,30,0.9);
    padding-left: 20px;
  }

  .hamburger { display: block; }

  .hero-content h1 { font-size: 36px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text { padding-right: 0; }

  .gama-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ---- max 768px : tablet portrait ---- */
@media (max-width: 768px) {
  .hero-img { object-position: calc(50% - 3cm) center; }
  .hero-content h1 { font-size: 28px; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; }
  .hero-concessionario { font-size: 22px; margin-top: 16px; }
  .hero-sub-brands { font-size: 17px; margin-top: 24px; }
  .hero-top-left { top: calc(20px + 3cm); left: 20px; }

  .brand-logos-track img { height: 70px; }
  .brand-logos-track { gap: 32px; }
  #brand-logos { margin-top: 24px; margin-bottom: 24px; }

  .about-img { margin-top: -0.5cm; margin-bottom: 0.5cm; }

  .services-grid { grid-template-columns: 1fr; }

  .gama-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }

  .scroll-down-arrow { display: none; }

  .footer-bottom .container { flex-direction: column; align-items: center; gap: 6px; }
  .footer-bottom .footer-credit { position: static; transform: none; }
}

/* ---- max 480px ---- */
@media (max-width: 480px) {
  .gama-grid { grid-template-columns: 1fr; }
  .gama-card { height: 180px; }
  .hero-content h1 { font-size: 22px; }
  .brand-logos-track img { height: 50px; }
  .brand-logos-track { gap: 20px; }
}

/* ---- max 425px : phone grande ---- */
@media (max-width: 425px) {
  .container { width: 94%; }
  .hero-content h1 { font-size: 20px; }
  .hero-concessionario { font-size: 16px; margin-top: 14px; margin-bottom: 6px; }
  .hero-sub-brands { font-size: 13px; margin-top: 12px; line-height: 1.5; }
  .hero-top-left { top: 14px; left: 14px; }
  .brand-logos-track img { height: 42px; }
  .brand-logos-track { gap: 16px; }
  #brand-logos { padding: 18px 0; }
  #servicios { padding: 50px 0; }
  #about { padding: 50px 0; }
  #gama { padding: 50px 0; }
  #contacto, #contatti { padding: 50px 0; }
  .contact-col h4 { font-size: 13px; }
  .footer-grid { gap: 20px; }
  .footer-top { padding: 40px 0 24px; }
}

/* ---- max 375px : iPhone standard ---- */
@media (max-width: 375px) {
  .hero-content h1 { font-size: 18px; }
  .hero-concessionario { font-size: 14px; }
  .hero-sub-brands { font-size: 12px; letter-spacing: 1px; }
  .hero-top-left { top: 12px; left: 12px; }
  #logo img { height: 36px; }
  .brand-logos-track img { height: 36px; }
  .brand-logos-track { gap: 12px; }
  .header-inner { padding-left: 10px; padding-right: 12px; }
  .services-grid { gap: 14px; }
  .btn-primary { padding: 10px 22px; font-size: 12px; }
}

/* ---- max 320px : phone piccolo ---- */
@media (max-width: 320px) {
  body { font-size: 13px; }
  .container { width: 96%; }
  .hero-content h1 { font-size: 16px; }
  .hero-concessionario { font-size: 13px; letter-spacing: 1px; }
  .hero-sub-brands { font-size: 11px; letter-spacing: 0.5px; }
  .hero-top-left { top: 10px; left: 10px; }
  #logo img { height: 32px; }
  .brand-logos-track img { height: 30px; }
  .brand-logos-track { gap: 10px; }
  .header-inner { padding-left: 8px; padding-right: 10px; height: 56px; }
  nav { top: 56px; }
  .btn-primary { padding: 9px 18px; font-size: 12px; }
  .section-label { font-size: 14px; letter-spacing: 1.5px; }
  .footer-top { padding: 30px 0 20px; }
}
