/**
 * site.css — Sunshine Space
 *
 * All custom styles for the site, consolidated from the former
 * custom.css, style.css, and inline <style> blocks in head.php and
 * scripts.php.  Third-party styles (divi.min.css, slick, fonts.css)
 * are loaded separately in includes/head.php.
 *
 * Table of Contents
 *   1.  Base – body, typography, containers, transitions, animations
 *   2.  Header – logo, navigation, search
 *   3.  Light Header – transparent overlay on hero sections
 *   4.  Fixed Header – styles applied after the page is scrolled
 *   5.  Mobile Menu – hamburger button + full-screen overlay
 *   6.  ET Mobile Navigation – Divi's collapsible mobile nav
 *   7.  Hero / Slider – full-height slide sections
 *   8.  Cases & Project Grid – index/category listing pages
 *   9.  Single Project – highlight, blog text, facts, gallery, nav
 *  10.  Slick Slider – carousel dots, arrows and layout
 *  11.  Index Section – alphabetical project index
 *  12.  Short Layout – split left/right project view
 *  13.  Gallery – grid overrides for et_pb_gallery
 *  14.  Search – header search form
 *  15.  Contact Page
 *  16.  Studio Page
 *  17.  Footer
 *  18.  Lazy Load Images – placeholder/reveal animation
 *  19.  Responsive – tablet (max-width: 980px)
 *  20.  Responsive – mobile (max-width: 1000px)
 */

/* ==========================================================================
   1. Base
   ========================================================================== */

/* Smooth transitions on interactive elements */
.mobile-menu,
a.case-link::after,
.menu-mobile-menu-container li a,
.small-menu li a,
#prev-next a span,
#prev-next a,
.index-bottom a {
  transition: 0.3s ease-in-out !important;
}

a.case-link p {
  transition: 0.15s ease-in-out !important;
}

body {
  font-size: 12px;
  color: #383839;
  background-color: #f5f1e5;
  overflow-x: hidden;
}

a {
  color: #383839;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #383839;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 8px;
}

h1 {
  font-size: 23px;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 17px;
}
h4 {
  font-size: 14px;
}
h5 {
  font-size: 12px;
}
h6 {
  font-size: 11px;
}

/* Font-family overrides (Divi uses generic sans by default).
 * Never apply to ::before / ::after — those use the ETmodules icon font. */
body,
p,
span,
div,
a,
li,
input,
button,
textarea,
select,
.fact h5 {
  font-family: "Euclid" !important;
  letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.sticky p,
.menu-mobile-menu-container li a,
.blog-text *,
.blog-text,
.fact * {
  font-family: "adobe-caslon-pro", serif !important;
  text-transform: uppercase;
}

.fact h5 {
  font-family: "Euclid" !important;
  letter-spacing: 0.5px;
  text-transform: uppercase !important;
}

.fact * {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

/* Dark layout text (Divi bg-layout override) */
#main-header.light-header #top-menu li a,
.et_pb_bg_layout_dark,
.et_pb_bg_layout_dark h1,
.et_pb_bg_layout_dark h2,
.et_pb_bg_layout_dark h3,
.et_pb_bg_layout_dark h4,
.et_pb_bg_layout_dark h5,
.et_pb_bg_layout_dark h6,
#highlight .et_pb_bg_layout_dark * {
  color: #f6f0de !important;
}

/* Section/area backgrounds */
.et_pb_section,
.et_builder_inner_content,
#et-main-area,
#main-content {
  background: #f5f1e5;
}

/* Remove Divi sidebar and decorative pseudo-elements */
#sidebar,
#main-content .container::before,
#top-menu .menu-item-has-children > a:first-child::after {
  display: none !important;
}

#left-area {
  width: 100% !important;
  padding-right: 0 !important;
}

/* Containers */
.container,
.et_pb_row {
  width: 90%;
  max-width: 90%;
}

#main-header .container,
.container.prev-next,
#index .container {
  max-width: 95%;
  width: 95%;
}

/* Scroll animation */
.et-waypoint.et_pb_animation_bottom.et-animated,
.et_pb_animation_bottom.et-animated {
  animation: fadeBottom 0.5s cubic-bezier(0.86, 0, 0.07, 1) 1 !important;
}

/* ==========================================================================
   2. Header
   ========================================================================== */

#main-header {
  box-shadow: none !important;
}

#main-header,
#main-header .nav li ul,
.et-search-form,
#main-header .et_mobile_menu {
  background-color: rgba(255, 255, 255, 0);
}

#logo {
  max-height: 12px !important;
}

/* Navigation alignment (override Divi's float: right default) */
#et-top-navigation,
nav#top-menu-nav,
#top-menu,
nav.et-menu-nav,
.et-menu {
  float: none !important;
  padding-left: 0 !important;
  text-align: center !important;
}

#top-menu li a,
.et_mobile_menu li a,
#et_search_icon:before,
.et_search_form_container input,
span.et_close_search_field:after,
#et-top-navigation .et-cart-info {
  color: #383839;
}

#top-menu li a {
  font-size: 12px !important;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a,
#main-header #top-menu-nav li.current-menu-ancestor > a,
#main-header #top-menu-nav li.current-menu-item > a {
  color: #383839;
  font-weight: 900 !important;
}

/* Remove padding arrow from parent menu items */
#top-menu .menu-item-has-children > a:first-child,
#et-secondary-nav .menu-item-has-children > a:first-child {
  padding-right: 0 !important;
}

/* Sub-menu dropdown */
.nav li ul {
  top: 30px;
  border-top: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#top-menu li li,
#top-menu li li a {
  padding: 0 !important;
  background: none !important;
}

