@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

:root{
  --primary: #2FA66A;
  --accent-dark: #073826;
  --muted-bg: #E8F7EF;
  --card-bg: #FFFFFF;
  --page-bg: #F7FBF9;
  --text: #0B1B16;
  --muted-text: #5A6A63;
  --radius: 14px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: rgba(255,255,255,0.96);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(11,27,22,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark img {
  width: 150px;
  height: auto;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.logo-accent { color: var(--primary); }
.logo-light { color: var(--text); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-left: auto;
  margin-right: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  transition: filter 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover { filter: brightness(0.97); }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 18px rgba(47,166,106,0.3);
}

.btn-ghost {
  background: #f4f7f6;
  color: var(--text);
}

.hero {
  padding: 2.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 2rem 2rem 1.7rem;
  box-shadow: 0 12px 30px rgba(10,20,15,0.08);
  max-width: 540px;
}

.hero-card h1 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.1rem, 2.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted-text);
  font-size: 1rem;
}

.features-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  background: rgba(47,166,106,0.12);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.hero-photo {
  min-height: 420px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.services-section,
.process-section,
.contact-section,
.page-section {
  padding: 2rem 0 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: center;
}

.services-image {
  min-height: 330px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)),
    url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.section-subtle {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.services-list h2,
.process-grid h2,
.contact-section h2,
.page-hero h1,
.page-section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-cards li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--muted-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.service-cards h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.service-cards p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.5;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--muted-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.process-steps h4 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.process-steps p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.5;
}

.process-photo {
  display: flex;
  justify-content: center;
}

.device-photo {
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(0,0,0,0.04), rgba(0,0,0,0.04)),
    url('https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.contact-section {
  text-align: center;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Desktop: slightly wider cards for better balance */
.contact-card {
  width: 260px;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  box-shadow: 0 10px 22px rgba(11,27,22,0.04);
  text-align: center; /* ensure contents are centered */
}

.icon-round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--muted-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.6;
  font-style: normal;
}

/* Constrain address and link widths so they wrap before the card edge */
.contact-card address {
  display: block;
  max-width: 220px;
  margin: 0.4rem auto 0;
  text-align: center;
  line-height: 1.45;
  font-style: normal;
  color: var(--muted-text);
  word-break: break-word;
}

.contact-card p a,
.contact-card address a {
  display: inline-block;
  max-width: 220px;
  margin: 0.25rem auto 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(11,27,22,0.12);
  text-decoration: none;
  color: var(--muted-text);
  word-break: break-word;
}

.contact-card p a:hover,
.contact-card address a:hover {
  opacity: 0.95;
}

.page-shell {
  padding: 3rem 0 5rem;
}

.page-hero {
  margin-bottom: 2rem;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted-text);
  font-size: 1.05rem;
}

.page-card,
.info-card,
.form-shell {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(11,27,22,0.05);
}

.page-card {
  padding: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.info-card {
  padding: 1.5rem;
}

.info-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.info-card p,
.info-card li {
  color: var(--muted-text);
}

.info-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--card-bg);
  border: 1px solid rgba(11,27,22,0.08);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--muted-text);
}

.form-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(11,27,22,0.14);
  background: #f9fbfa;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.site-footer {
  background: var(--accent-dark);
  color: white;
  padding: 2.8rem 0 1.2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-grid h4 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.muted {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin: 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-grid a {
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 900px) {
  .hero-grid,
  .services-grid,
  .process-grid,
  .footer-grid,
  .info-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .header-inner {
    justify-content: space-between;
    padding: 0.75rem 0;
  }

  .btn {
    padding: 0.65rem 0.9rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-card {
    padding: 1.5rem 1.25rem;
  }

  /* Mobile: make contact cards inset slightly so they don't touch the screen edges */
  .contact-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .contact-card {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 1.25rem;
  }

  .form-shell,
  .page-card {
    padding: 1.25rem;
  }

  /* Apply consistent horizontal insets to larger visual blocks on mobile */
  .hero-photo,
  .services-image,
  .device-photo,
  .page-card,
  .page-section,
  .page-hero,
  .hero-card,
  .info-card,
  .form-shell {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
    box-sizing: border-box;
  }

  /* Slightly reduce tall visual block heights on small screens for balance */
  .hero-photo { min-height: 220px; }
  .services-image { min-height: 180px; }
  .device-photo { min-height: 180px; }

  .form-shell,
  .page-card {
    padding: 1.25rem;
  }
}
