/*
Theme Name: Savoga Redesign
Theme URI: https://savoga.lk
Author: IDEACURL
Description: Lightweight responsive theme based on the Savoga redesign.
Version: 1.0.0
*/
:root {
  --blue: #0757d8;
  --ink: #0c1838;
  --pale: #f1f6ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    15px "DM Sans",
    Arial,
    sans-serif;
  color: var(--ink);
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1170px, 92%);
  margin: auto;
}
.site-header {
  background: #fff;
  box-shadow: 0 2px 18px #0c18380b;
  position: sticky;
  top: 0;
  z-index: 10;
}
.mobile-phone {
  display: none;
}
.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  width: 250px;
}
.brand img {
  width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
}
.main-nav a {
  padding: 32px 0;
  font-weight: 600;
}
.main-nav .current-menu-item > a,
.main-nav a:hover {
  color: var(--blue);
}
.phone,
.button {
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 14px 23px;
  font-weight: 700;
  box-shadow: 0 7px 14px #0757d82b;
}
.phone {
  border-radius: 28px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}
.hero {
  background: linear-gradient(115deg, #f2f7ff, #fff);
}
.hero-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.hero h1,
.about h1 {
  font: 800 35px Manrope;
  margin: 14px 0;
}
.hero h1 em,
.about em {
  color: var(--blue);
  font-style: normal;
}
.hero p {
  line-height: 1.7;
}
.hero-art img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 55% 20% 45% 25%;
  mix-blend-mode: multiply;
}
.actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: none;
}
.section {
  padding: 44px 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.section-title h2 {
  font: 800 25px Manrope;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.product-card {
  min-height: 197px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 5px 19px #173b7c12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.5s ease;
}
.product-card:hover {
  box-shadow: 0 5px 19px #0657d8;
}
.product-card img {
  width: 100%;
  height: 106px;
  object-fit: contain;
}
.product-card h3 {
  font-size: 20px;
  margin: 7px 0;
}
.product-card small {
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
}
.trust {
  background: var(--pale);
  padding: 22px 0;
  font-size: 20px;
}
.trust-grid > div {
  text-align: center;
}

.trust-grid svg {
  display: block;
  margin: 0 auto 10px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-grid b,
.trust-grid span {
  display: block;
}
.trust-grid span {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 5px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.about p {
  line-height: 1.7;
  font-size: 17px;
}
.about-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 30px;
}
.stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
}
.stats b {
  font-size: 20px;
  color: var(--blue);
}
.stats small {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
footer {
  background: #062d72;
  color: #fff;
  padding: 42px 0 16px;
  background-image: linear-gradient(145deg, #062d72, #073e97);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-grid > div {
  border-right: 1px solid #ffffff24;
  padding-right: 18px;
}
.footer-grid > div:last-child {
  border: 0;
}
.footer-logo {
  width: 350px;
}
footer p,
footer a {
  font-size: 16px;
  line-height: 1.7;
  color: #eef4ff;
}
footer h3 {
  font-size: 14px;
  margin: 0 0 15px;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #ffffff1c;
}
.copyright {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff26;
  margin: 28px auto 0;
  padding-top: 14px;
  width: min(1170px, 92%);
  font-size: 14px;
  color: #d7e4ff;
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .phone {
    padding: 10px 14px;
    font-size: 12px;
  }
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 35px 0;
  }
  .hero-art {
    order: -1;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.35fr;
    gap: 28px;
  }
  .copyright {
    display: block;
  }
  .copyright span {
    display: block;
    margin: 5px 0;
  }
}
@media (max-width: 450px) {
  .brand {
    width: 190px;
  }
  .phone {
    display: none;
  }
  .product-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1,
  .about h1 {
    font-size: 28px;
  }
}
.product-hero {
  padding: 42px 0 28px;
  background: #f3f7df;
}
.product-hero h1 {
  font: 800 34px Manrope;
  margin: 12px 0;
}
.product-hero p {
  line-height: 1.6;
  max-width: 390px;
}
.machine-list {
  padding: 24px 0 48px;
}
.machine-list article {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  min-height: 225px;
  margin: 16px 0;
  padding: 20px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 22px #173b7c12;
}
.machine-list article.reverse {
  grid-template-columns: 65% 35%;
}
.machine-list article.reverse > img {
  grid-column: 2;
  grid-row: 1;
}
.machine-list article.reverse > div {
  grid-column: 1;
  grid-row: 1;
}
.machine-list img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}
.machine-list h2 {
  font-size: 19px;
}
.machine-list li {
  font-size: 12px;
  margin: 8px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  margin-top: 15px;
}
th,
td {
  text-align: left;
  padding: 11px;
  border-bottom: 1px solid #edf0e9;
}
th {
  background: #f0f4d7;
  font-weight: 700;
}

@media (max-width: 700px) {
  .machine-list article,
  .machine-list article.reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .machine-list article.reverse > img,
  .machine-list article.reverse > div {
    order: initial;
  }
  .machine-list img {
    height: 170px;
  }
  .product-hero {
    background-image: none;
  }
}

.about-hero {
  padding: 48px 0 34px;
  background: linear-gradient(120deg, #fff, #f4f8ff);
}
.about-hero h1 {
  font: 800 34px Manrope;
  line-height: 1.25;
  margin: 14px 0;
}
.about-hero p {
  line-height: 1.75;
  max-width: 520px;
}
.about-hero .about-image {
  height: 350px;
}
.stats.four {
  gap: 28px;
}
.stats.four b {
  font-size: 24px;
}
.stats.four strong {
  display: block;
  font-size: 16px;
  margin-top: 8px;
}
.values {
  background: #f4f7fd;
}
.section-title h2 {
  margin: 0;
  text-align: center;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 25px;
}
.value-grid article {
  background: #fff;
  border-radius: 10px;
  padding: 25px 24px;
  min-height: 150px;
  box-shadow: 0 5px 18px #173b7c0b;
  font-size: 19px;
}
.value-grid i,
.why-grid i {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--blue);
  font-style: normal;
  text-align: center;
  padding-top: 9px;
  font-size: 18px;
}
.value-grid h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}
.value-grid p,
.why-grid p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.why {
  padding-top: 42px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 26px;
  text-align: center;
}
.why-grid i {
  margin: 0 auto 13px;
  background: none;
  font-size: 25px;
}
.why-grid b {
  font-size: 16px;
  display: block;
}
.why-grid p {
  margin-top: 9px;
  color: #4d5770;
}
.map {
  width: 100%;
  height: 400px;
  margin-top: 20px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 800px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .about-hero .about-image {
    height: 260px;
    order: -1;
  }
   .copyright {
    display: block;
     text-align: center;
  }
  /* only direct children are block rows */
  .copyright > span {
    display: block;
    margin: 5px 0;
    
  }
  .copyright > span:last-child {
    white-space: nowrap;
    font-size: 12px;
  }
  /* keep iDEA + CURL.COM inline */
  .copyright .ideacurl,
  .copyright .ideacurl a,
  .copyright .ideacurl a span {
    display: inline;
    white-space: nowrap;
  }
}
@media (max-width: 450px) {
  .about-hero h1 {
    font-size: 28px;
  }
    .brand {
    width: 190px;
  }
  .phone {
    display: none;
  }
  .mobile-phone {
    display: block;
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 10px 0;
  }
  .nav-wrap {
    height: 70px; /* optional: slightly tighter header on phones */
  }
}