/* ==========================================================================
   3. Light Header (transparent, over hero)
   ========================================================================== */

#main-header.light-header {
  background-color: rgba(255, 255, 255, 0);
}

#main-header.light-header #top-menu > li > a,
#main-header.light-header #et_search_icon::before,
#main-header.light-header .et-search-form input,
#main-header.light-header span.et_close_search_field::after {
  color: #f6f0de !important;
}

#main-header.light-header .mobile_menu_bar::before {
  color: #f6f0de !important;
}

/* Tint hamburger bars for the light (transparent) header — all screen sizes */
#main-header.light-header .mobile-menu span {
  background: #f6f0de !important;
}

#main-header.light-header #logo {
  filter: invert(100%);
}

/* ==========================================================================
   4. Fixed Header (after scrolling)
   ========================================================================== */

.et-fixed-header#main-header,
.et-fixed-header#main-header .nav li ul,
.et-fixed-header .et-search-form {
  background-color: #f5f1e5;
}

.et-fixed-header #top-menu a,
.et-fixed-header #et_search_icon:before,
#main-header.et-fixed-header #top-menu li a {
  color: #383839 !important;
}

/* Override light-header when fixed (scrolled down) */
#main-header.light-header.et-fixed-header #top-menu > li > a,
#main-header.light-header.et-fixed-header #et_search_icon::before,
#main-header.light-header.et-fixed-header .et-search-form input,
#main-header.light-header.et-fixed-header span.et_close_search_field::after {
  color: #383839 !important;
}

#main-header.et-fixed-header #logo {
  filter: invert(0%) !important;
}

#main-header.et-fixed-header .mobile-menu span {
  background: #383839 !important;
}

#main-header.et-fixed-header .mobile-menu {
  top: 30px;
}

@media only screen and (min-width: 981px) {
  .et_header_style_left #et-top-navigation,
  .et_header_style_split #et-top-navigation {
    padding: 61px 0 0 0;
  }

  .et_header_style_left #et-top-navigation nav > ul > li > a,
  .et_header_style_split #et-top-navigation nav > ul > li > a {
    padding-bottom: 61px;
  }

  #logo {
    max-height: 30%;
  }

  .et_header_style_left .et-fixed-header #et-top-navigation,
  .et_header_style_split .et-fixed-header #et-top-navigation {
    padding: 30px 0 0 0;
  }

  .et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a,
  .et_header_style_split .et-fixed-header #et-top-navigation nav > ul > li > a {
    padding-bottom: 30px;
  }
}

/* ==========================================================================
   5. Mobile Menu
   ========================================================================== */

/* Hamburger button */
.mobile-menu {
  display: none;
  width: 20px;
  position: absolute;
  right: 0;
  top: 61px;
  cursor: pointer;
  z-index: 9999999999;
}

.mobile-menu span {
  display: block;
  width: 100%;
  height: 1px;
  background: #383839;
  margin-bottom: 5px;
  position: relative;
  transition: 0.3s ease-in-out !important;
}

/* X animation when menu is open */
.mobile-menu.opened span:nth-child(1) {
  transform: rotate(45deg);
  top: 3px;
}
.mobile-menu.opened span:nth-child(2) {
  display: none;
}
.mobile-menu.opened span:nth-child(3) {
  transform: rotate(-45deg);
  top: -3px;
}

/* Full-screen overlay menu (slides in from top) */
.hidden-mobile-menu {
  position: fixed;
  top: -100vh;
  left: 0;
  height: 100vh;
  width: 100%;
  padding: 10%;
  background: #f5f1e5;
  z-index: 9999999;
  transition: top 1s cubic-bezier(0.76, 0, 0.24, 1) 0s;
}

.hidden-mobile-menu.opened {
  top: 0;
}

/* Menu items inside the overlay */
.menu-mobile-menu-container li {
  margin-bottom: 10px;
  line-height: 30px;
}

.menu-mobile-menu-container li a {
  font-size: 31px !important;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #000 !important;
  opacity: 0.3;
}

.menu-mobile-menu-container li a:hover,
.menu-mobile-menu-container li.current-menu-item > a {
  opacity: 1 !important;
}

/* Sub-menu positioning inside overlay */
.menu-mobile-menu-container ul.sub-menu {
  display: none;
  position: static;
  padding-left: 20px;
  width: 100%;
}

.menu-mobile-menu-container .sub-toggle {
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.5;
  font-size: 19px;
  vertical-align: middle;
  user-select: none;
}

#menu-mobile-menu {
  width: 450px;
  position: relative;
}

/* Secondary "small" menu at the bottom of the overlay */
.small-menu {
  position: absolute;
  bottom: 10%;
}

.small-menu li {
  display: inline-block;
}

.small-menu li a {
  text-transform: uppercase;
  color: #383839;
  opacity: 0.3;
}

.small-menu li a:hover {
  opacity: 1 !important;
}

.small-menu li::after {
  content: "|";
  display: inline-block;
  opacity: 0.3;
  margin: 0 15px;
}

.small-menu li:last-child::after {
  display: none;
}

/* ==========================================================================
   6. ET Mobile Navigation (Divi's own mobile nav)
   ========================================================================== */

#main-header .et_mobile_menu {
  min-width: 100vw;
  margin-left: -2.5vw;
  padding: 3% !important;
  top: 0 !important;
  padding-top: 100px !important;
}

.et_mobile_menu {
  min-height: 100vh !important;
  padding-top: 50px !important;
}

#main-header .et_mobile_menu li a {
  text-align: left !important;
  text-transform: uppercase;
  padding-left: 0 !important;
  padding-right: 0 !important;
  letter-spacing: 5px;
  color: #000 !important;
  font-size: 21px !important;
  opacity: 0.3 !important;
  font-family: adobe-caslon-pro !important;
  background: none !important;
  border: none !important;
  font-weight: 500 !important;
}

