/* ==========================================================================
   MYCONOS Construction Ltd — Company Template
   ========================================================================== */

:root {
  --color-primary: #f0c020;
  --color-primary-dark: #d4a820;
  --color-text: #333333;
  --color-nav: #999999;
  --color-text-muted: #777777;
  --color-border: #e8e8e8;
  --color-topbar-bg: #f5f5f5;
  --color-overlay: rgba(30, 30, 30, 0.82);
  --color-white: #ffffff;
  --font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-max: 1170px;
  --header-height: 80px;
  --topbar-height: 42px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Top utility bar
   -------------------------------------------------------------------------- */

.top-bar {
  background: var(--color-topbar-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: var(--topbar-height);
  gap: 16px;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.top-bar__contact li {
  display: flex;
  align-items: center;
}

.top-bar__contact li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #ccc;
  margin: 0 14px;
}

.top-bar__contact a,
.top-bar__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.top-bar__contact a:hover {
  color: var(--color-primary-dark);
}

.top-bar__contact i {
  font-size: 11px;
  color: #999;
}

.top-bar__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  height: var(--topbar-height);
}

.top-bar__social {
  display: flex;
  align-items: center;
  height: 100%;
}

.top-bar__social li {
  display: flex;
  align-items: center;
  height: 100%;
}

.top-bar__social li + li {
  border-left: 1px solid #ccc;
  margin-left: 14px;
  padding-left: 14px;
}

.top-bar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 1;
  color: var(--color-text-muted);
  font-size: 13px;
}

.top-bar__social a i {
  display: block;
  line-height: 1;
}

.top-bar__social a:hover {
  color: var(--color-primary-dark);
}

.top-bar__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid #ccc;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1;
}

.top-bar__search:hover {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Main header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-primary);
}

.logo__main {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logo__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-top: 4px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.main-nav__list > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-nav);
  white-space: nowrap;
  line-height: 1.2;
}

.main-nav__list > li > a:hover {
  color: var(--color-primary);
}

.main-nav__list > li > a.is-active {
  color: var(--color-primary);
  font-weight: 400;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 10;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-nav);
  border-bottom: 1px solid var(--color-border);
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown a:hover {
  background: #fafafa;
  color: var(--color-primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: clamp(420px, 55vw, 580px);
  overflow: hidden;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 60%);
}

.hero__content-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__overlay {
  max-width: 520px;
  padding: 36px 40px;
  background: var(--color-overlay);
  color: var(--color-white);
}

.hero__overlay h1 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero__overlay p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--outline {
  color: var(--color-white);
  border: 2px solid var(--color-white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-text);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text);
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: var(--color-white);
  font-size: 16px;
  transition: background var(--transition);
}

.hero__arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero__arrow--prev {
  left: 0;
}

.hero__arrow--next {
  right: 0;
}

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.hero__dot.is-active {
  background: var(--color-white);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   Features section
   -------------------------------------------------------------------------- */

.features {
  background: var(--color-white);
  padding: 70px 0 80px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.feature-item {
  text-align: center;
}

.feature-item__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.feature-item__ring {
  width: 118px;
  height: 118px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--color-primary);
  font-size: 42px;
  line-height: 1;
}

.feature-item__ring i {
  display: block;
  line-height: 1;
}

.feature-item__stem {
  display: block;
  width: 1px;
  height: 20px;
  background: #e0e0e0;
}

.feature-item__dot {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: var(--color-white);
  margin-top: -1px;
}

.feature-item h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 14px;
}

.feature-item__line {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-primary);
  margin: 0 auto 18px;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 260px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Project steps
   -------------------------------------------------------------------------- */

.project-steps {
  background: #e8f2f8;
  padding: 48px 0;
}

.project-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #ffe5d9;
  padding: 28px 24px 32px;
  text-align: left;
  min-height: 220px;
}

.step-card__number {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #1e2d3d;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #1e2d3d;
  margin: 0;
}

/* --------------------------------------------------------------------------
   About us section
   -------------------------------------------------------------------------- */

.about {
  background: var(--color-white);
}

.about__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.about__header h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.about__line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  margin: 0 auto 20px;
}

.about__header p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px 56px;
}

.about__media {
  display: flex;
  justify-content: center;
}

.about__photo {
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.about-point__icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 26px;
  line-height: 1;
}

.about-point__icon i {
  display: block;
  line-height: 1;
}

.about-point__content h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-point__content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Services section
   -------------------------------------------------------------------------- */

.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.section__header h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__header p {
  color: var(--color-text-muted);
  font-size: 15px;
}

.services {
  background: #fafafa;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.services__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card--link:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card {
  background: var(--color-white);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 24px;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */

.why-us {
  background: var(--color-white);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.why-us__media {
  position: relative;
  min-height: 0;
}

.why-us__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.why-us__content {
  background: #f3f3f3;
  padding: 40px 36px 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-us__content h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.why-us__line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  margin-bottom: 20px;
}

.why-us__accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-us__item {
  border-bottom: 1px solid #e8e8e8;
}

.why-us__item:first-child {
  border-top: 1px solid #e8e8e8;
}

.why-us__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  text-align: left;
  background: var(--color-white);
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.why-us__check {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-text);
  transition: color var(--transition);
}

.why-us__toggle-text {
  flex: 1;
  line-height: 1.4;
}

.why-us__chevron {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--color-text-muted);
  transition: transform var(--transition), color var(--transition);
}

