:root {
  --navy: #243a99;
  --navy-soft: #3852bd;
  --teal: #4a63c9;
  --green: #22c55e;
  --highlight: #e7ebff;
  --white: #ffffff;
  --muted: #f5f7ff;
  --text: #1d2939;
  --soft-text: #667085;
  --border: #dce3ff;
  --shadow: 0 18px 45px rgba(36, 58, 153, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 228, 225, 0.9);
  backdrop-filter: blur(12px);
}

.navbar {
  width: min(1160px, calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--navy);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(36, 58, 153, 0.12);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--soft-text);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--navy);
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background:
    linear-gradient(135deg, rgba(36, 58, 153, 0.95), rgba(74, 99, 201, 0.86)),
    url("https://images.pexels.com/photos/5414383/pexels-photo-5414383.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: 48px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--highlight);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.84rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(74, 99, 201, 0.25);
}

.btn-primary:hover {
  background: #394fae;
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.25);
}

.btn-whatsapp:hover {
  background: #16a34a;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 0.9rem;
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-stat {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.hero-stat span {
  display: block;
  color: var(--highlight);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stat p,
.hero-service-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-service-list {
  display: grid;
  gap: 10px;
}

.hero-service-list p {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid span {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.formula-card h2,
.about-grid h2,
.contact-layout h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p:last-child,
.formula-card p,
.about-grid p {
  color: var(--soft-text);
}

.service-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.gallery-card,
.formula-card,
.form-shell,
.breakdown-card,
.about-card,
.contact-form,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #edf1ff;
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--soft-text);
}

.service-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 14px;
  color: var(--teal);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--navy);
  color: var(--white);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.note {
  margin: 18px 0 0;
  color: var(--soft-text);
  font-weight: 700;
}

.formula-card {
  padding: 34px;
  border-left: 6px solid var(--highlight);
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  padding: 24px;
}

.grid-form,
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(74, 99, 201, 0.14);
}

.full {
  grid-column: 1 / -1;
}

.result-card {
  align-self: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.result-card span {
  color: var(--highlight);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.result-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 2.3rem;
  line-height: 1.1;
}

.result-card p {
  color: rgba(255, 255, 255, 0.82);
}

.result-card .btn {
  width: 100%;
}

.quotation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.quotation-layout .grid-form {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.breakdown-card {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.breakdown-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
}

.breakdown-card dl {
  margin: 0 0 20px;
}

.breakdown-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.breakdown-card dt {
  color: var(--soft-text);
}

.breakdown-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.breakdown-card .grand-total {
  border-bottom: 0;
  font-size: 1.15rem;
}

.breakdown-card .grand-total dd {
  color: var(--teal);
}

.breakdown-card .btn {
  width: 100%;
  margin-top: 10px;
}

.gallery-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.78)),
    url("https://images.pexels.com/photos/18157534/pexels-photo-18157534.jpeg?auto=compress&cs=tinysrgb&w=1200");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.gallery-card:nth-child(1) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/18157534/pexels-photo-18157534.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(2) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/7218002/pexels-photo-7218002.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(3) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/11806490/pexels-photo-11806490.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(4) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/5463580/pexels-photo-5463580.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(5) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/5414383/pexels-photo-5414383.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(6) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/5591907/pexels-photo-5591907.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(7) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/442160/pexels-photo-442160.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card:nth-child(8) {
  background-image:
    linear-gradient(145deg, rgba(36, 58, 153, 0.9), rgba(74, 99, 201, 0.76)),
    url("https://images.pexels.com/photos/7504592/pexels-photo-7504592.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-card span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--highlight);
  font-size: 2rem;
  font-weight: 900;
}

.gallery-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: start;
}

.about-card {
  padding: 28px;
  border-top: 5px solid var(--teal);
}

.about-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.contact-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-list li {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-form {
  padding: 24px;
}

.contact-form label {
  grid-column: 1 / -1;
}

.contact-form .btn {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: var(--white);
  color: var(--navy);
  padding: 18px 52px 18px 18px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.4rem;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
  color: var(--soft-text);
}

.faq-item.is-open p {
  display: block;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-top: 0;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid p,
.copyright {
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  width: min(1160px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: var(--muted);
  }

  .hero-grid,
  .form-shell,
  .quotation-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .service-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .breakdown-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar,
  .copyright {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 58px 0;
  }

  .navbar {
    height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    min-height: auto;
    gap: 30px;
  }

  .hero-actions .btn,
  .button-row .btn,
  .service-card .btn,
  .contact-form .btn {
    width: 100%;
  }

  .trust-grid,
  .service-grid,
  .gallery-grid,
  .footer-grid,
  .grid-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .form-shell,
  .quotation-layout .grid-form,
  .breakdown-card,
  .contact-form,
  .formula-card {
    padding: 18px;
  }

  .result-card strong {
    font-size: 1.9rem;
  }

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: var(--radius);
  }

  .site-footer {
    padding-bottom: 82px;
  }
}
