/*---------------------------
BRITE GEAR – style.css
ELEGANT CLASSIC THEME – ALL PAGES
----------------------------*/

/* ==== CSS RESET & BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Georgia, 'Times New Roman', Times, serif;
  color: #232425;
  background: #F5F7FB;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #27527D;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #27527D;
  outline-offset: 1px;
}
a:hover {
  color: #B35B00;
  text-decoration: underline;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
strong {
  font-weight: bold;
}

/* ==== BRAND COLORS & FONTS ==== */
:root {
  --primary: #27527D;
  --secondary: #F5F7FB;
  --white: #FFFFFF;
  --accent: #B35B00;
  --accent-light: #EE8500;
  --grey: #7A8086;
  --border: #E0E6EF;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #1C232A;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.22;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: var(--primary);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #232425;
}
.text-section p {
  color: #333952;
}

.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 16px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==== SPACING GUIDELINES ==== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 14px;
  box-shadow: 0px 8px 32px 0px rgba(39,82,125,0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.06);
  transition: box-shadow 0.18s;
  padding: 24px 18px;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(39,82,125,0.12);
}
.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: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.05);
  color: #232425;
  transition: box-shadow 0.2s;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(39,82,125,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-banner {
  background: var(--primary);
  color: var(--white);
  border-radius: 16px;
  text-align: center;
  padding: 40px 24px;
  box-shadow: 0 2px 16px 0 rgba(39, 82, 125,0.14);
}
.cta-banner h2, .cta-banner p {
  color: var(--white) !important;
}

/**** MAIN NAV ****/
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 16px 6px 16px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.main-nav img {
  height: 34px;
  width: auto;
  margin-right: 20px;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: var(--white) !important;
  background: var(--accent);
  border-radius: 7px;
  padding: 10px 30px;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(176,131,64,0.09);
  margin-left: 12px;
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.17s, color 0.18s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 32px 0 rgba(39,82,125,0.09);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 2.1rem;
  border-radius: 6px;
  padding: 4px 18px 3px 18px;
  z-index: 2001;
  border: 1px solid var(--primary);
  transition: background 0.18s;
  line-height: 1;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(39, 82, 125, 0.97);
  color: var(--white);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(0.79,0,0.07,1);
  gap: 12px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--white);
  background: none;
  border: none;
  padding: 20px 16px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.22rem;
  color: var(--white);
  font-weight: 600;
  margin: 7px 0;
  padding: 10px 0 10px 4px;
  border-radius: 4px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(238,133,0,0.15);
  color: var(--accent-light);
}
@media (max-width: 992px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Hero Banner */
.hero {
  background: var(--primary);
  color: var(--white);
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  box-shadow: 0 6px 24px 0 rgba(39,82,125, 0.10);
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.hero h1,
.hero h2,
.hero p {
  color: var(--white) !important;
}
.hero .cta-btn {
  margin-top: 18px;
  background: var(--accent-light);
  color: var(--white);
}
.hero .cta-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* Blog Hero */
.blog-hero {
  background: var(--white);
  color: var(--primary);
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 1px 12px 0 rgba(39,82,125, 0.04);
  padding: 32px 0 20px 0;
}

/**** CARDS and LISTS ****/
ul {
  list-style-type: disc;
}
li {
  font-size: 1rem;
  color: #232425;
  margin-bottom: 8px;
}
ul > li > img {
  margin-right: 10px;
  margin-bottom: 2px;
  vertical-align: middle;
  height: 34px;
  width: 34px;
}
ul > li h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}
ul > li p {
  margin: 0 0 12px 0;
  color: #4B4B52;
  font-size: 1rem;
}

/**** CTA and LINKS ****/
.cta {
  margin: 32px 0 20px 0;
  text-align: center;
}
.cta-btn {
  margin-top: 8px;
}

/**** TESTIMONIALS ****/
.testimonials, .testimonial-card {
  background: none;
}
.testimonial-card {
  background: var(--white);
  color: #232425;
  border: 1.5px solid var(--border);
  font-size: 1.08rem;
  gap: 16px;
  margin: 0 0 20px 0;
  box-shadow: 0 1.5px 8px 0 rgba(39,82,125,0.08);
}
.testimonial-card p {
  font-style: italic;
  color: #232425;
}
.testimonial-card span {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: var(--accent);
  margin-left: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/**** FOOTER ****/
footer {
  background: var(--primary);
  color: var(--white);
  border-top: 1px solid var(--border);
  padding: 0;
  margin-top: 60px;
}
footer .container {
  padding: 0 18px;
  margin: 0 auto;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 0 24px 0;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: var(--white);
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.93;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.footer-brand img {
  width: 44px;
  height: auto;
}
.footer-contact {
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.8;
  font-family: 'Open Sans', Georgia, serif;
  opacity: 0.91;
}

@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 0 16px 0;
    text-align: left;
  }
  .footer-brand {
    margin: 12px 0;
  }
}

/**** BLOG LIST ****/
.blog-list ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  margin-top: 8px;
}
.blog-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 1px 6px 0 rgba(39,82,125, 0.03);
  padding: 20px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 1rem;
}
.blog-list strong {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.12rem;
  color: var(--primary);
}
.blog-list span {
  color: #8391AC;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.blog-list li a {
  margin-top: 8px;
  font-weight: 700;
  color: var(--accent);
}
.blog-list li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/**** NEWSLETTER ****/
.newsletter {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.04);
  margin-bottom: 40px;
}

