/* Dawn Traverse Renovări Tech Futuristic Styles v1.0 */

/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #212b36;
  color: #f5f7fa;
  /* Tech-futuristic, slightly blue black */
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #FFC107;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff056;
  text-shadow: 0 0 6px #FFC10780;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

/* BRAND COLORS AND FONTS VIA VARIABLES FOR MAINTENANCE */
:root {
  --color-primary: #263238;
  --color-bg-dark: #212b36;
  --color-bg-section: #232e3c;
  --color-secondary: #B0BEC5;
  --color-accent: #FFC107;
  --color-accent-neon: #FFE082;
  --color-white: #f5f7fa;
  --color-muted: #7a8b9c;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, Verdana, sans-serif;
  --radius-card: 18px;
  --shadow-soft: 0 8px 24px 0 #000b  ;
  --shadow-sharp: 0 2px 24px 0 #FFC10722, 0 1.5px 10px -5px #fff05633;
}

body {
  background: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* TYPOGRAPHY */
h1 {
  font-size: 2.75rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 0 12px #FFC10744;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.015em;
}
p, li, address, span, label, em {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
}
p, ul, ol, address {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--color-accent);
}
em {
  color: var(--color-muted);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-white);
  font-size: 1rem;
}

/* BRAND ACCENT LINES */
hr, .accent-line {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent) 70%);
  margin: 18px 0 24px 0;
  border-radius: 3px;
  width: 100%;
}

/* BUTTONS AND CTAS */
.cta-btn, button.cta-btn {
  background: var(--color-accent);
  color: #212b36;
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 0 8px 0 #FFC10766, 0 0 0 1px var(--color-accent);
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.27s cubic-bezier(.7,.01,.22,1.2);
  border: none;
  outline: none;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe082;
  color: #222;
  box-shadow: 0 0 20px 2px #FFC107aa, 0 0 0 2px #fff05688;
  text-shadow: 0 0 8px #fff1;
}
button, .btn, input[type="submit"], input[type="button"] {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, box-shadow 0.19s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--color-accent);
  color: #222b;
  box-shadow: 0 0 12px 2px var(--color-accent-neon);
}

/* MAIN NAVIGATION: Desktop */
header {
  width: 100%;
  background: #232e3cee;
  box-shadow: 0 0 16px 0 #1a263322;
  position: sticky;
  top: 0;
  z-index: 1300;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.main-nav a {
  color: #f5f7fa;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.018em;
  padding: 6px 6px;
  border-radius: 6px;
  transition: color .17s, background .18s;
  position: relative;
}
.main-nav a.cta-btn {
  margin-left: 12px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  background: #2d3a4b;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  display: inline-block;
  align-self: center;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 1501;
  background: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  border: 0;
  line-height: 1.1;
  cursor: pointer;
  transition: color .15s;
  width: 48px;
  height: 48px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #ffe082;
  background: #26323866;
  border-radius: 50%;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #212b36cc;
  backdrop-filter: blur(7px) brightness(0.95);
  box-shadow: 0 0 80px 20px #000a;
  z-index: 2002;
  display: flex;
  align-items: flex-start;
  transform: translateX(-120vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(.7,.07,.22,1.1), opacity 0.26s, visibility 0.36s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin: 22px 0 0 24px;
  font-size: 2.1rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
  padding: 6px 16px;
  border-radius: 14px;
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFC10722;
  color: #fff056;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: transparent;
  padding: 50px 24px 0 40px;
  height: 100vh;
  min-width: 62vw;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.27rem;
  letter-spacing: 0.013em;
  padding: 10px 0 6px 0;
  border-radius: 6px;
  font-weight: 500;
  width: 100%;
  transition: background .16s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2228;
  color: var(--color-accent);
  text-indent: 14px;
}

@media (max-width: 1020px) {
  .main-nav {
    max-width: 100vw;
    gap: 14px;
    font-size: 0.99rem;
  }
  .main-nav a {
    padding: 4px 4px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* SECTIONS & LAYOUTS: FLEXBOX ONLY */
section {
  width: 100%;
  margin-top: 0;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #232e3cf7;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 0 28px 0 #FFC10788, 0 1.5px 10px 0 #fff05633;
  transform: translateY(-6px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
}
.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #232e3c;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 6px 22px 0 #FFC10711, 0 1.5px 8px 0 #cbcde433;
  position: relative;
  min-width: 210px;
  max-width: 470px;
  font-size: 1.06rem;
  font-family: var(--font-body);
}
.testimonial-card p {
  color: #263238;
  font-size: 1.13rem;
  margin-bottom: 6px;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #616f7a;
}
.testimonial-card img[alt="Stea"] {
  display: inline-block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 2px #FFC107cc);
  margin-right: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #222d39e6;
  padding: 16px 22px;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px 0 #FFC10708;
  border-left: 3px solid var(--color-accent);
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.blog-list .text-section {
  flex: 1 1 250px;
  min-width: 230px;
  border-radius: 20px;
  background: #212b36;
  box-shadow: 0 2px 14px 0 #ffc10712;
  padding: 24px 18px;
  margin-bottom: 18px;
  transition: box-shadow 0.19s;
}
.blog-list .text-section:hover {
  box-shadow: 0 0 18px 1px #ffc10742, 0 1.5px 6px 0 #fff05612;
}

/* List styles */
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 32px;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.6;
}
ul li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  vertical-align: bottom;
  margin-right: 10px;
  margin-left: 0;
}
ul li strong {
  color: var(--color-accent);
}
ul li span {
  color: var(--color-secondary);
  font-weight: 400;
  margin-left: 8px;
}

ol {
  list-style: decimal inside;
}
ol li {
  padding-left: 0;
  margin-left: 0;
  color: var(--color-secondary);
  font-weight: 500;
}

/* Address section, contacts */
address, address ul {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
address ul li {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 8px;
  padding-left: 32px;
}
address ul li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.social-media {
  display: flex;
  gap: 12px;
  margin: 16px 0 0 0;
}
.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #232e3c;
  border-radius: 999px;
  box-shadow: 0 2px 10px 0 #FFC10711;
  transition: background .13s, box-shadow .18s;
}
.social-media a:hover, .social-media a:focus {
  background: var(--color-accent);
  box-shadow: 0 0 16px 2px #FFC10766;
}
.social-media img {
  width: 22px;
  height: 22px;
}

/* FOOTER */
footer {
  background: #181e26;
  padding: 48px 0 0 0;
  border-top: 2px solid #263238;
  box-shadow: 0 -6px 36px 0 #26323822;
}
footer .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.011em;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .14s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #232e3c;
  color: var(--color-accent);
}
footer address,
footer .social-media {
  margin-top: 4px;
}
footer p {
  color: #6c7a86;
  font-size: 0.96rem;
  margin: 22px 0 0 0;
  padding-bottom: 28px;
}

/* FAQ ACCORDION - For services.html */
.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-accordion h3 {
  background: #233046;
  color: var(--color-accent);
  padding: 14px 24px 14px 20px;
  font-size: 1.18rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 #FFC1070A;
  transition: background 0.22s, box-shadow 0.15s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: #263238;
  box-shadow: 0 4px 16px 0 #FFC10722;
}
.faq-accordion h3.open {
  background: var(--color-accent);
  color: #212b36;
}
.faq-accordion > div {
  background: #212b36;
  color: var(--color-white);
  margin-bottom: 10px;
  border-radius: 0 0 12px 12px;
  padding: 14px 22px;
  font-size: 1rem;
  display: none;
  box-shadow: 0 2px 6px 0 #FFC10711;
}
.faq-accordion > div.open {
  display: block;
  animation: fadeInAccordion .32s;
}
@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}

/* INPUTS */
input[type="search"],
input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 370px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #eaeaea;
  color: #121b23;
  border: 1px solid #FFC10799;
  box-shadow: 0 2px 6px 0 #FFC10714;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 12px;
  transition: border-color .18s, box-shadow .18s;
}
input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: #FFC107;
  box-shadow: 0 0 10px 0 #ffc10744;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 20px;
  }
  .footer-nav, .content-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 750px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .container { max-width: 98vw; }
  .section { padding: 24px 8px; }
  .testimonial-card, .card { max-width: 97vw; min-width: 0; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 580px) {
  h1 { font-size: 1.28rem; }
  .section { margin-bottom: 28px; padding: 16px 2vw; }
  .testimonial-card { padding: 13px 8px; margin-bottom: 14px; }
}

