/* MorenoMix Static Site
   Upload index.html, styles.css, script.js, and /images to your hosting root.
*/

:root {
  --bg: #ffffff;
  --paper: #f4f1ed;
  --ink: #211914;
  --muted: #6f665e;
  --dark: #191919;
  --dark-2: #282828;
  --orange: #f26722;
  --orange-dark: #c94b13;
  --line: rgba(33, 25, 20, .12);
  --shadow: 0 24px 80px rgba(0, 0, 0, .12);
  --radius: 22px;
  --max: 1180px;
  --header: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 999;
  background: var(--orange);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  left: 10px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1,
h2,
h3 {
  line-height: 1.04;
  margin: 0;
  font-family: "Agdasima", "Poppins", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

p {
  margin: 0;
}

.site-header {
  min-height: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(18px, 4vw);
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
}

@media (min-width: 981px) {
  .site-header.is-hidden {
    transform: translateY(-110%);
  }

  .site-header.is-scrolled {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  }
}

.brand img {
  width: min(205px, 48vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  font-size: .86rem;
}

.site-nav a:not(.nav-call):hover {
  color: var(--orange);
}

.nav-call {
  color: #fff;
  background: var(--ink);
  padding: 9px 15px;
  border-radius: 999px;
}

.nav-call:hover {
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 4px;
  background: var(--ink);
  margin: 6px 0;
  border-radius: 10px;
}

.hero {
  min-height: calc(100vh - var(--header));
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.42), rgba(0,0,0,.22)),
    url("images/hero.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  padding: 90px 0;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--ink);
}

.btn-secondary.light {
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.stats {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats div {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

.stats strong {
  display: block;
  font-family: "Agdasima", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.dark-section {
  background: var(--dark);
  color: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 16px;
}

.dark-section .section-heading p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  padding: 30px;
  min-height: 270px;
  border-radius: var(--radius);
}

.service-card p {
  color: rgba(255,255,255,.72);
  margin-top: 16px;
}

.service-number {
  display: inline-flex;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  position: relative;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-slideshow-image {
  transition: opacity .18s ease, transform .18s ease;
}

.feature-slideshow-image.is-changing {
  opacity: .35;
  transform: scale(.995);
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.06rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 32px;
  position: relative;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: contrast(1.05);
}

.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid span {
  display: inline-block;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 36px;
}

.process-grid p {
  color: var(--muted);
  margin-top: 14px;
}

.areas-section {
  background: var(--dark-2);
  color: #fff;
}

.areas-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.areas-grid p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  margin-top: 18px;
}

.area-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  gap: 20px;
}

.area-list li {
  break-inside: avoid;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-weight: 700;
}

.contact-section {
  padding: 96px 0;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
    url("images/image (05).jpg") center/cover no-repeat;
  color: #fff;
}

.contact-card {
  display: grid;
  grid-template-columns: .9fr .7fr;
  gap: 34px;
  align-items: start;
  background: rgba(25,25,25,.76);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(8px);
}

.contact-card p:not(.eyebrow) {
  color: rgba(255,255,255,.78);
  margin-top: 16px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.fs-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.fs-form fieldset {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(8px);
}

.fs-fieldset-title {
  padding: 0 8px;
  color: #fff;
  font-family: "Agdasima", "Poppins", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.fs-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.fs-field--full {
  grid-column: 1 / -1;
}

.fs-label {
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
}

.fs-input,
.fs-select,
.fs-textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.11);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.fs-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.fs-select option {
  color: var(--ink);
  background: #fff;
}

.fs-input::placeholder,
.fs-textarea::placeholder {
  color: rgba(255,255,255,.58);
}

.fs-input:focus,
.fs-select:focus,
.fs-textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 4px rgba(242,103,34,.18);
}

.fs-textarea {
  resize: vertical;
  min-height: 150px;
}

.fs-description {
  margin: 0;
  color: rgba(255,255,255,.6) !important;
  font-size: .86rem;
}

.fs-button-group {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.fs-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}

.fs-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}


.site-footer {
  background: #0f0f0f;
  color: #fff;
  padding: 58px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 220px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 18px;
}

.site-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  margin-top: 42px;
  padding-top: 22px;
  color: rgba(255,255,255,.56);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.9);
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  border: 0;
  background: #fff;
  color: #111;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --header: 82px;
  }

  .site-header {
    padding: 12px 20px;
    transform: none !important;
  }

  .brand img {
    width: min(230px, 54vw);
  }

  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    background: #fff;
    color: var(--ink);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0,0,0,.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-call {
    width: 100%;
    text-align: center;
  }

  .intro-grid,
  .feature-grid,
  .areas-grid,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fs-form {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .section,
  .contact-section {
    padding: 68px 0;
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .fs-button {
    width: 100%;
  }

  .fs-form fieldset {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .area-list {
    columns: 1;
  }

  .brand img {
    width: 190px;
  }
}

/* Mobile Recent Projects preview launcher */
.mobile-gallery-launch {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  padding: 0;
}

.mobile-gallery-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.mobile-gallery-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mobile-gallery-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 102, 0, .96);
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.mobile-gallery-copy {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  border: 0;
  width: 48px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-count {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-weight: 700;
  background: rgba(0,0,0,.48);
  padding: 8px 14px;
  border-radius: 999px;
}

@media (max-width: 620px) {
  .gallery-section .section-heading {
    margin-bottom: 26px;
  }

  .mobile-gallery-launch {
    display: block;
  }

  .gallery-section .gallery-grid {
    display: none;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 74vh;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .lightbox-nav {
    width: 42px;
    height: 54px;
    font-size: 28px;
    background: rgba(255,255,255,.88);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Updated contact form styling */
.fs-form legend,
.fs-fieldset-title {
  padding: 0 8px;
  color: #fff;
  font-family: "Agdasima", "Poppins", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.fs-form input[type="date"] {
  color-scheme: dark;
}

.fs-button {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(242,103,34,.24);
}

.fs-button:hover,
.fs-button:focus {
  background: var(--orange-dark);
  color: #fff;
}
