/* ============================================================
   AMBER VOLTAGE INTERIORS STYLE.CSS
   Geometric Structured Design – Responsive, Flexbox Only
   ============================================================ */

/****************************
  0. CSS RESET & BASIC ROOTS
*****************************/

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 {
  /* Mobile base font size */
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #FFF;
  color: #353535;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-primary: #353535;
  --color-secondary: #DAD2C2;
  --color-accent: #FFD464;
  --color-white: #FFF;
  --color-black: #191919;
  --color-neutral: #F7F6F2;
  --shadow-md: 0 2px 10px rgba(21,21,21,0.07);
  --shadow-card: 0 4px 18px 0 rgba(53,53,53,0.08);
  --radius: 12px;
  --transition-main: 0.25s cubic-bezier(.5,.3,.2,1);
}


/****************************
  1. TYPOGRAPHY
*****************************/

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  text-rendering: optimizeLegibility;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.08;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
}

h2 {
  font-size: 2rem;
  line-height: 1.14;
  margin-bottom: 24px;
  text-transform: uppercase;
  border-left: 8px solid var(--color-accent);
  padding-left: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
}

h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

p, ul, ol, li, blockquote {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.02rem;
}

ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
  list-style-position: outside;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-main);
  font-family: inherit;
  border-radius: 3px;
  outline: none;
}

a:focus, a:hover {
  color: var(--color-accent);
}

blockquote {
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 20px;
  margin: 0 0 10px 0;
  font-size: 1.071rem;
  font-family: 'Montserrat', Arial, sans-serif;
}


/****************************
  2. CONTAINER & SECTIONS
*****************************/

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.text-section {
  background: var(--color-white);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px 0 rgba(53,53,53,0.06);
  margin-bottom: 20px;
  gap: 16px;
}

/****************************
  3. HEADER & NAVIGATION
*****************************/

header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(53,53,53,0.04);
  position: sticky;
  top: 0;
  z-index: 60;
 }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 15px 0;
  justify-content: flex-start;
}

.main-nav img {
  width: 48px;
  height: auto;
  display: block;
  margin-right: 24px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  padding: 7px 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 5px;
  background: none;
  color: var(--color-primary);
  transition: background var(--transition-main), color var(--transition-main);
  position: relative;
}

.main-nav a.cta-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 2px 8px 0 rgba(253, 212, 100, 0.15);
  border-radius: 8px;
  transition:
    background var(--transition-main),
    color var(--transition-main),
    box-shadow 0.3s cubic-bezier(.5,.3,.2,1);
}

.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 18px 0 rgba(53,53,53,0.07);
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 6px 16px;
  cursor: pointer;
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-secondary);
  box-shadow: 0 0 0 100vmax rgba(53,53,53,0.13);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.76,.02,.15,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.mobile-menu.open { /* .open class toggled via JS */
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  color: var(--color-primary);
  cursor: pointer;
  transition: color var(--transition-main);
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  gap: 18px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 16px;
  border-radius: 7px;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Hide main nav & show burger on mobile */
@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    float: right;
    position: absolute;
    top: 19px;
    right: 28px;
    z-index: 115;
  }
}
@media (min-width: 1041px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/****************************
  4. BUTTONS & CTA
*****************************/

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  text-transform: uppercase;
  padding: 14px 28px;
  margin-top: 14px;
  border: none;
  border-radius: 35px 10px 35px 10px / 10px 35px 10px 35px;
  box-shadow: 0 2px 12px 0 rgba(253, 212, 100, 0.16);
  cursor: pointer;
  transition:
    background var(--transition-main),
    color var(--transition-main),
    box-shadow 0.25s cubic-bezier(.5,.3,.2,1),
    transform 0.17s cubic-bezier(.4,.2,.2,1);
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 24px 0 rgba(53,53,53,0.09);
  transform: translateY(-2px) scale(1.04);
}

button,
input[type="button"], input[type="submit"], input[type="reset"] {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.055em;
  font-weight: 700;
  border-radius: 9px;
  border: none;
  outline: none;
}

/****************************
  5. FLEXBOX LAYOUTS & CARDS
*****************************/

.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div, .card {
  flex: 1 1 calc(240px - 24px);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s cubic-bezier(.42,.13,.24,1), transform 0.14s;
}
.feature-grid > div:hover, .card:hover {
  box-shadow: 0 6px 28px 0 rgba(53,53,53,0.16);
  transform: translateY(-3px) scale(1.024);
}

.card-container {
  margin-bottom: 20px; /* Ensure gap between cards and next block */
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Content grid: e.g. services or cards */
.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;
  width: 100%;
}

/****************************
  6. TESTIMONIALS
*****************************/

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: #F9F7EF;
  color: #2a2a2a;
  border-radius: 14px;
  box-shadow: 0 1px 10px 0 rgba(53,53,53,0.07);
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.07rem;
  margin-bottom: 20px;
  flex: 1 1 46%;
  min-width: 240px;
  max-width: 600px;
  border-left: 8px solid var(--color-accent);
}
.testimonial-card blockquote {
  color: #222;
  margin: 0 16px 0 0;
}
.testimonial-card footer {
  font-weight: bold;
  color: var(--color-primary);
  margin-left: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

/****************************
  7. FOOTER
*****************************/

footer {
  padding: 34px 0 10px 0;
  background: var(--color-secondary);
  border-top: 2px solid #eae8e2;
  margin-top: 48px;
  font-size: 0.93rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background var(--transition-main), color var(--transition-main);
}
.footer-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

footer p {
  color: var(--color-primary);
  opacity: 0.75;
  text-align: center;
  margin-top: 8px;
}

/****************************
  8. ICONS & IMAGES
*****************************/

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.feature-grid img,
.card img {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
  border-radius: 8px;
  background: var(--color-neutral);
  padding: 7px;
  box-shadow: 0 1px 4px 0 rgba(53,53,53,0.04);
}

.text-section > div img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
}