#et_mobile_nav_menu {
  display: none !important;
}

/* Collapsible sub-menu arrows (rendered by site.js / Divi) */
#main-header .et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  position: relative;
}

#main-header .et_mobile_menu .menu-item-has-children > a::after {
  font-family: "ETmodules";
  font-size: 21px;
  content: "3";
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  top: 9px;
  right: 0;
}

#main-header .et_mobile_menu .menu-item-has-children.visible > a::after {
  content: "2";
}

#main-header .et_mobile_menu ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu .visible > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
}

/* ==========================================================================
   7. Hero / Slider
   ========================================================================== */

#front {
  padding-top: 0 !important;
}

.et_pb_slide {
  height: 100vh;
}

.et_pb_slides .et_pb_slider_container_inner {
  vertical-align: bottom;
}

.et_pb_slide_description,
.et_pb_slider_fullwidth_off .et_pb_slide_description {
  padding: 0 8% 80px !important;
}

.et-pb-arrow-next,
.et-pb-arrow-prev {
  font-size: 31px !important;
}

.et_pb_slide_description .et_pb_slide_title,
#main-content h2,
#main-content h4.et_pb_module_header {
  font-size: 14px !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

/* Highlight section (used on project detail pages) */
#highlight {
  height: calc(100vh - 70px) !important;
  display: grid;
  align-content: center;
  background-size: cover !important;
}

.et_pb_slide_content,
#highlight .highlight-content {
  max-width: 750px;
  margin: auto auto 0 !important;
  font-size: 12px !important;
}

.highlight-content {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
}

#highlight .et_pb_column,
#highlight .et_pb_row {
  position: static;
}

/* Sticky scroll indicator (project sidebar dot) */
div.sticky {
  position: sticky;
  float: left;
  width: 5px;
  top: 45%;
  bottom: 200px;
  margin-bottom: 183px !important;
}

div.sticky-right {
  float: right;
}

.sticky p {
  position: absolute;
  left: -40px;
  text-align: center;
}

div.sticky-right p {
  left: inherit;
  right: -40px;
  text-align: center;
}

/* ==========================================================================
   8. Cases & Project Grid
   ========================================================================== */

/* Primary 4-column grid with featured item spanning 2 columns */
#cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 1.3vw;
  grid-row-gap: 1.3vw;
}

/* Grid layout variants */
#philosophy,
#cases-two,
#cases-six,
#cases-three,
#cases-four {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1.3vw;
  grid-row-gap: 1.3vw;
}

#cases-two {
  grid-template-columns: 1fr 1fr;
}
#cases-six {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
#cases-three {
  grid-template-columns: 1fr 1fr 1fr;
}
#cases-four {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Named grid areas for the first six items of the primary grid */
.div1 {
  grid-area: 1 / 1 / 2 / 3;
}
.div2 {
  grid-area: 1 / 3 / 2 / 4;
}
.div3 {
  grid-area: 1 / 4 / 2 / 5;
}
.div4 {
  grid-area: 2 / 1 / 3 / 2;
}
.div5 {
  grid-area: 2 / 2 / 3 / 3;
}
.div6 {
  grid-area: 2 / 3 / 3 / 5;
}

.cases-item {
  margin-bottom: 50px !important;
}

#cases h2.title,
#philosophy h2.title,
#cases-two h2.title,
#cases-six h2.title,
#cases-three h2.title,
#cases-four h2.title {
  padding-top: 30px;
  letter-spacing: 5px !important;
}

/* Image wrapper – needed for the hover overlay pseudo-element */
.image-wrapper {
  overflow: hidden;
  position: relative;
}

/* All images inside a locked-aspect wrapper fill it exactly */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Override smush lazy-load forced width/aspect-ratio so the wrapper's
   aspect-ratio controls the height, not the image's intrinsic size */
.image-wrapper .lazyload,
.image-wrapper .lazyloading,
.image-wrapper .lazyloaded {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

/*
 * Equal-height rows in #cases
 *
 * Row 1 & 2 share the same track height.
 * Wide items (div1, div6) span 2 columns  →  landscape aspect  ~894:685
 * Narrow items (div2–div5) span 1 column  →  portrait aspect   ~447:685
 * (half the width, same intended height)
 */
#cases .div1 .image-wrapper,
#cases .div6 .image-wrapper {
  aspect-ratio: 894 / 685;
}

#cases .div2 .image-wrapper,
#cases .div3 .image-wrapper,
#cases .div4 .image-wrapper,
#cases .div5 .image-wrapper {
  aspect-ratio: 447 / 685;
}

/* Video wrapper (used for cases items that contain an inline video) */
.cases-item .video-wrapper {
  position: absolute;
  top: 0;
  bottom: 6px;
  overflow: hidden;
}

/* Hover overlay – semi-transparent fill + "View" label */
a.case-link::after {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 6px;
  background: rgba(245, 241, 229, 0.2);
  opacity: 0;
}

a.case-link p {
  position: absolute;
  top: -10px;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  align-content: center;
  text-align: center;
  z-index: 999999;
  color: white;
  text-transform: uppercase;
  font-size: 19px !important;
  letter-spacing: 5px !important;
  opacity: 0;
}

a.case-link:hover p {
  top: 0;
  opacity: 1;
}
a.case-link:hover::after {
  opacity: 1;
}

/* Tags (category/brand labels below each item) */
.tags {
  margin-top: 20px;
}

#highlight .tags {
  margin-top: 0;
}

