/* SCIALTAMON | INDUSTRIAL MODERN CSS THEME ===================================================== */

/* ------------------ RESET & NORMALIZE ------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: #232733;
  color: #F6F6F6;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  margin-left: 1.25em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F2E96B;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, label { font-size: 1rem; margin-bottom: 12px; color: #F6F6F6; }
strong { color: #6AD1E3; font-weight: 700; }
a {
  color: #6AD1E3;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #F2E96B; }
input, button, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
}


/* -------------- BRAND COLOR VARIABLES/FALLBACKS -------------- */
:root {
  --color-primary: #252C46;
  --color-secondary: #6AD1E3;
  --color-accent: #F2E96B;
  --color-bg: #232733;
  --color-text: #F6F6F6;
  --color-text-dark: #21222A;
  --color-metal: #B0B8BC;
  --color-shadow: rgba(30, 36, 51, 0.17);
  --radius: 12px;
}

/* -------------- LAYOUT CONTAINERS -------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* -------------- FLEXBOX SPACING/ALIGNMENT PATTERNS -------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #262F41;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 28px 28px 20px;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(106,209,227,0.2);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F6F6;
  color: #252C46;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(37,44,70,0.20);
  margin-bottom: 20px;
  min-width: 240px;
  border-left: 4px solid #6AD1E3;
  transition: box-shadow .2s, border-left-color .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #6AD1E350;
  border-left-color: #F2E96B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* ---------------- HEADER & NAVIGATION ----------------- */
header {
  background: #252C46;
  border-bottom: 2px solid #2E364B;
  box-shadow: 0 1px 9px #21222A40;
  position: sticky;
  top: 0;
  z-index: 1100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  justify-content: center;
}
.main-nav a {
  color: #F6F6F6;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background .18s, color .18s;
}

.main-nav a.cta-button {
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 22px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-left: 10px;
  text-shadow: none;
  border: none;
  transition: background .2s, color .2s, box-shadow .2s;
}

.main-nav a.cta-button:hover,
.main-nav a.cta-button:focus {
  background: #FEFCD9;
  color: #252C46;
  box-shadow: 0 6px 24px #6AD1E330;
}

.main-nav a:hover, .main-nav a:focus {
  background: #31395c;
  color: #6AD1E3;
}
.main-nav img {
  width: 130px;
  height: auto;
  margin-right: 30px;
  vertical-align: middle;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 28px;
  top: 18px;
  background: none;
  color: #F2E96B;
  border: none;
  font-size: 2.1rem;
  z-index: 1202;
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #2C3247;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #232733eb;
  transform: translateX(-106%);
  transition: transform 0.37s cubic-bezier(.7,.18,.3,.86);
  z-index: 1200;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 30px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2E96B;
  font-size: 2rem;
  border: none;
  position: absolute;
  right: 28px;
  top: 20px;
  border-radius: 50%;
  width: 48px; height: 48px;
  cursor: pointer;
  z-index: 1203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2C3247;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
  width: 80vw;
  max-width: 400px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #F2E96B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 0 16px 10px;
  border-radius: 4px;
  text-align: left;
  transition: background .18s, color .18s;
}
.mobile-nav a:nth-child(even) {
  color: #6AD1E3;
}
.mobile-nav a.cta-button {
  background: var(--color-accent);
  color: #252C46;
  box-shadow: 0 2px 6px var(--color-shadow);
  margin-top: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #252C46;
  color: #FFF;
}

/* ------------------ HERO SECTIONS --------------------- */
.hero {
  background: linear-gradient(110deg, #232733 72%, #252C46 100%);
  border-bottom: 2px solid #2C3247;
  margin-bottom: 60px;
  padding: 64px 0 44px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 680px;
}
.hero h1 {
  color: #F2E96B;
  margin-bottom: 12px;
  font-size: 2.25rem;
  text-shadow: 1px 2px 0 #232733, 0 2px 12px #0000000f;
}
.hero p {
  color: #B0B8BC;
  margin-bottom: 18px;
  font-size: 1.15rem;
}


/* ------------------ FEATURE & SERVICES LISTS --------------------- */
.features, .services {
  background: #252C46;
  box-shadow: 0 1.5px 0 #2d3248;
  border-radius: 0 0 22px 22px;
}
.features h2, .services h2 {
  color: #6AD1E3;
  letter-spacing: 0.01em;
}
.features-list, .services-list, .usp-list, .team-grid, .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 20px 0;
  padding: 0;
  list-style: none;
}
.features-list li, .services-list li, .usp-list li, .features-grid > div {
  background: #262F41;
  color: #F6F6F6;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px #15191e26;
  padding: 28px 28px 24px 28px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 220px;
  transition: box-shadow .18s, border-left .18s;
  border-left: 5px solid #232733;
}
.features-list li:hover, .services-list li:hover, .features-grid > div:hover {
  border-left: 5px solid #F2E96B;
  box-shadow: 0 6px 16px #6AD1E315;
}
.usp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #6AD1E3;
  background: #21222A;
  margin-bottom: 12px;
  padding: 13px 22px;
  border-radius: 6px;
  border-left: 6px solid #6AD1E3;
}
.usp-list img { width: 26px; height: 26px; }
.features-list h3, .services-list h3, .features-grid h3 {
  font-size: 1.2rem;
  color: #F2E96B;
  margin-bottom: 10px;
}
.price {
  display: inline-block;
  background: #6AD1E3;
  color: #232733;
  border-radius: 8px;
  padding: 3px 10px;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
}