/****************************
  9. LISTS & FEATURES
*****************************/

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section ul {
  margin-top: 12px;
  margin-bottom: 8px;
}

.text-section ul li {
  line-height: 1.5;
  font-size: 1rem;
  position: relative;
  padding-left: 18px;
}
.text-section ul li:before {
  content: "■";
  color: var(--color-accent);
  font-size: 0.7em;
  position: absolute;
  left: 0; top: 5px;
}

/****************************
  10. COOKIE CONSENT BANNER
*****************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 19px 23px 19px;
  box-shadow: 0 -2px 12px 0 rgba(53,53,53,0.08);
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  z-index: 9999;
  font-size: 0.99rem;
  transition: transform 0.3s cubic-bezier(.5,.3,.2,1), opacity 0.2s linear;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  color: var(--color-primary);
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  padding: 10px 22px;
  border-radius: 28px 7px 28px 7px / 7px 28px 7px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main), box-shadow 0.18s;
  outline: none;
}
.cookie-banner button.cookie-reject {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner button.cookie-settings {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-banner button:hover,
.cookie-banner .cookie-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 2px 11px 0 rgba(53,53,53,0.13);
}

/****************************
  11. COOKIE MODAL
*****************************/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: opacity 0.26s;
}
.cookie-modal {
  background: var(--color-neutral);
  border-radius: 14px;
  padding: 32px 32px 22px 32px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 32px 0 rgba(53,53,53,0.15);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modalIn 0.40s cubic-bezier(.5,.3,.2,1);
}
@keyframes modalIn {
  from {opacity: 0; transform: translateY(80px) scale(.97);}
  to {opacity: 1; transform: translateY(0) scale(1);}
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  border: none;
  font-size: 1.33rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal-title {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: left;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-cat label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-toggle {
  width: 46px;
  height: 24px;
  background: #ece8da;
  border-radius: 20px;
  position: relative;
  transition: background .21s;
  margin-right: 7px;
  flex-shrink: 0;
  border: 1px solid #d8d1bb;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .toggle-slider {
  position: absolute; left: 2px; top: 2px;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-toggle input:checked + .toggle-slider {
  transform: translateX(22px);
  background: var(--color-primary);
}

.cookie-required {
  font-size: 0.93rem;
  color: #7d7d7d;
  margin-left: 12px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 7px;
}
.cookie-modal-buttons button {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 21px;
}

/*****************************
  12. RESPONSIVE DESIGN
******************************/

@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .section {
    padding: 28px 6px;
  }
  .feature-grid > div, .card {
    min-width: 180px;
    max-width: 97vw;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; padding-left: 7px; border-left-width: 4px; }
  .main-nav,
  .footer-nav {
    gap: 10px;
    font-size: 0.94rem;
  }
  .section {
    margin-bottom: 34px;
    padding: 18px 4px;
    border-radius: 10px;
  }
  .content-wrapper, .text-section {
    padding: 10px 3px;
    gap: 11px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: unset;
    max-width: none;
    flex: 1 1 100%;
  }
  .card {
    width: 100%;
    min-width: unset;
    max-width: none;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 12px;
    min-width: unset;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .mobile-menu {
    padding-top: 20px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 2px;
    max-width: 99vw;
  }
  .section {
    margin-bottom: 22px;
    padding: 10px 1px;
    border-radius: 8px;
  }
  h1, h2, h3 {
    font-size: 1.07rem;
    margin-bottom: 12px;
    padding-left: 0;
    border-left: none;
  }
  .cta-primary, .cookie-banner button, .cookie-banner .cookie-btn {
    width: 100%;
    padding-left: 0.5em; padding-right: 0.5em;
    min-width: 0;
  }
}

/* Accessibility: hide visually but readable */
.sr-only {
  border: 0 !important;
  clip: rect(0,0,0,0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/*****************************
  13. MICRO-INTERACTIONS
******************************/

.cta-primary, .feature-grid > div, .card, .testimonial-card, .cookie-banner button, .cookie-banner .cookie-btn, .mobile-nav a {
  transition: box-shadow 0.20s cubic-bezier(.4,.15,.2,.85),
              background 0.22s cubic-bezier(.5,.3,.2,1),
              color 0.22s cubic-bezier(.5,.3,.2,1),
              transform 0.15s cubic-bezier(.51,.23,.22,1.22);
}

.cta-primary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 7px 0 rgba(30,30,20,0.09);
}

.feature-grid > div:active, .card:active {
  transform: scale(0.99);
}

/*****************************
  14. PRINT STYLES
******************************/

@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .container {
    max-width: 100vw;
    padding: 0;
  }
}