.tags,
.tags *,
.et_main_title .et_project_categories * {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
}

.tags p {
  display: inline-block;
}
.tags span {
  margin: 0 10px;
}

/* ==========================================================================
   9. Single Project Page
   ========================================================================== */

.single-project #highlight {
  height: 100vh !important;
}

.single-project #highlight .tags a {
  margin: 0 10px;
}

/* Project title */
#main-content .project-title h2,
.et_pb_title_container h1,
.single-project .et_main_title h1 {
  font-size: 31px !important;
  letter-spacing: 15px !important;
  margin-bottom: 10px !important;
}

.et_main_title .et_project_categories *,
.et_main_title .et_project_categories {
  font-size: 12px !important;
  color: #666 !important;
}

.et_main_title .et_project_categories a {
  margin: 0 10px;
}

/* Long-form text blocks */
.blog-text *,
.blog-text {
  font-size: 19px;
  line-height: 28px;
  text-transform: none;
}

.blog-text.quote * {
  font-size: 23px;
  line-height: 32px;
}

.blog-text p {
  padding-bottom: 30px;
}

.blog-text p::first-letter {
  padding-left: 40px;
}
.blog-text.no-padding p::first-letter {
  padding-left: 0;
}
.blog-text p:first-child::first-letter {
  padding-left: 0;
}

.border-bottom {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Metadata: location, facts, prev/next */
.located *,
.fact h5,
#prev-next *,
.index-bottom * {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  font-weight: 600 !important;
}

.located {
  margin-top: 30px;
}

.fact {
  margin-bottom: 20px !important;
}

.single-project .et_pb_module {
  margin-bottom: 30px !important;
}
.single-project .et_pb_module.et_pb_code.sticky {
  margin-bottom: 0 !important;
}
.single-project .et_pb_code.sticky p {
  left: -5vw;
}
.single-project .et_pb_code.sticky-right p {
  right: -5vw;
  left: inherit;
}

/* Inline gallery layout */
#gallery .et_pb_column_1_3 {
  width: calc(33.3% - 14px);
  margin-right: 20px;
}

#gallery .et_pb_column_1_2 {
  width: calc(50% - 10px);
  margin-right: 20px;
}

/* Prev / Next navigation */
#prev-next,
.index-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 40px;
  padding-bottom: 58px;
}

.index-bottom {
  grid-template-columns: 1fr 1fr;
}

.index-right {
  text-align: right;
}
#prev-next .center {
  text-align: center;
}
#prev-next .right {
  text-align: right;
}

#prev-next *,
.index-bottom * {
  color: #666;
}

#prev-next a:hover *,
.index-bottom a:hover {
  color: black !important;
}

#prev-next span.seperate {
  margin: 0 10px;
}

.index-bottom a::after,
.right span.meta-nav::after {
  display: inline-block;
  content: '"';
  font-family: ETmodules !important;
  position: relative;
  top: 1px;
  margin-left: 5px;
}

.right span.meta-nav::after {
  content: "5";
}

/* Archive sticky sidebar offset */
.archive div.sticky {
  margin-bottom: 218px !important;
}

/* Short left/right layout */
.short-left,
.short-right {
  width: 50% !important;
  display: inline-block;
  vertical-align: top;
  min-height: 100vh;
}

.short-left {
  position: relative;
}

.short-right {
  position: sticky;
  top: 0;
  align-self: start;
}

.short-left .et_main_title,
.short-left .short-left-content {
  padding: 50px 100px;
}

.short-left .et_main_title {
  padding-top: 250px;
  text-align: center;
}

.short-left .short-left-content {
  padding-bottom: 150px !important;
}

.short-left #index .container {
  padding-top: 50px !important;
}

.short-left #index {
  padding-bottom: 0 !important;
  margin-bottom: 6px;
}

#main-content .short-left .container {
  max-width: 90% !important;
}

.short-left .container.prev-next {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.short-left .index-wrapper {
  grid-template-columns: repeat(auto-fill, minmax(15%, 1fr));
}

#main-content .short-left #index h2 {
  padding-bottom: 50px !important;
}

/* Magnific popup close button */
.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close {
  opacity: 1 !important;
  position: absolute;
  font-size: 35px;
  top: -3px !important;
}

/* ==========================================================================
   10. Slick Slider
   ========================================================================== */

.short-right .slick-slide {
  margin: 0 !important;
}
.short-right .slick-slide img {
  max-height: inherit !important;
}

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

.slick-dots {
  bottom: 40px !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 40px !important;
  text-align: right;
  margin-left: 50%;
  width: 50%;
}

.slick-dots li {
  width: 15px;
  margin: 0;
}
.slick-dots li button::before {
  color: white !important;
  opacity: 0.5 !important;
}
.slick-dots li.slick-active button::before {
  opacity: 1 !important;
}

.slick-prev::before,
.slick-next::before {
  font-family: ETmodules !important;
  content: "4";
  font-size: 27px !important;
}

.slick-prev,
.slick-next {
  top: inherit;
  bottom: 40px;
}

.slick-prev {
  left: 30px !important;
  z-index: 99;
}
.slick-next {
  right: inherit !important;
  left: 75px !important;
}
.slick-next::before {
  content: "5" !important;
}

.single-project #left-area {
  padding-bottom: 0 !important;
}

/* ==========================================================================
   11. Index Section (alphabetical project index)
   ========================================================================== */

#index {
  background: #e1dbd0;
  padding-bottom: 78px;
}

#main-content #index h2 {
  padding: 20px 0 35px;
  text-align: center;
}

.index-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8%, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 0.5vw;
}

.landscape {
  grid-column: span 2;
  text-align: center;
}