.why-us__item.is-open .why-us__toggle {
  background: var(--color-primary);
  color: var(--color-white);
}

.why-us__item.is-open .why-us__check,
.why-us__item.is-open .why-us__chevron {
  color: var(--color-white);
}

.why-us__item.is-open .why-us__chevron {
  transform: rotate(180deg);
}

.why-us__toggle:hover:not(:disabled) {
  background: #fafafa;
}

.why-us__item.is-open .why-us__toggle:hover {
  background: var(--color-primary-dark);
}

.why-us__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  background: var(--color-white);
}

.why-us__panel[hidden] {
  display: none;
}

.why-us__item.is-open .why-us__panel {
  grid-template-rows: 1fr;
}

.why-us__item.is-open .why-us__panel[hidden] {
  display: grid;
}

.why-us__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.why-us__panel-inner p {
  margin: 0;
  padding: 12px 18px 16px 46px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Commitment to quality and safety
   -------------------------------------------------------------------------- */

.commitment {
  background: var(--color-white);
}

.commitment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.commitment__content {
  background: #f3f3f3;
  padding: 40px 36px 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commitment__content h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.commitment__line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  margin-bottom: 20px;
}

.commitment__blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.commitment__block h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.commitment__block p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.commitment__media {
  position: relative;
  height: 440px;
  max-height: 440px;
  overflow: hidden;
}

.commitment__media img {
  width: 100%;
  height: 440px;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Contact bar (above footer)
   -------------------------------------------------------------------------- */

.contact-bar {
  background: var(--color-primary);
  padding: 32px 0;
}

.contact-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.contact-bar__item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-bar__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1;
}

.contact-bar__icon i {
  display: block;
  line-height: 1;
}

.contact-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-white);
}

.contact-bar__label {
  font-weight: 600;
}

.contact-bar__text a {
  color: var(--color-white);
}

.contact-bar__text a:hover {
  opacity: 0.85;
}

.contact-bar__item--address {
  max-width: 360px;
}

.contact-bar__legal {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.92;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0;
  text-align: center;
  color: var(--color-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.62);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: var(--color-white);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span[aria-hidden="true"] {
  margin: 0 8px;
  opacity: 0.6;
}

.page-about {
  background: var(--color-white);
}

.page-about__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.page-about__media img {
  width: 100%;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-about__content {
  text-align: justify;
  text-justify: inter-word;
}

.page-about__content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.page-about__content p:last-of-type {
  margin-bottom: 28px;
}

.page-about__cta {
  display: inline-block;
  text-align: left;
}

.page-process {
  background: var(--color-white);
}

.page-process__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-word;
}

.process-block {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e8e8e8;
}

.process-block:last-of-type {
  border-bottom: none;
  margin-bottom: 32px;
}

.process-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}

.process-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
}

.process-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.process-block p:last-child {
  margin-bottom: 0;
}

.process-times {
  list-style: none;
  margin: 0 0 20px;
  padding: 20px 24px;
  background: #f8f9fb;
  border-left: 4px solid var(--color-primary);
}

.process-times li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.process-times li:last-child {
  margin-bottom: 0;
}

.process-times strong {
  color: var(--color-text);
  font-weight: 600;
}

.page-process__cta {
  display: inline-block;
  margin-top: 8px;
}

.team-advantage {
  background: #fcfcfc;
}

.team-advantage__header {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.team-advantage__header h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 16px;
}

.team-advantage__header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--color-primary);
}

.team-advantage__header p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto;
}

.team-advantage__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.team-skill {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-skill:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.team-skill__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  cursor: zoom-in;
}

.team-skill__content {
  padding: 20px 20px 22px;
  text-align: center;
}

.team-skill__content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 12px;
}

.team-skill__content h3::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

.team-skill__content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.team-advantage__cta {
  margin-top: 30px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.projects-page {
  background: var(--color-white);
}

.projects-page__header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 38px;
}

.projects-page__header h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.projects-page__header p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.projects-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-page {
  background: var(--color-white);
}

.gallery-page__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.gallery-page__header h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.gallery-page__header p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.gallery-page__empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 15px;
}

.gallery-tiles {
  columns: 4 240px;
  column-gap: 16px;
}

.gallery-tile {
  break-inside: avoid;
  margin: 0 0 16px;
  border: 1px solid var(--color-border);
  background: #fafafa;
  overflow: hidden;
}

.gallery-tile__media img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform var(--transition);
}

.gallery-tile:hover .gallery-tile__media img {
  transform: scale(1.02);
}

.project-card {
  background: #fafafa;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.project-card__media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: zoom-in;
}

.project-card__content {
  padding: 16px 16px 18px;
}

