/**
 * SECURDOM - Home Page Styles (copia esatta da sdom.php)
 * @package sdom.app
 * @file assets/css/securdom.css
 * @version 1.0.0
 * 
 * Copyright (c) 2026 massimo.gerardi@gmail.com - Tutti i diritti riservati
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #1A1A1A;
  color: #fff;
  overflow-x: hidden;
}

.top-bar {
  background: #0d0d0d;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #2a2a2a;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: #FF6900; }
.top-bar .phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FF6900;
  font-weight: 600;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #1A1A1A;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  filter: drop-shadow(11px 11px 8px rgba(0, 0, 0, 0.22));
  transition: filter 0.3s ease;
}
.logo img:hover {
  filter: drop-shadow(13px 13px 12px rgba(0, 0, 0, 0.30));
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}
.logo-text span { color: #FF6900; }

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}
nav a:hover { color: #FF6900; }
nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF6900;
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FF6900;
  font-weight: 700;
  font-size: 18px;
}
.header-phone a { color: #FF6900; text-decoration: none; }
.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}


.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #1A1A1A;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  background: rgba(255,105,0,0.1);
  border: 2px solid rgba(255,105,0,0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.menu-toggle:hover {
  background: rgba(255,105,0,0.2);
  border-color: #FF6900;
}

.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2d1a0f 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,105,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
}
.hero-content h1 span { color: #FF6900; }
.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 35px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(255,105,0,0.1);
  border: 2px solid rgba(255,105,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6900;
  animation: float 4s ease-in-out infinite;
}
.hero-icon:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.hero-icon:nth-child(2) { top: 30%; right: 10%; animation-delay: 0.5s; }
.hero-icon:nth-child(3) { top: 50%; left: 10%; animation-delay: 1s; }
.hero-icon:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }
.hero-icon:nth-child(5) { top: 5%; right: 40%; animation-delay: 2s; }
.hero-icon:nth-child(6) { bottom: 10%; left: 40%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #FF6900, #ff8533);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 60px rgba(255,105,0,0.5);
}


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

/* Fade-in + slide-up del contenuto testuale */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: heroFadeInUp 0.8s ease-out forwards;
}

/* Staggered delay per titolo, paragrafo e bottoni */
.hero-content h1 {
  opacity: 0;
  animation: heroFadeInUp 0.7s ease-out 0.2s forwards;
}
.hero-content p {
  opacity: 0;
  animation: heroFadeInUp 0.7s ease-out 0.4s forwards;
}
.hero-buttons {
  opacity: 0;
  animation: heroFadeInUp 0.7s ease-out 0.6s forwards;
}

/* Pulse lento sull'icona centrale */
@keyframes heroPulse {
  0%, 100% {
    box-shadow: 0 0 60px rgba(255,105,0,0.5);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 80px rgba(255,105,0,0.7);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero-center-icon {
  animation: heroPulse 3s ease-in-out infinite;
}

/* Float combinato con leggero drift laterale (animazione unica per evitare conflitti transform) */
@keyframes heroFloatDrift {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(3px);
  }
  50% {
    transform: translateY(-15px) translateX(0);
  }
  75% {
    transform: translateY(-10px) translateX(-3px);
  }
}

.hero-icon {
  animation: heroFloatDrift 4s ease-in-out infinite;
}

/* Delay diversi per ogni icona */
.hero-icon:nth-child(1) { animation-delay: 0s; }
.hero-icon:nth-child(2) { animation-delay: 0.5s; }
.hero-icon:nth-child(3) { animation-delay: 1s; }
.hero-icon:nth-child(4) { animation-delay: 1.5s; }
.hero-icon:nth-child(5) { animation-delay: 2s; }
.hero-icon:nth-child(6) { animation-delay: 2.5s; }

.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}
.section-title h2 span { color: #FF6900; }
.section-title p {
  color: #aaa;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.services {
  padding: 100px 0;
  background: #1A1A1A;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: #242424;
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.4s;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #FF6900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: #FF6900;
}
.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,105,0,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6900;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}
.service-card p {
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card a {
  color: #FF6900;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}
.service-card a:hover { gap: 10px; }

.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, #1A1A1A 0%, #0d0d0d 100%);
}

.step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF6900, #ff8533);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(255,105,0,0.3);
  color: #fff;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step p {
  color: #aaa;
  line-height: 1.6;
}

/* Uniforma altezza card offerte */
.sdom-home .offers-grid {
    align-items: stretch;
}
.sdom-home .offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sdom-home .offer-cta {
    margin-top: auto;
    padding-top: 20px;
}