.portrait {
  grid-column: span 1;
  text-align: center;
}

.landscape p,
.portrait p {
  font-size: 11px;
  font-weight: 600;
}

.index-bottom {
  padding-top: 78px;
}

/* ==========================================================================
   12. Gallery (et_pb_gallery grid overrides)
   ========================================================================== */

#main-content .et_pb_gallery_grid .et_pb_gallery_item {
  clear: none !important;
  width: 16.25% !important;
  margin-right: 0.5% !important;
  float: none !important;
  display: inline-block !important;
  margin-bottom: 0.5% !important;
}

#main-content .et_pb_gallery_grid .et_pb_gallery_item:nth-child(6n) {
  margin-right: 0 !important;
}

.et_overlay {
  background: hsla(0, 0%, 100%, 0.5) !important;
  border: none !important;
}

.et_overlay::before {
  display: none !important;
}

.et_pb_gallery_image img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   13. Search
   ========================================================================== */

#et_top_search {
  position: absolute;
  right: 0;
  top: 59px;
  transition: 0.3s ease-in-out;
}

@media only screen and (max-width: 1000px) {
  #et_top_search {
    top: 19px;
  }
}

.et-search-form input {
  width: 20%;
}
span.et_close_search_field::after {
  font-size: 25px !important;
}
span.et_close_search_field {
  top: 4px !important;
  right: 0 !important;
}

/* ==========================================================================
   14. Contact Page
   ========================================================================== */

#contact-row {
  min-height: 100vh;
}

.align-center {
  display: grid;
  align-content: center;
}

.contact-text h2 {
  padding-bottom: 0 !important;
}
.contact-text {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.contact-text::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 20px auto 30px;
  background: rgba(0, 0, 0, 0.2);
  content: "";
}

.contact-text.last::after {
  display: none !important;
}

.contact-bottom-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: auto;
}

/* ==========================================================================
   15. Studio Page
   ========================================================================== */

#main-content h4.et_pb_module_header {
  margin-top: 40px !important;
}
#main-content .sticky.studio {
  margin-bottom: 125px !important;
  top: 30% !important;
}
#people .tags {
  margin-bottom: 40px !important;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

#main-footer {
  background-color: #f5f1e5;
}

#footer-widgets {
  padding: 8% 0 0 !important;
}

#footer-widgets .footer-widget a,
#footer-widgets .footer-widget li a,
#footer-widgets .footer-widget li a:hover,
.footer-widget {
  color: #666666;
}

#main-footer .footer-widget h4,
.small-menu li a {
  color: #000000;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 15px !important;
  font-family: "Euclid" !important;
  letter-spacing: 2px !important;
}

#footer-widgets .footer-widget li::before {
  display: none !important;
}
#footer-widgets .footer-widget li {
  padding-left: 0 !important;
}
#main-footer img {
  height: 12px !important;
  width: inherit;
}

.et_pb_gutters3.et_pb_footer_columns5 .footer-widget {
  width: 8% !important;
  margin-right: 4% !important;
}

.et_pb_gutters3.et_pb_footer_columns5 .footer-widget:first-child {
  width: 50% !important;
  margin-right: 0 !important;
}

#footer-bottom {
  background-color: rgba(0, 0, 0, 0);
}

#footer-info {
  font-size: 12px;
}

#footer-info,
.footer-column {
  display: inline-block;
  width: 49.5%;
  vertical-align: middle;
  float: none !important;
}

.footer-column p,
.footer-column span {
  font-size: 12px;
  color: #666;
}

.footer-column span {
  margin: 0 15px;
}

/* ==========================================================================
   17. Lazy Load Images
   Styles moved here from the inline <style> block in includes/head.php.
   Controls placeholder sizing and fade-in reveal animation.
   ========================================================================== */

.lazyload,
.lazyloading {
  max-width: 100%;
  --smush-placeholder-width: 100px;
  --smush-placeholder-aspect-ratio: 1/1;
  width: var(--smush-image-width, var(--smush-placeholder-width)) !important;
  aspect-ratio: var(--smush-image-aspect-ratio, var(--smush-placeholder-aspect-ratio)) !important;
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 400ms;
  transition-delay: 0ms;
}

.no-js img.lazyload {
  display: none;
}

figure.wp-block-image img.lazyloading {
  min-width: 150px;
}

body.custom-background {
  background-color: #f5f1e5;
}

/* ==========================================================================
   18. Responsive – tablet (max-width: 980px)
   ========================================================================== */

@media all and (max-width: 980px) {
  #main-content .et_pb_gallery_grid .et_pb_gallery_item {
    width: 48.5% !important;
    margin-right: 1.5% !important;
  }

  .custom_row,
  .short-content {
    display: flex;
    flex-wrap: wrap;
  }

  .first-on-mobile,
  .short-right {
    order: 1;
  }

  .second-on-mobile,
  .short-left {
    order: 2;
  }
}

/* ==========================================================================
   19. Responsive – mobile (max-width: 1000px)
   ========================================================================== */