/* --------------- TEAM GRID & TIMELINE ------------------ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member {
  background: #232733;
  box-shadow: 0 2px 12px #23273327;
  border-radius: var(--radius);
  flex: 1 1 340px;
  min-width: 220px;
  padding: 28px 24px 20px 24px;
  margin-bottom: 20px;
  color: #F6F6F6;
  border-left: 5px solid #6AD1E3;
  transition: border-left .18s, box-shadow .16s;
}
.team-member:hover {
  border-left: 5px solid #F2E96B;
  box-shadow: 0 6px 24px #F2E96B30;
}
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 22px;
  color: #6AD1E3;
}
.timeline li {
  font-size: 1rem;
  position: relative;
}
.timeline li strong {
  color: #F2E96B;
}

/* -------------- NEWSLETTER SIGNUP ------------------------ */
.newsletter-signup {
  background: #232733;
  border-radius: 18px;
  box-shadow: 0 1.5px 0 #252C46;
  margin-bottom: 60px;
  padding: 40px 0;
}
.newsletter-signup h2 { color: #6AD1E3; }
.newsletter-signup form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.newsletter-signup input[type="email"] {
  background: #262F41;
  color: #F6F6F6;
  padding: 10px 17px;
  border-radius: 8px;
  border: 1px solid #31395c;
  transition: border .2s;
  width: 100%;
  max-width: 270px;
}
.newsletter-signup input[type="email"]:focus {
  border: 1.5px solid #6AD1E3;
}
.newsletter-signup button, .newsletter-signup input[type="submit"] {
  background: var(--color-accent);
  color: #252C46;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  transition: background .18s, color .18s, box-shadow .2s;
  cursor: pointer;
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: #6AD1E3;
  color: #252C46;
  box-shadow: 0 6px 16px #6AD1E315;
}

/* ------------------ TESTIMONIALS -------------------------- */
.testimonials {
  background: #21222A;
  border-radius: 18px;
  box-shadow: 0 1.5px 0 #252C46;
  margin-bottom: 60px;
  padding: 42px 0;
}
.testimonials h2 {
  color: #F2E96B;
  margin-bottom: 14px;
}
/* already styled .testimonial-card above */

.testimonial-card p {
  color: #232733;
  font-size: 1.08rem;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #6AD1E3;
  font-weight: 700;
  margin-left: 8px;
}

/* ------------------ FAQ / CONTACT INFO ----------------- */
.contact-info {
  background: #232733;
  border-radius: 16px;
  box-shadow: 0 1.5px 0 #252C46;
  margin-bottom: 60px;
  padding: 42px 0;
}
.text-section {
  padding: 22px 0;
}
.text-section address {
  font-style: normal;
  color: #F6F6F6;
  margin: 18px 0 8px 0;
}
.text-section address p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.faq {
  background: #262F41;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 42px 0;
}
.faq h2 { color: #6AD1E3; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.faq-item {
  background: #21222A;
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px #19202719;
  border-left: 4px solid #6AD1E3;
  transition: border-left .14s;
}
.faq-item:hover { border-left: 4px solid #F2E96B; }
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #F2E96B;
}
.faq-item p {
  color: #B0B8BC;
  font-size: 1rem;
}

/* ------------------ FOOTER ------------------------ */
footer {
  background: #21222A;
  border-top: 2px solid #252C46;
  padding: 42px 0 24px 0;
  margin-top: 40px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #B0B8BC;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 4px;
  border-radius: 4px;
  transition: background .18s, color .18s;
}
.footer-nav a:hover { color: #F2E96B; background: #2C3247; }
.footer-contact {
  color: #B0B8BC;
  font-size: .99rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  width: 32px; height: 32px;
  filter: grayscale(0.25) brightness(1.0) contrast(1.1);
  transition: filter .18s;
}
.footer-social a:hover img {
  filter: none;
}
footer img[alt="Scialtamon"] {
  max-width: 86px;
  margin-bottom: 10px;
}

/* ------------------ CTA BUTTONS ---------------------- */
.cta-button, .cta {
  background: var(--color-accent);
  color: #252C46 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 13px 28px;
  font-size: 1.1rem;
  box-shadow: 0 2px 16px #6AD1E352;
  border: none;
  cursor: pointer;
  transition: background .17s, color .2s, box-shadow .2s, transform .17s;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus, .cta:hover, .cta:focus {
  background: #FEFCD9;
  color: #252C46 !important;
  box-shadow: 0 9px 38px #F2E96B22;
  transform: translateY(-2px) scale(1.03);
}

/* ------------------- COOKIE BANNER ------------------- */
.cookie-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: #262F41;
  color: #F2E96B;
  padding: 22px 20px;
  box-shadow: 0 -2px 24px #23273399;
  font-size: 1.02rem;
  border-top: 2.5px solid #6AD1E3;
  transition: transform .28s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-btn {
  background: #6AD1E3;
  color: #252C46;
  border: none;
  border-radius: 8px;
  padding: 9px 19px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 5px;
  margin-right: 6px;
  cursor: pointer;
  transition: background .17s, color .15s;
  box-shadow: 0 2px 10px #0002;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F2E96B;
  color: #252C46;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 1.5px solid #F2E96B;
  color: #F2E96B;
  padding: 8px 18px;
  border-radius: 8px;
  margin-left: 8px;
  font-weight: 600;
  transition: background .16s, color .15s, border .14s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #252C46;
  color: #6AD1E3;
  border-color: #6AD1E3;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1400;
  background: #262F41ee;
  justify-content: center;
  padding: 38px 0;
  animation: fadeInModal .35s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #F6F6F6;
  color: #232733;
  border-radius: 16px;
  box-shadow: 0 4px 54px rgba(37,44,70,0.17);
  max-width: 420px;
  width: 95%;
  margin: 0 auto;
  padding: 46px 28px 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h2 {
  color: #252C46;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #21222A;
  margin-bottom: 12px;
  gap: 12px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #6AD1E3;
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 16px;
  background: none;
  border: none;
  color: #252C46;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 8px;
  transition: background .13s;
}
.cookie-modal-close:hover {
  background: #F2E96B;
  color: #232733;
}
.cookie-modal-content .btn-row {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal-content .cookie-btn {
  background: #6AD1E3;
  color: #232733;
  border: none;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .14s;
}
.cookie-modal-content .cookie-btn:hover {
  background: #F2E96B;
  color: #232733;
}

/* --------------- CONFIRMATION/THANK YOU -------------- */
.confirmation {
  background: #232733;
  border-radius: 18px;
  box-shadow: 0 1.5px 0 #252C46;
  margin-bottom: 60px;
  padding: 60px 0 50px 0;
  text-align: center;
}
.confirmation h1 {
  color: #F2E96B;
  margin-bottom: 16px;
}
.confirmation p {
  color: #B0B8BC;
  margin-bottom: 18px;
  font-size: 1.13rem;
}
.confirmation .cta-button { margin-top: 18px; }

/* ------------- GENERIC: UL, OL, LI ------------------- */
ul, ol {
  padding-left: 22px;
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 12px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* --------------- RESPONSIVE (MOBILE FIRST) ------------------ */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 992px) {
  .hero h1 { font-size: 1.6rem; }
  .main-nav { gap: 13px; }
  .team-grid, .features-list, .services-list, .usp-list, .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .team-grid {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero, .section, .features, .services, .testimonials, .newsletter-signup, .confirmation, .contact-info, .faq {
    padding: 27px 0 !important;
    margin-bottom: 38px !important;
  }
  .container {
    padding: 0 7vw;
  }
  .content-wrapper {
    gap: 20px;
  }
  .features-list, .services-list, .usp-list, .features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-list li, .services-list li, .usp-list li, .features-grid > div, .card, .team-member {
    min-width: 0 !important;
    width: 100%;
    padding: 18px 13px 13px 17px !important;
  }
  .team-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 10px;
    margin-bottom: 18px;
  }
  .newsletter-signup form {
    flex-direction: column;
    gap: 14px;
  }
  .footer-social {
    margin-top: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .container { padding: 0 2vw; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.11rem; }
  .confirmation { padding: 30px 0 30px 0; }
  .cookie-banner { font-size: .95rem; gap: 7px; padding: 14px 6px; }
}
/* Hide Cookie Banner visually when .hide applied */
@media (max-width: 450px) {
  .cookie-modal-content { padding: 38px 8px 24px 8px; }
}

/* -------------- ANIMATIONS & MICRO-INTERACTIONS ------------ */
.cta, .cta-button, .cookie-btn { transition: background .16s, color .15s, box-shadow .22s, transform .15s !important; }
.card, .team-member, .testimonial-card, .faq-item {
  transition: box-shadow .16s, transform .13s, border-left .16s !important;
}
.card:hover, .team-member:hover, .testimonial-card:hover, .faq-item:hover {
  transform: translateY(-2px) scale(1.01);
}
input[type="email"], textarea { transition: border .13s, box-shadow .16s; }

/* -------------- ACCESSIBILITY: OUTLINE FOR FOCUS ------------ */
a:focus, button:focus, input:focus {
  outline: 2px solid #F2E96B;
  outline-offset: 2px;
}

/* ----- MODERN SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 12px; background: #232733;
}
::-webkit-scrollbar-thumb {
  background: #252C46;
  border-radius: 10px;
  border: 3px solid #232733;
}
::-webkit-scrollbar-thumb:hover {
  background: #6AD1E3;
}
section {
  padding: 20px 0;
}

/* ------------------- END ------------------- */
