/* Living Stones Remodeling - Global Styles */
:root {
  --white: #ffffff;
  --warm-white: #faf9f7;
  --light-cream: #f5f3ef;
  --charcoal: #2d2d2d;
  --charcoal-light: #4a4a4a;
  --sage: #6b8f71;
  --sage-dark: #567258;
  --sage-light: #e8efe9;
  --gold: #c9a96e;
  --gold-light: #f7f0e3;
  --border: #e8e6e2;
  --shadow: rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sage-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.125rem;
  color: var(--charcoal-light);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107,143,113,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--sage);
}
.btn-white:hover {
  background: var(--light-cream);
  color: var(--sage-dark);
  transform: translateY(-1px);
}

/* ---------- HEADER / NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--sage); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  font-weight: 600;
  color: var(--charcoal) !important;
  font-size: 0.9375rem;
}
.nav-phone:hover { color: var(--sage) !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, #e8efe9 0%, #f5f3ef 40%, #faf9f7 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(160deg, #c9d6cb 0%, #a8bfac 30%, #8baa90 60%, #6b8f71 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--sage-light);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--charcoal-light);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--charcoal);
  padding: 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.trust-item-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--warm-white);
}
.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}
.section-dark .section-label {
  color: var(--gold);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-color: var(--sage);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p {
  color: var(--charcoal-light);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.service-card-link {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition);
}
.service-card-link:hover svg { transform: translateX(4px); }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}
.why-card-number {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 12px;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--charcoal-light); font-size: 0.9375rem; }

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(255,255,255,0.15);
}

.process-step {
  text-align: center;
  position: relative;
}
.process-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}
.process-step p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--sage-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  left: 32px;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--sage);
}
.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.8125rem; color: var(--charcoal-light); }

/* ---------- SERVICE AREA ---------- */
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.area-city {
  padding: 10px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--sage); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 24px;
  color: var(--charcoal-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,143,113,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--sage);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #e8efe9 0%, #f5f3ef 50%, #faf9f7 100%);
  text-align: center;
}
.page-hero .section-subtitle {
  margin: 0 auto;
}

/* ---------- SERVICES DETAIL PAGE ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-detail-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sage-light) 0%, #d4ddd6 50%, #c0cfc3 100%);
}

.service-detail-content h2 { margin-bottom: 16px; }
.service-detail-content > p {
  color: var(--charcoal-light);
  margin-bottom: 24px;
}
.service-detail-features {
  list-style: none;
  margin-bottom: 24px;
}
.service-detail-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--charcoal-light);
  font-size: 0.9375rem;
}
.service-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 2px solid var(--sage);
}
.service-timeline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold-light);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---------- ABOUT ---------- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-value {
  text-align: center;
  padding: 40px 24px;
}
.about-value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.about-value-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
}
.about-value h3 { margin-bottom: 8px; }
.about-value p { color: var(--charcoal-light); font-size: 0.9375rem; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-story-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sage-light) 0%, #c9d6cb 100%);
}
.about-story-content h2 { margin-bottom: 20px; }
.about-story-content p {
  color: var(--charcoal-light);
  margin-bottom: 16px;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--sage); }
.mobile-menu .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- PORTFOLIO GALLERY RESPONSIVE ---------- */
@media (max-width: 1024px) {
  #portfolio [style*="grid-template-columns"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  #portfolio [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero::before { width: 100%; clip-path: none; opacity: 0.08; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 20px 16px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 32px 24px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

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

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

@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .area-cities { flex-direction: column; align-items: center; }
}