@media only screen and (max-width: 1000px) {
  /* Header */
  .et_header_style_left .logo_container {
    padding-top: 20px;
  }

  .mobile-menu {
    display: block;
    top: 25px;
  }

  #et_mobile_nav_menu {
    display: none !important;
  }

  .menu-mobile-menu-container li a {
    font-size: 17px !important;
  }
  .menu-mobile-menu-container li {
    margin-bottom: 10px;
  }
  .hidden-mobile-menu {
    padding-top: 70px;
  }

  /* Slider */
  .et_pb_slide {
    height: 70vh;
  }

  .et_pb_slide_content,
  #highlight .highlight-content,
  .cases-excerpt p {
    font-size: 11px !important;
    line-height: 16px !important;
  }

  .et_pb_slide_description,
  .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 0 0 50px !important;
  }

  .et_main_title .et_project_categories span.brand {
    margin-right: 10px;
  }

  /* Cases grid – 2 columns on mobile, wide items full width */
  #cases {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 5%;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5,
  .div6 {
    grid-area: auto !important;
  }

  #cases .cases-item {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    display: block;
    margin-right: 0 !important;
    margin-bottom: 30px;
  }

  /* div1 and div6 (wide items) stay full width */
  #cases .cases-item.div1,
  #cases .cases-item.div6 {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  #cases h2.title,
  #philosophy h2.title,
  #cases-two h2.title,
  #cases-six h2.title,
  #cases-three h2.title,
  #cases-four h2.title,
  #main-content h2 {
    letter-spacing: 3px !important;
    line-height: 18px;
  }

  #main-content #highlight h2 {
    line-height: 38px;
  }

  .tags {
    margin-top: 20px;
    line-height: 7px;
    font-size: 10px !important;
  }

  .tags p a:first-child,
  .tags p span {
    display: none !important;
  }

  div.sticky {
    display: none !important;
  }

  #cases .cases-item.div6 {
    display: block !important;
    width: 100% !important;
  }

  #highlight,
  .single-project #highlight {
    height: 70vh !important;
  }

  #highlight .highlight-content {
    padding: 0 5%;
  }

  /* Sub-grids */
  #philosophy,
  #cases-six,
  #cases-three,
  #cases-four {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 4%;
    grid-row-gap: 4%;
  }

  #cases-two {
    grid-template-columns: 1fr;
  }

  .cases-item {
    margin-bottom: 0;
  }
  #cases-six .cases-item:last-child,
  #cases-three .cases-item:last-child {
    display: none !important;
  }

  .cases-excerpt p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }

  /* Contact */
  #contact-row .et_pb_column_empty {
    min-height: 50vh !important;
    display: block !important;
    margin-top: 65px !important;
    margin-bottom: 65px !important;
  }

  .contact-bottom-text {
    position: relative;
    bottom: inherit;
    margin-top: 100px;
    max-width: 90%;
  }

  /* Single project */
  #gallery.et_pb_row,
  .single-project #main-content .et_pb_row {
    max-width: 90%;
    width: 90%;
  }

  .single-project #highlight {
    height: 30vh !important;
  }
  .single-project #main-content #highlight {
    max-width: 90%;
    width: 90%;
  }
  .single-project #main-content #highlight.et_pb_section_0 {
    height: 70vh !important;
    max-width: 100%;
    width: 100%;
  }

  .single-project .quote *,
  .single-project .located *,
  .single-project .fact * {
    text-align: center !important;
  }

  #prev-next,
  .index-bottom {
    grid-template-columns: 1fr;
  }

  #prev-next * {
    text-align: center !important;
  }
  #prev-next .center {
    padding: 30px 0;
  }

  .et_pb_module.et_pb_text_align_justified {
    text-align: left;
  }

  /* Short layout stacks vertically */
  .short-left,
  .short-right {
    width: 100% !important;
    display: block !important;
  }

  .short-left .et_main_title,
  .short-left .short-left-content {
    padding: 50px 20px !important;
  }

  .short-left .container.prev-next {
    position: relative;
  }

  .short-left .short-left-content {
    padding-bottom: 50px !important;
    padding-top: 0 !important;
  }

  .short-right {
    position: relative;
    min-height: 40vh;
  }

  .short-left {
    min-height: inherit !important;
  }

  .index-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 1.5vw;
  }

  #people .tags p a:first-child,
  #people .tags p span {
    display: inline-block !important;
  }

  .page-id-6 #highlight,
  .page-id-6 #front .et_pb_slide {
    height: 30vh !important;
  }

  /* Video slider */
  .video-slider {
    height: 50vh;
  }

  /* Footer */
  #footer-widgets .footer-widget:nth-child(1) {
    padding: 50px 0 30px;
  }
  #footer-widgets .footer-widget:nth-child(2),
  #footer-widgets .footer-widget:nth-child(3),
  #footer-widgets .footer-widget:nth-child(4) {
    width: 33% !important;
  }
  #footer-widgets .footer-widget:nth-child(5),
  #footer-info {
    display: none !important;
  }

  #footer-info,
  .footer-column {
    padding-bottom: 20px;
    text-align: right;
    width: 100%;
  }
}

/* ==========================================================================
   21. ETmodules Icon Fallbacks
   ──────────────────────────────────────────────────────────────────────────
   The ETmodules icon font (Divi's UI icon font) must be present at
   assets/css/core/admin/fonts/modules/all/modules.{woff,ttf,svg}.
   If those files are missing or 0-byte the ::before characters render as
   plain Latin letters (e.g. "U" for the search icon, content "\55").

   To restore properly:
     1. Log in to elegantthemes.com/members
     2. Download the Divi theme ZIP
     3. Copy  css/core/  from the ZIP into  assets/css/core/
        (replacing the current 0-byte placeholder files)

   Until then, the rules below replace each broken icon with an SVG-based
   substitute so the UI remains usable.
   ========================================================================== */

/* — Search icon (\55 = "U" in any non-ETmodules font) — */
#et_search_icon::before {
  content: "" !important;
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  margin-top: -2px !important;
  vertical-align: middle !important;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cline x1='21' y1='21' x2='15.8' y2='15.8'/%3E%3C/svg%3E");
}

/* Light header tint — match the icon colour to the surrounding text */
#main-header.light-header #et_search_icon::before {
  filter: brightness(0) invert(1);
}

