@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy: #0D1B2A;
  --teal: #2D6F6D;
  --gold: #D7C09A;
  --off-white: #F7F7F4;
  --charcoal: #2B2B2B;
  --white: #FFFFFF;
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--off-white);
  color: var(--charcoal);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: normal;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--white);
  padding: 20px 0;
  transition: all 0.5s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  padding: 8px 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 176px;
  width: auto;
  object-fit: contain;
  transition: height 0.5s ease;
  cursor: pointer;
}

.site-header.scrolled .logo-img {
  height: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links button {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
}

.nav-links button:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--navy);
}

.mobile-toggle {
  display: none;
  color: var(--navy);
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  color: var(--white);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu nav button {
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}

.mobile-menu nav button:hover {
  color: var(--gold);
}

.mobile-menu .mobile-cta {
  margin-top: 32px;
  background: var(--teal);
  color: var(--white);
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.mobile-menu .mobile-cta:hover {
  background: var(--white);
  color: var(--teal);
}

/* ===================== HERO ===================== */
.hero {
  display: flex;
  min-height: 85vh;
  padding-top: 216px;
}

.hero-text {
  width: 55%;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 64px 96px;
}

.hero-text .eyebrow {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 60px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-text .gold-bar {
  height: 3px;
  width: 60px;
  background: var(--gold);
  margin-bottom: 32px;
}

.hero-text .subtitle {
  font-size: 18px;
  color: #6b7b8d;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--navy);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  text-align: center;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.hero-contact-info .divider {
  width: 1px;
  height: 16px;
  background: rgba(13,27,42,0.3);
}

.hero-contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-contact-info svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.hero-image {
  width: 45%;
  position: relative;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================== WAVE DIVIDER ===================== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--white);
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ===================== SERVICES ===================== */
.services {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label .line {
  height: 1px;
  width: 48px;
  background: var(--gold);
}

.section-label span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.services h2 {
  font-size: 48px;
  color: var(--navy);
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(13,27,42,0.1);
  border-bottom: 1px solid rgba(13,27,42,0.1);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px;
  transition: background 0.2s;
}

.service-card:hover {
  background: rgba(249,249,249,0.5);
}

.service-card:not(:last-child) {
  border-right: 1px solid rgba(13,27,42,0.1);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  color: var(--navy);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.service-card p {
  color: #6b7b8d;
  line-height: 1.7;
}

/* ===================== PROCESS ===================== */
.process {
  padding: 128px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process .section-label span {
  color: var(--gold);
}

.process h2 {
  font-size: 48px;
  margin-bottom: 96px;
  color: var(--white);
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 16px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  border-top: 1px dashed var(--gold);
  opacity: 0.5;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.process-step .step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(215,192,154,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.process-step .step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.process-step h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
  white-space: nowrap;
}

.process-step p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  max-width: 220px;
  line-height: 1.7;
  text-align: center;
}

/* ===================== GALLERY ===================== */
.gallery {
  padding-top: 96px;
  padding-bottom: 0;
  background: var(--white);
}

.gallery-header {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.gallery-header h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.gallery-header .gold-bar {
  height: 2px;
  width: 48px;
  background: var(--gold);
}

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

/* Slide Card */
.slide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.slide-card .slide-viewport {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.slide-card .slide-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
  opacity: 0;
}

.slide-card .slide-viewport img.active {
  opacity: 1;
}

.slide-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.slide-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s;
  padding: 0;
}

.slide-dots button.active {
  background: var(--white);
}

.slide-card .slide-info {
  padding: 0 4px 16px;
}

.slide-card .slide-info h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.slide-card .slide-info p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7b8d;
}

/* ===================== TESTIMONIAL + CTA ===================== */
.testimonial-cta {
  display: grid;
  grid-template-columns: 55% 45%;
}

.testimonial {
  background: var(--off-white);
  padding: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.testimonial .quote-mark {
  font-size: 120px;
  font-family: var(--font-serif);
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 32px;
  left: 48px;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: 48px;
  margin-top: 48px;
}

.testimonial blockquote {
  font-size: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 48px;
}

.testimonial cite {
  font-style: normal;
}

.testimonial .author {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 4px;
}

.testimonial .author-loc {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7b8d;
}

.testimonial .dot-indicators {
  display: flex;
  gap: 10px;
  margin-top: 64px;
}

.testimonial .dot-indicators span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.testimonial .dot-indicators span:first-child {
  background: var(--teal);
}

.testimonial .dot-indicators span:not(:first-child) {
  border: 1px solid rgba(13,27,42,0.3);
}

.cta-section {
  background: var(--teal);
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url('../images/detail-craftsmanship.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-section .cta-desc {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 448px;
}

.cta-contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cta-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.cta-section .btn-white {
  background: var(--white);
  color: var(--navy);
  padding: 16px 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}

.cta-section .btn-white:hover {
  background: var(--gold);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  padding: 96px 24px 32px;
  color: var(--white);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.footer-logo-text .logo-main {
  font-size: 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 4px;
}

.footer-logo-text .logo-sub {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-text .logo-sub .line {
  height: 1px;
  width: 24px;
  background: var(--teal);
}

.footer-logo-text .logo-sub span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--teal);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-nav button {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer-nav button:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--teal);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ===================== CONTACT MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--off-white);
  width: 100%;
  max-width: 512px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.modal-header {
  background: var(--navy);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  color: var(--white);
  font-size: 24px;
}

.modal-header .modal-sub {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.modal-close {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  background: none;
  border: none;
}

.modal-close:hover {
  color: var(--white);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  padding: 32px;
}

.modal-success {
  padding: 64px 32px;
  text-align: center;
}

.modal-success .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(45,111,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-success .success-icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.modal-success h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal-success p {
  font-size: 14px;
  color: #6b7b8d;
  line-height: 1.7;
}

.modal-success .btn-close-modal {
  margin-top: 32px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.modal-success .btn-close-modal:hover {
  background: var(--navy);
}

/* Form styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(13,27,42,0.2);
  background: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(13,27,42,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea {
  resize: none;
  height: 100px;
}

.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-bottom: 12px;
  display: none;
}

.form-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  border: none;
}

.form-submit:hover {
  background: var(--navy);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav-links,
  .desktop-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-text {
    width: 100%;
    padding: 48px 24px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-image {
    width: 100%;
    height: 500px;
  }

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

  .service-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(13,27,42,0.1);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-grid::before {
    display: none;
  }

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

  .testimonial-cta {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 64px 24px;
  }

  .testimonial-content {
    margin-left: 0;
  }

  .testimonial blockquote {
    font-size: 24px;
  }

  .cta-section {
    padding: 64px 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-contact-info .divider {
    display: none;
  }

  .services h2,
  .process h2,
  .cta-section h2 {
    font-size: 36px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1025px) {
  .hero-text h1 {
    font-size: 60px;
  }
}