.offers {
  padding: 100px 0;
  background: #1A1A1A;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.offer-card {
  background: linear-gradient(135deg, #242424 0%, #1f1f1f 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #333;
  transition: all 0.4s;
  position: relative;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255,105,0,0.2);
  border-color: #FF6900;
}
.offer-card.featured {
  border: 2px solid #FF6900;
}
.offer-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #FF6900;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.offer-header {
  padding: 30px;
  background: rgba(255,105,0,0.05);
  border-bottom: 1px solid #333;
}
.offer-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.offer-header .subtitle {
  color: #aaa;
  font-size: 14px;
}
.offer-price {
  padding: 30px;
  text-align: center;
}
.offer-price .price {
  font-size: 48px;
  font-weight: 800;
  color: #FF6900;
}
.offer-price .price span {
  font-size: 18px;
  color: #aaa;
  font-weight: 400;
}
.offer-price .period {
  color: #aaa;
  font-size: 14px;
}
.offer-features {
  padding: 0 30px 30px;
  list-style: none;
}
.offer-features li {
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ddd;
}
.offer-features li .check-icon {
  color: #FF6900;
  flex-shrink: 0;
}
.offer-cta {
  padding: 0 30px 30px;
}
.offer-cta .btn {
  width: 100%;
  text-align: center;
}

.advantages {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d0d0d 0%, #1A1A1A 100%);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.advantage {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  transition: all 0.3s;
}
.advantage:hover {
  background: rgba(255,105,0,0.08);
  transform: translateX(5px);
}
.advantage-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(255,105,0,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6900;
}
.advantage h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.advantage p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

.testimonials {
  padding: 100px 0;
  background: #1A1A1A;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial {
  background: #242424;
  padding: 35px;
  border-radius: 16px;
  border: 1px solid #333;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 80px;
  color: #FF6900;
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}
.stars {
  color: #FF6900;
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}
.testimonial p {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6900, #ff8533);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.author-info strong {
  display: block;
  font-size: 15px;
}
.author-info span {
  color: #aaa;
  font-size: 13px;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #FF6900 0%, #e55d00 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: #fff;
}
.cta-section p {
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.95);
}
.cta-section .btn {
  background: #fff;
  color: #FF6900;
  font-size: 16px;
  padding: 16px 40px;
  position: relative;
  z-index: 2;
}
.cta-section .btn:hover {
  background: #1A1A1A;
  color: #fff;
}
.cta-phone {
  font-size: 36px;
  font-weight: 800;
  margin-top: 25px;
  position: relative;
  z-index: 2;
  color: #fff;
}