/* — Close-search field "×" (\D7 or similar in ETmodules) — */
span.et_close_search_field::after {
  content: "×" !important;
  font-family: sans-serif !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

/* — Slider prev / next arrows —
   Note: currentColor does not work in background-image data URLs — SVGs are
   rendered as standalone images outside the CSS cascade, so colour must be
   hard-coded.  Default is white (for dark-background slides); Divi adds
   .et_pb_bg_layout_light per-slide for light backgrounds, handled below. */
.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  vertical-align: middle !important;
}
.et-pb-arrow-prev::before {
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.et-pb-arrow-next::before {
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}
/* Dark arrows for slides Divi marks as light-background */
.et_pb_bg_layout_light .et-pb-arrow-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23383839' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.et_pb_bg_layout_light .et-pb-arrow-next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23383839' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* — Accordion toggle arrow (.et_pb_toggle_title::before) — */
.et_pb_toggle_title::before {
  content: "" !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 6px !important;
  vertical-align: middle !important;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.et_pb_toggle_open .et_pb_toggle_title::before {
  transform: rotate(180deg);
}

/* ==========================================================================
   21. Homepage — DIY Furniture Sections (Romanian)
   ========================================================================== */

/* ── Section intro subtitle ── */
.section-intro {
  font-family: "Euclid", sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  color: #666 !important;
  max-width: 560px;
  margin: 8px auto 0;
  line-height: 1.7;
}

/* ── CTA Button (shared) ── */
.hero-diy__btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 32px;
  background: transparent;
  color: #f6f0de !important;
  border: 1px solid #f6f0de;
  font-family: "Euclid", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.hero-diy__btn:hover {
  background: #f6f0de;
  color: #383839 !important;
}

/* ── HERO ── */
.hero-diy {
  position: relative;
  min-height: 100vh;
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
}
.hero-diy__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-diy:hover .hero-diy__bg {
  transform: scale(1);
}
.hero-diy__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 20, 0.25);
}
.hero-diy__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5% 72px;
  max-width: 860px;
}
.hero-diy__pre {
  font-family: "Euclid", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #fcd78b !important;
  margin-bottom: 24px !important;
}
.hero-diy__title {
  font-size: 23px !important;
  line-height: 1.35 !important;
  letter-spacing: 5px !important;
  color: #f6f0de !important;
  margin-bottom: 24px !important;
}
.hero-diy__subtitle {
  font-family: "Euclid", sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  color: rgba(246, 240, 222, 0.85) !important;
  max-width: 620px;
  margin: 0 auto !important;
  line-height: 1.75 !important;
}

/* Scroll arrow */
.hero-diy__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 48px;
}
.hero-diy__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(246, 240, 222, 0.5);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.6);
  }
}

/* ── PROCESS STEPS (Ce facem) ── */
.process-section {
  padding: 100px 0 80px !important;
}
.process-section .et_pb_text_inner h2 {
  margin-bottom: 4px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 0 0;
}
.process-step {
  border-top: 1px solid #d4c9b0;
  padding-top: 28px;
}
.process-step__number {
  font-family: "adobe-caslon-pro", serif !important;
  font-size: 37px !important;
  color: #c8b99a !important;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.process-step__title {
  font-size: 13px !important;
  line-height: 1.4 !important;
  letter-spacing: 4px !important;
  margin-bottom: 14px !important;
  color: #383839 !important;
}
.process-step__desc {
  font-family: "Euclid", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  color: #666 !important;
  line-height: 1.75 !important;
}

/* ── DIY BENEFITS (De ce functioneaza) ── */
.benefits-section {
  background: #ede9dc !important;
  padding: 100px 0 80px !important;
}
.benefits-section .et_pb_section,
.benefits-section .et_pb_row {
  background: transparent !important;
}
.diy-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 60px 0 0;
}
.diy-benefit {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 20px;
  background: #f5f1e5;
  border: 1px solid #d4c9b0;
  transition: box-shadow 0.25s ease;
}
.diy-benefit:hover {
  box-shadow: 0 8px 32px rgba(56, 56, 57, 0.08);
}
.diy-benefit__icon {
  font-size: 23px;
  line-height: 1;
}
.diy-benefit__title {
  font-size: 12px !important;
  letter-spacing: 3px !important;
  color: #383839 !important;
  margin-bottom: 0 !important;
}
.diy-benefit__desc {
  font-family: "Euclid", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  color: #666 !important;
  line-height: 1.7 !important;
}

