@import url("../assets/colors/palette.css");

:root {
  color-scheme: light;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f5f7fb;
  color: #111111;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.header-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-logo img {
  width: 42px;
  height: 42px;
}

.brand-text {
  font-size: 1rem;
  color: #0f172a;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
  overflow-wrap: anywhere;
  width: 100%;
}

.main-nav a {
  color: #0f172a;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.lang-switcher,
.phone-link,
.btn {
  flex-shrink: 0;
}

.phone-link {
  color: #0f172a;
  font-weight: 600;
}

.lang-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: none;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: #475569;
  font-weight: 700;
}

.lang-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-tertiary {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero-section,
.page-hero {
  padding: 4rem 0 3rem;
}

.hero-section {
  background: radial-gradient(circle at top left, rgba(234, 118, 0, 0.14), transparent 28%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.hero-copy h1,
.page-hero-copy h1,
.section-header h2 {
  font-family: 'Quicksilver', 'Segoe UI', 'Arial', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin: 0;
  line-height: 1.05;
  color: #0f172a;
}

.hero-text,
.section-copy,
.page-hero-copy p,
.about-copy p,
.service-detail-copy p {
  color: #344054;
  font-size: 1.05rem;
  max-width: 43rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  border-radius: 1.75rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.stats-strip {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.stats-grid div {
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  color: #0f172a;
}

.services-section,
.about-section,
.gallery-section,
.trust-section,
.areas-section,
.contact-section,
.service-detail-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0.5rem 0 0;
}

.services-grid,
.gallery-grid,
.testimonial-grid,
.areas-grid,
.contact-grid,
.service-detail-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.gallery-card,
.testimonial-card,
.area-card,
.contact-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.gallery-card:hover,
.testimonial-card:hover,
.area-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-detail-media img,
.about-media img,
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-detail-media img,
.about-media img {
  border-radius: 1.75rem;
}

.gallery-card img {
  border-radius: 1.5rem;
}

.service-card h3,
.area-card h3,
.service-detail-copy h2,
.testimonial-card span,
.about-copy h2 {
  color: #0f172a;
}

.service-card p,
.area-card p,
.testimonial-card p {
  color: #475569;
}

.service-card .btn {
  margin-top: 1.25rem;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 1.75rem;
}

.about-list,
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1rem;
}

.about-list li,
.service-detail-list li {
  position: relative;
  padding-left: 1.5rem;
}

.about-list li::before,
.service-detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  z-index: 10;
}

.gallery-split {
  display: grid;
  align-items: center;
}

.gallery-split span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(234, 118, 0, 0.9);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
  z-index: 10;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card p {
  margin-bottom: 1rem;
}

.testimonial-card span {
  font-weight: 700;
}

.areas-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.area-card {
  min-height: 160px;
}

.map-frame {
  margin-top: 2rem;
}

.map-embed {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 320px;
  background: #e2e8f0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-embed .map-link {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  color: #0f172a;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(234, 118, 0, 0.16);
}

.recaptcha-placeholder {
  background: #f1f5f9;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  color: #475569;
}

.contact-sidebar {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.5rem;
}

.contact-link {
  display: block;
  margin-top: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
}

.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.88);
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer a {
  color: rgba(255,255,255,0.88);
}

.site-footer h4 {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
}

.assistant-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: min(360px, calc(100% - 2rem));
  border-radius: 1.5rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  background: #ffffff;
  overflow: hidden;
  animation: floatIn 0.8s ease;
  z-index: 30;
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--primary-color);
  color: #fff;
}

.assistant-body {
  padding: 1rem 1.25rem 1.5rem;
}

.assistant-buttons {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.assistant-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
}

.assistant-response {
  margin-top: 1rem;
  background: #f1f5f9;
  border-radius: 1.25rem;
  padding: 1rem;
  min-height: 4rem;
  color: #0f172a;
}

.assistant-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .header-grid,
  .contact-grid,
  .about-grid,
  .service-detail-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .header-grid {
    gap: 1.2rem;
  }

  .header-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-buttons,
  .assistant-widget {
    width: 100%;
  }

  .hero-section,
  .page-hero,
  .services-section,
  .about-section,
  .contact-section,
  .gallery-section,
  .trust-section,
  .areas-section {
    padding: 3rem 0;
  }

  .site-footer {
    padding: 1.5rem 0;
  }
}

@media (max-width: 540px) {
  .btn {
    width: 100%;
  }

  .assistant-widget {
    right: 0.75rem;
    left: 0.75rem;
  }
}