/* Cookie Consent Banner + Modal */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232e3cd9;
  color: #fff;
  padding: 20px 12px;
  box-shadow: 0 -6px 36px 0 #222b;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.24s;
  font-size: 1rem;
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
}
.cookie-consent-banner button, .cookie-consent-banner .btn {
  margin-left: 8px;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #232e3c;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .19s, box-shadow .15s;
  box-shadow: 0 0 6px #ffc1077c;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #ffe082;
  color: #111;
}
.cookie-consent-banner .btn.settings {
  background: var(--color-secondary);
  color: #263238;
}
.cookie-consent-banner .btn.settings:hover {
  background: #FFC107;
  color: #212b36;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #192024d7;
  backdrop-filter: blur(7px) brightness(0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #232e3c;
  box-shadow: 0 0 38px 0 #FFC10755, 0 3px 18px #232e3c22;
  border-radius: 14px;
  padding: 36px 28px 28px 28px;
  min-width: 330px;
  max-width: 97vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-modal h3 {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.065rem;
  margin-bottom: 6px;
  margin-top: 2px;
  color: #263238;
}
.cookie-modal input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-categories {
  margin-bottom: 12px;
}
.cookie-modal .cookie-req {
  font-weight: 700;
  color: #888;
  font-size: .98em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal .btn {
  background: var(--color-accent);
  color: #232e3c;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .16s;
  box-shadow: 0 0 6px #ffc1077c;
}
.cookie-modal .btn:hover, .cookie-modal .btn:focus {
  background: #ffe082;
  color: #111;
}
.cookie-modal .btn.cancel {
  background: var(--color-secondary);
  color: #263238;
}
.cookie-modal .btn.cancel:hover {
  background: #FFC107;
  color: #212b36;
}

@media(max-width: 570px) {
  .cookie-modal {
    padding: 16px 3vw 14px 3vw;
    min-width: 0;
  }
}

/* Micro-interactions */
.cta-btn::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg,#fff056 8%, #FFC107 80%);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(.52,.02,.44,1.34);
  margin-top: 5px;
}
.cta-btn:hover::after, .cta-btn:focus::after {
  width: 70%;
}

.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.99) translateY(1px);
  box-shadow: 0 2px 10px 0 #ffc10755;
}

input[type="search"]::-webkit-input-placeholder { color: #666b; }
input[type="search"]::-moz-placeholder { color: #666b; }
input[type="search"]:-ms-input-placeholder { color: #666b; }
input[type="search"]::placeholder { color: #666b; }

/* Animations for section transitions */
.section, .card, .testimonial-card, .cookie-modal, .cookie-consent-banner {
  animation: fadeInTF 0.47s cubic-bezier(0.34, 1.3, 0.48, 1);
}
@keyframes fadeInTF {
  from {
    opacity:0; transform:translateY(22px) scale(0.98);
  }
  to {
    opacity:1; transform:none;
  }
}

/* Hide accessibility outline only if not keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* END Dawn Traverse Tech Futuristic Styles */