/* ── VIDEO PROCESS SECTION ── */
.video-process-section {
  padding: 0 !important;
  overflow: hidden;
}
.video-process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.video-process-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background: #2a2620;
}
.video-process-pre {
  font-family: "Euclid", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #c8b99a !important;
  margin-bottom: 20px !important;
}
.video-process-title {
  font-size: 23px !important;
  letter-spacing: 5px !important;
  color: #f6f0de !important;
  margin-bottom: 32px !important;
  line-height: 1.4 !important;
}
.video-process-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px !important;
}
.video-process-list li {
  font-family: "Euclid", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  color: rgba(246, 240, 222, 0.8) !important;
  line-height: 1.6 !important;
  padding: 8px 0;
  border-bottom: 1px solid rgba(246, 240, 222, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-process-list li::before {
  content: "—";
  color: #c8b99a;
  font-size: 11px;
  flex-shrink: 0;
}
.video-process-media {
  position: relative;
  overflow: hidden;
}
.video-process-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FINAL CTA ── */
.final-cta-section {
  padding: 120px 0 !important;
}
.final-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.final-cta__pre {
  font-family: "Euclid", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #c8b99a !important;
  margin-bottom: 20px !important;
}
.final-cta__title {
  font-size: 25px !important;
  letter-spacing: 4px !important;
  line-height: 1.4 !important;
  color: #383839 !important;
  margin-bottom: 24px !important;
}
.final-cta__desc {
  font-family: "Euclid", sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  color: #666 !important;
  line-height: 1.75 !important;
  margin-bottom: 40px !important;
}
.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.final-cta__btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: "Euclid", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.final-cta__btn--primary {
  background: #383839;
  color: #f6f0de !important;
  border: 1px solid #383839;
}
.final-cta__btn--primary:hover {
  background: transparent;
  color: #383839 !important;
}
.final-cta__btn--secondary {
  background: transparent;
  color: #383839 !important;
  border: 1px solid #d4c9b0;
}
.final-cta__btn--secondary:hover {
  border-color: #383839;
}
.final-cta__note {
  font-family: "Euclid", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  color: #999 !important;
  margin-top: 24px !important;
}

/* ── RESPONSIVE — tablet (max-width: 980px) ── */
@media (max-width: 980px) {
  .hero-diy__title {
    font-size: 19px !important;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .diy-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-process-inner {
    grid-template-columns: 1fr;
  }
  .video-process-media {
    min-height: 50vw;
  }
  .video-process-text {
    padding: 60px 40px;
  }
}

/* ── RESPONSIVE — mobile (max-width: 640px) ── */
@media (max-width: 640px) {
  .hero-diy__title {
    font-size: 14px !important;
    letter-spacing: 3px !important;
  }
  .hero-diy__subtitle {
    font-size: 13px !important;
  }
  .hero-diy__btn {
    padding: 12px 24px;
    font-size: 11px !important;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .diy-benefits {
    grid-template-columns: 1fr;
  }
  .final-cta__title {
    font-size: 18px !important;
  }
  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta__btn {
    text-align: center;
  }
  .video-process-text {
    padding: 48px 24px;
  }
}

/* ============================================================
   SECTION 22 — Design Interior Page (.di-*)
   ============================================================ */

/* ---- Hero ---- */
.di-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0 !important;
}
.di-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.di-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%);
  z-index: 1;
}
.di-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5% 80px;
  max-width: 900px;
  width: 100%;
}
.di-hero__pre {
  font-family: "Euclid", sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.di-hero__title {
  font-family: "adobe-caslon-pro", serif;
  font-size: clamp(29px, 5vw, 65px);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
.di-hero__subtitle {
  font-family: "Euclid", sans-serif;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 36px;
}
.di-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.di-hero__btn {
  display: inline-block;
  font-family: "Euclid", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #383839;
  background: #f5f1e5;
  border: 1px solid #f5f1e5;
  padding: 16px 32px;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.di-hero__btn:hover {
  background: #383839;
  color: #f5f1e5;
  border-color: #383839;
}
.di-hero__btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.di-hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* ---- Alt background section ---- */
.di-alt-bg {
  background-color: #ede9dc !important;
}

/* ---- Section CTA row ---- */
.di-section-cta-row {
  text-align: center;
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}
.di-section-cta {
  font-family: "Euclid", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #383839;
  text-decoration: none;
  border-bottom: 1px solid #c8b99a;
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.di-section-cta:hover {
  color: #c8b99a;
  border-color: #c8b99a;
}

/* ---- Section intro paragraph ---- */
.section-intro {
  font-family: "Euclid", sans-serif;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.75;
  color: #383839;
  max-width: 620px;
  margin: 12px auto 0;
}

/* ---- Renders 3D grid ---- */
.di-renders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3vw;
}
.di-render .image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.di-render__label {
  font-family: "Euclid", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #383839;
  margin-top: 12px;
  opacity: 0.65;
}

/* ---- Packages ---- */
.di-packages-section {
  background-color: #383839 !important;
}
.di-packages-section h2,
.di-packages-section .section-intro {
  color: #f5f1e5 !important;
}
.di-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  align-items: start;
}
.di-package {
  background: #f5f1e5;
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
}
.di-package--featured {
  background: #fff;
  box-shadow: 0 0 0 2px #c8b99a;
}
.di-package__badge {
  font-family: "Euclid", sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c8b99a;
  margin-bottom: 16px;
}
.di-package__name {
  font-family: "adobe-caslon-pro", serif;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #383839;
  margin-bottom: 28px;
}
.di-package__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.di-package__list li {
  font-family: "Euclid", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #383839;
  padding: 8px 0;
  border-bottom: 1px solid rgba(56, 56, 57, 0.1);
}
.di-package__list li:first-child {
  border-top: 1px solid rgba(56, 56, 57, 0.1);
}
.di-package__note {
  font-family: "Euclid", sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(56, 56, 57, 0.55);
  margin-bottom: 28px;
}
.di-package__cta {
  display: inline-block;
  font-family: "Euclid", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5f1e5;
  background: #383839;
  border: 1px solid #383839;
  padding: 16px 28px;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.di-package__cta:hover {
  background: #c8b99a;
  border-color: #c8b99a;
  color: #fff;
}
.di-package--featured .di-package__cta {
  background: #c8b99a;
  border-color: #c8b99a;
  color: #fff;
}
.di-package--featured .di-package__cta:hover {
  background: #383839;
  border-color: #383839;
}

/* ---- Responsive: Design Interior ---- */
@media (max-width: 1000px) {
  .di-renders {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .di-packages {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .di-hero__btn {
    padding: 13px 24px;
    font-size: 11px;
  }
  .di-hero__title {
    letter-spacing: 3px !important;
  }
  .di-renders {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .di-render .image-wrapper {
    aspect-ratio: 16 / 10;
  }
}
