:root {
  --ink: #112231;
  --muted: #5f6f7d;
  --line: rgba(17, 34, 49, 0.1);
  --navy: #112231;
  --teal: #0f766e;
  --blue: #2d73b9;
  --blue-soft: #e9f3ff;
  --sand: #f8f2e8;
  --white: #ffffff;
  --shadow-lg: 0 28px 60px rgba(17, 34, 49, 0.14);
  --shadow-md: 0 14px 28px rgba(17, 34, 49, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(45, 115, 185, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.12), transparent 26%),
    linear-gradient(180deg, #f5f8fb 0%, #e9eff3 100%);
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
}

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

.app-shell {
  min-height: 100vh;
  padding: 14px;
}

.phone-frame {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px calc(102px + env(safe-area-inset-bottom));
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(248, 242, 232, 0.95), transparent 28%),
    radial-gradient(circle at left center, rgba(233, 243, 255, 0.9), transparent 24%);
  pointer-events: none;
}

.phone-frame > * {
  position: relative;
  z-index: 1;
}

.status-strip,
.app-header,
.brand-row,
.header-actions,
.hero-actions,
.stats-strip,
.section-head,
.property-meta-line,
.service-grid,
.brand-story,
.contact-grid,
.bottom-nav {
  display: flex;
}

.status-strip,
.section-head,
.app-header {
  align-items: center;
  justify-content: space-between;
}

.status-strip {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.12);
}

.brand-row,
.header-actions {
  align-items: center;
  gap: 12px;
}

.app-header {
  margin-bottom: 18px;
}

.app-logo {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.label,
.badge,
.contact-label,
.mini-badge {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--muted);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: 1.6rem;
}

.lang-toggle,
.call-pill,
.primary-button,
.secondary-button,
.section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.lang-toggle,
.secondary-button,
.section-chip {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}

.call-pill,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 26px rgba(45, 115, 185, 0.22);
}

.hero-panel,
.brand-story,
.contact-card-final,
.install-card,
.property-card,
.service-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.hero-panel,
.contact-card-final,
.install-card {
  border-radius: var(--radius-xl);
}

.hero-panel {
  overflow: hidden;
}

.hero-copy {
  padding: 24px 22px 18px;
}

.hero-copy h2 {
  margin-top: 8px;
  font-size: 2.15rem;
  line-height: 1.02;
}

.hero-text,
.property-copy p,
.service-card p,
.brand-story-copy p,
.brand-points,
.contact-grid span,
.install-steps {
  color: var(--muted);
  line-height: 1.68;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-photo-card {
  position: relative;
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
}

.hero-overlay-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(17, 34, 49, 0.72);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-overlay-card strong {
  display: block;
  margin-top: 4px;
}

.mini-badge {
  color: rgba(255, 255, 255, 0.74);
}

.section-block,
.stats-strip {
  margin-top: 18px;
}

.stats-strip {
  gap: 12px;
}

.stats-strip article {
  flex: 1;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--blue-soft), #ffffff);
}

.stats-strip strong {
  display: block;
  font-size: 1rem;
}

.stats-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  gap: 12px;
  margin-bottom: 14px;
}

.section-chip {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.property-list,
.two-up-grid {
  display: grid;
  gap: 14px;
}

.property-card,
.service-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.property-card img {
  width: 100%;
  object-fit: cover;
}

.featured-card img {
  aspect-ratio: 4 / 2.8;
}

.compact-card img {
  aspect-ratio: 4 / 3;
}

.property-copy {
  padding: 16px;
}

.badge {
  color: var(--blue);
}

.property-copy h4,
.service-card h4,
.section-block h3 {
  font-size: 1.22rem;
}

.property-meta-line {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.property-meta-line span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-grid {
  gap: 12px;
  flex-direction: column;
}

.service-card {
  padding: 18px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-story {
  gap: 16px;
  padding: 18px;
  align-items: center;
  border-radius: var(--radius-xl);
}

.brand-story-copy {
  flex: 1;
}

.brand-story-visual {
  width: 116px;
  flex: none;
}

.brand-story-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
}

.brand-points {
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact-card-final,
.install-card {
  padding: 22px;
}

.contact-head {
  align-items: flex-start;
}

.contact-grid {
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 0;
}

.contact-grid a {
  font-weight: 800;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
}

.install-card {
  background:
    linear-gradient(135deg, rgba(17, 34, 49, 0.98), rgba(45, 115, 185, 0.92)),
    var(--navy);
  color: var(--white);
}

.install-card .label,
.install-card .install-steps {
  color: rgba(255, 255, 255, 0.78);
}

.install-steps {
  margin: 14px 0 0;
  padding-left: 18px;
}

.bottom-nav {
  position: sticky;
  bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.bottom-nav a.active {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 420px) {
  .phone-frame {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .status-strip {
    font-size: 0.72rem;
  }

  .hero-copy h2 {
    font-size: 1.9rem;
  }

  .stats-strip,
  .brand-story,
  .contact-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-toggle,
  .call-pill {
    min-height: 42px;
    padding: 0 14px;
  }
}