.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0d0d0d 0%, #1A1A1A 100%);
}
.contact-card {
  background: #242424;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.contact-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 35px;
}
.contact-label {
  display: block;
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-input {
  background: #1A1A1A;
  border: 1px solid #333;
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
}
.contact-input::placeholder { color: #777; }
.contact-input:focus {
  background: #1A1A1A;
  border-color: #FF6900;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255,105,0,0.25);
}
select.contact-input option { background: #1A1A1A; color: #fff; }
.contact-check {
  background-color: #1A1A1A;
  border: 1px solid #555;
}
.contact-check:checked {
  background-color: #FF6900;
  border-color: #FF6900;
}
.contact-check:focus {
  box-shadow: 0 0 0 0.2rem rgba(255,105,0,0.25);
}
.contact-btn {
  background: #FF6900;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border: none;
  transition: all 0.3s;
}
.contact-btn:hover {
  background: #e55d00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,105,0,0.4);
}

footer {
  background: #0d0d0d;
  padding: 60px 0 20px;
}
/* style.css impone footer{padding:1.5rem 0 !important; background:#000 !important} su tutte le pagine:
   qui alziamo la specificita' (selettore per ID) per far vincere il footer esteso della home. */
footer#contatti {
  background: #0d0d0d !important;
  padding: 60px 0 20px !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #FF6900;
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover { color: #FF6900; }
.footer-col p {
  color: #aaa;
  line-height: 1.7;
  font-size: 14px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.footer-logo span { color: #FF6900; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  text-align: center;
  color: #666;
  font-size: 13px;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #FF6900; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: #242424;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #FF6900;
  transform: translateY(-3px);
}
.social-links a:hover .icon {
    background-color: #1A1A1A !important; /* o #fff se preferisci */
}

@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title h2 { font-size: 32px; }
  .cta-section h2 { font-size: 32px; }
}

/* Mobile: riduce padding hero per avvicinare contenuto al top */
@media (max-width: 600px) {
  .hero {
    padding: 30px 0 50px 0;
    min-height: auto;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
}
/* Offcanvas mobile piu' stretto sugli schermi molto piccoli (invece dei 400px fissi di Bootstrap) */
@media (max-width: 400px) {
  .offcanvas.offcanvas-end { width: 85vw; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .header-phone { display: none; }
  .top-bar .container { justify-content: center; text-align: center; }
}

/* Mobile: logo più grande e hamburger più grande */
@media (max-width: 768px) {
    .logo img {
        height: 40px !important;
        width: auto !important;
        max-width: 100%;
    }
    .menu-toggle {
        width: 54px;
        height: 54px;
    }
    .menu-toggle .icon {
        width: 34px !important;
        height: 34px !important;
    }
    .header-phone a {
        font-size: 16px;
    }
}

/* Fix offcanvas: rimuove padding laterale e uniforma header */
.offcanvas-body {
    padding: 0 !important;
}
.offcanvas-body .nav {
    padding: 0;
}
.offcanvas-body .nav-link {
    padding: 1rem 1.5rem;
}
.offcanvas-header {
    padding: 15px 20px !important;
}

/* Offcanvas a larghezza piena su tutti gli schermi */
.offcanvas.offcanvas-end {
    width: 100% !important;
    max-width: 100% !important;
}

/* Su schermi desktop, limita a 400px */
@media (min-width: 992px) {
    .offcanvas.offcanvas-end {
        width: 400px !important;
        max-width: 400px !important;
    }
}

/* Uniforma padding offcanvas */
.offcanvas-body {
    padding: 0 !important;
}

.offcanvas-header {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Offcanvas a larghezza piena su mobile */
.offcanvas.offcanvas-end {
    width: 100% !important;
    max-width: 100% !important;
}

/* Su schermi desktop, limita a 400px */
@media (min-width: 992px) {
    .offcanvas.offcanvas-end {
        width: 400px !important;
        max-width: 400px !important;
    }
}

/* Uniforma logo in offcanvas con header principale */
.offcanvas-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offcanvas-header .logo img {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Uniforma pulsante X offcanvas con hamburger menu */
.offcanvas-header .menu-toggle {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    border: 2px solid rgba(255,105,0,0.3) !important;
    background: rgba(255,105,0,0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.offcanvas-header .menu-toggle .icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 28px !important;
}

/* Su mobile, entrambi i pulsanti più grandi */
@media (max-width: 768px) {
    .offcanvas-header .menu-toggle,
    .header-cta .menu-toggle {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
    }
    
    .offcanvas-header .menu-toggle .icon,
    .header-cta .menu-toggle .icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 34px !important;
    }
}

/* ============================================
   CTA SECTION - LAYOUT RESPONSIVE
   Aggiungere a securdom.css
   ============================================ */

/* Wrapper principale: colonna centrata */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Testo "o ti chiamiamo GRATIS" */
.cta-or-text {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
}
.cta-or-text .light {
  font-weight: 300;
  color: rgba(255,255,255,0.7);
}
.cta-or-text strong {
  font-weight: 700;
}

/* Riga bottoni: affiancati su desktop */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================
   ICONA .icon-circle-chevron-right
   Cerchio bianco con freccia verso destra
   ============================================ */
.icon-circle-chevron-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.icon-circle-chevron-right::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  position: absolute;
  left: 4px;
}

/* ============================================
   MOBILE (< 768px): impila verticalmente
   ============================================ */
@media (max-width: 768px) {
  .cta-row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 340px;
  }
  /* Bottone Chiama Ora a larghezza piena */
  .cta-row .btn-light {
    width: 100%;
    padding: 0.9rem 2rem !important;
  }
  /* Form a larghezza piena */
  #callMeForm {
    max-width: 100% !important;
  }
}

/* ============================================
   OVERRIDE BOOTSTRAP - btn-warning e btn-outline-warning
   Colore arancione SECURDOM (#FF6900) invece del giallo Bootstrap
   ============================================ */

/* btn-warning diventa arancione */
.btn-warning {
    background: #FF6900 !important;
    border-color: #FF6900 !important;
    color: #fff !important;
}
.btn-warning:hover {
    background: #E55E00 !important;
    border-color: #E55E00 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,105,0,0.4);
}
.btn-warning:focus {
    box-shadow: 0 0 0 3px rgba(255,105,0,0.3) !important;
}

/* btn-outline-warning diventa bordo arancione */
.btn-outline-warning {
    border-color: #FF6900 !important;
    color: #FF6900 !important;
    background: transparent !important;
}
.btn-outline-warning:hover {
    background: #FF6900 !important;
    color: #fff !important;
    border-color: #FF6900 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,105,0,0.4);
}
.btn-outline-warning:focus {
    box-shadow: 0 0 0 3px rgba(255,105,0,0.3) !important;
}

/* btn-light come bottone bianco (per "Chiama Ora") */
.btn-light {
    background: #fff !important;
    border-color: #fff !important;
    color: #FF6900 !important;
}
.btn-light:hover {
    background: #f5f5f5 !important;
    color: #E55E00 !important;
    transform: translateY(-2px);
}