/**** ABOUT / TEAM ****/
.about-brand, .team-section {
  background: var(--secondary);
  border-radius: 10px;
  box-shadow: 0 2px 9px 0 rgba(39,82,125,0.09);
}
.text-section p, .text-section ul, .text-section ol {
  font-size: 1rem;
  color: #33425B;
  margin-bottom: 12px;
}
.team-section ul {
  list-style-type: disc;
}

/**** WORKSHOP LIST ****/
.workshop-list ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  margin-top: 10px;
}
.workshop-list li {
  background: var(--white);
  border: 1.2px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 rgba(39,82,125,0.04);
  padding: 18px 16px;
  font-size: 1rem;
  color: #303950;
}
.workshop-list span {
  color: #B35B00;
  font-size: 0.96rem;
  font-style: italic;
}

/**** SERVICES CARDS (OFERTA) ****/
.services-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 10px;
}
.services-overview li {
  flex: 1 1 270px;
  min-width: 270px;
  background: var(--white);
  border-radius: 12px;
  border: 1.2px solid var(--border);
  box-shadow: 0 1px 7px 0 rgba(39,82,125,0.06);
  padding: 22px 16px 16px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.services-overview h2 {
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.services-overview li .cta-btn {
  margin-top: 4px;
}

/**** COOKIES BANNER & MODAL ****/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: #232425;
  box-shadow: 0 -2px 18px 0 rgba(39,82,125,0.18);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 18px 16px;
  font-size: 1rem;
  border-top: 2px solid var(--border);
  animation: cookies-in 0.44s cubic-bezier(0.85,0,0.25,1);
}
.cookie-consent-banner p {
  margin: 0;
  color: #232425;
}
.cookie-consent-banner .cookies-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  padding: 9px 22px;
  margin: 0;
  min-width: 113px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: background 0.17s, color 0.14s, box-shadow 0.17s;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.09);
}
.cookie-btn.accept {
  background: var(--accent);
}
.cookie-btn.settings {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.reject {
  background: #C84227;
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.055);
  outline: none;
}
@keyframes cookies-in {
  0% {transform: translateY(100%);} 100% {transform: translateY(0);}
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,21,38,0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.35s cubic-bezier(0.8,0,0.07,1);
}
@keyframes modal-in { 0% {opacity: 0; transform: scale(0.97);} 100% {opacity:1; transform: scale(1);} }
.cookie-modal {
  background: var(--white);
  border-radius: 13px;
  padding: 38px 22px 26px 22px;
  max-width: 420px;
  width: 97vw;
  box-shadow: 0 8px 36px 0 rgba(39,82,125,0.19);
  color: #232425;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Montserrat', Georgia, serif;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e2e5ed;
  padding: 8px 0 5px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #232425;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #dadbe3;
  border-radius: 11px;
  transition: background 0.18s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: var(--primary);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 2.5px;
  background-color: var(--white);
  border-radius: 9px;
  transition: transform 0.18s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-category .status {
  font-size: 0.97rem;
  color: var(--grey);
  font-style: italic;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 20px;
  font-size: 1.7rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--accent);
}
/* --- Responsive Cookie Modal --- */
@media (max-width: 600px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 22px 7vw 18px 7vw;
    font-size: 0.98rem;
  }
}

/**** RESPONSIVE - MOBILE FIRST ****/
@media (max-width: 1100px) {
  .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 13px;
  }
  .card-container, .services-overview ul {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 0.96rem;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3, h4 {
    font-size: 1.01rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .section, section {
    padding: 26px 7px 32px 7px;
    margin-bottom: 36px;
    border-radius: 7px;
  }
  .hero, .blog-hero {
    padding: 28px 0 22px 0;
    border-radius: 8px;
    margin-bottom: 32px;
  }
  .cta-banner {
    padding: 22px 7px 20px 7px;
    border-radius: 8px;
  }
  .testimonials, .testimonial-card {
    max-width: 98vw;
  }
  /* FLEX DIRECTION COLUMN for text-image */
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid, .services-overview ul, .workshop-list ul {
    flex-direction: column;
    gap: 15px;
  }
  .footer-contact {
    font-size: 0.96rem;
  }
}

/* Extra Spacing And Card Fixes For Mobile */
@media (max-width: 480px) {
  .card, .testimonial-card {
    padding: 14px 7px;
    border-radius: 7px;
  }
  .services-overview li {
    min-width: 0;
    padding: 10px 4px 8px 8px;
  }
}

/**** ACCESSIBILITY & FOCUS STATES ****/
.cta-btn:focus, .cookie-btn:focus, .footer-menu a:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/**** SMOOTH ANIMATIONS ****/
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, filter 0.16s;
}
.card, .testimonial-card, .services-overview li {
  transition: box-shadow 0.19s;
}

/**** MISCELLANEOUS CLASSES FOR HTML COMPATIBILITY ****/
.map-location {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-section, .contact-info {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(39,82,125,0.07);
  margin-bottom: 40px;
}
.contact-info ul {
  margin: 0 0 16px 0;
}
.privacy-policy, .rodo-section, .terms-section, .cookies-policy {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.10);
  margin-bottom: 40px;
  padding: 36px 22px;
}

/**** THANK YOU ****/
.thank-you-section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(39,82,125,0.09);
  margin-bottom: 40px;
}
.thank-you-section .cta-btn {
  margin-top: 16px;
}

/**** Classic Effects (Subtle Shadows & Borders) ****/
.card, .services-overview li, .workshop-list li, .testimonial-card, .newsletter, .blog-list li {
  box-shadow: 0 2px 12px 0 rgba(39,82,125,0.04);
  border-radius: 12px;
}

/* Hide Cookie Modal By Default */
.cookie-modal-overlay[hidden] { display: none !important; }