.project-card__content h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-card__content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.88);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__content {
  position: relative;
  width: min(94vw, 1080px);
  max-height: 92vh;
}

.image-lightbox__img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  background: #111;
}

.image-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: #111;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-contact {
  background: var(--color-white);
}

.page-contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 48px;
}

.page-contact__info h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.page-contact__info > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  text-align: justify;
  text-justify: inter-word;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-details li:last-child {
  margin-bottom: 0;
}

.contact-details__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-details strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 4px;
}

.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.contact-details a {
  color: var(--color-text);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--color-primary-dark);
}

.contact-details__legal {
  font-size: 12px;
  margin-top: 4px;
}

.page-contact__form-wrap {
  background: #f8f9fb;
  padding: 36px 32px;
  border-radius: 4px;
}

.contact-form__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form__notice[hidden] {
  display: none;
}

.contact-form__notice--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.contact-form__notice--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.contact-form__notice a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.contact-form .form-row {
  margin-bottom: 20px;
}

.contact-form .form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-form .required {
  color: #c62828;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.page-contact__map {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.page-contact__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.main-nav__list > li > a.is-active {
  color: var(--color-primary);
}

.dropdown a.is-active {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Loft conversion types
   -------------------------------------------------------------------------- */

.loft-types {
  background: var(--color-white);
  padding: 56px 0 64px;
}

.loft-types__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.loft-types__header h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 18px;
  line-height: 1.3;
}

.loft-types__header p {
  font-size: 15px;
  line-height: 1.75;
  color: #7b8794;
}

.loft-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.loft-type-card {
  background: #eef2f6;
  padding: 32px 22px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.loft-type-card__visual {
  width: 100%;
  max-width: 100%;
  margin: 0 0 22px;
  min-height: 120px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loft-type-card__visual img {
  width: 100%;
  max-width: 260px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

.loft-type-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f39c12;
  margin-bottom: 16px;
  line-height: 1.2;
}

.loft-type-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #6b7280;
  max-width: 100%;
  margin: 0;
  flex: 1;
}

/* --------------------------------------------------------------------------
   CTA & Footer
   -------------------------------------------------------------------------- */

.cta {
  background: var(--color-text);
  color: var(--color-white);
  padding: 56px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta__text {
  flex: 1;
  min-width: 280px;
  max-width: 720px;
}

.cta__text h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta__text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.75;
}

.site-footer {
  background: #222;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__copy {
  margin: 0;
}

.logo--footer .logo__main {
  font-size: 20px;
}

.logo--footer .logo__sub {
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-footer__social {
  display: flex;
  gap: 16px;
}

.site-footer__social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.site-footer__social a:hover {
  color: var(--color-primary);
}

.site-footer__legal {
  flex: 1 1 100%;
  max-width: 720px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 4px 0 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .main-nav__list > li > a {
    padding: 10px 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .logo__main {
    font-size: 22px;
  }

  .logo__sub {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 992px) {
  .page-about__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-about__media {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-contact__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-advantage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-tiles {
    columns: 3 220px;
  }

  .contact-form .form-row--half {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 56px 0;
  }

  .loft-types__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: none;
    margin: 0;
  }

  .loft-type-card {
    padding: 28px 18px 32px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .why-us__media {
    min-height: 200px;
  }

  .why-us__media img {
    min-height: 200px;
    height: auto;
  }

  .why-us__content {
    padding: 32px 24px;
  }

  .commitment__grid {
    grid-template-columns: 1fr;
  }

  .commitment__content {
    order: 1;
    padding: 32px 24px;
  }

  .commitment__media {
    order: 2;
    min-height: 200px;
  }

  .commitment__media img {
    min-height: 200px;
    height: auto;
  }

  .project-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__header {
    margin-bottom: 40px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 28px;
  }

  .services__grid,
  .services__grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav__list > li > a {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-nav);
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav__list > li > a.is-active {
    color: var(--color-primary);
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .top-bar__contact li:nth-child(3)::before,
  .top-bar__contact li:nth-child(3) {
    display: none;
  }

  .hero__overlay {
    padding: 28px 24px;
    max-width: 100%;
  }

  .hero__arrow {
    width: 40px;
    height: 52px;
    font-size: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    max-width: 320px;
    margin: 0 auto;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 64px;
  }

  .top-bar {
    display: none;
  }

  .main-nav {
    top: var(--header-height);
  }

  .team-advantage__grid {
    grid-template-columns: 1fr;
  }

  .projects-page__grid {
    grid-template-columns: 1fr;
  }

  .gallery-tiles {
    columns: 1;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .services__grid,
  .services__grid--three {
    grid-template-columns: 1fr;
  }

  .loft-types__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .project-steps {
    padding: 36px 0;
  }

  .project-steps__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    min-height: 0;
    padding: 24px 20px 28px;
  }

  .top-bar__contact span {
    display: none;
  }

  .top-bar__contact a span {
    display: inline;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 480px;
  }

  .hero__overlay h1 br {
    display: none;
  }
}
