:root {
  --background: #e3f2fd;
  --surface: #ffffff;
  --surface-alt: #e8f5f5;
  --text: #263238;
  --text-muted: #546e7a;
  --primary: #29b6f6;
  --primary-dark: #0277bd;
  --secondary: #66bb6a;
  --accent: #4db6ac;
  --border: rgba(38, 50, 56, 0.12);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(41, 182, 246, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #e0f7fa 0%, #e3f2fd 50%, #e8f4f8 100%);
}

img,
iframe {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
a {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 94, 186, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 18px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.brand-logo span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.brand-logo small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 95, 185, 0.18), rgba(43, 175, 118, 0.18));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 5px;
  border-radius: 999px;
  background: var(--text);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 3rem;
  background: linear-gradient(135deg, #e0f7fa 0%, #e3f2fd 100%);
  border-bottom: 1px solid rgba(38, 50, 56, 0.08);
}

.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(66px);
  opacity: 0.55;
}

.hero-section::before {
  width: 360px;
  height: 360px;
  background: rgba(41, 182, 246, 0.18);
  left: -120px;
  top: 16%;
}

.hero-section::after {
  width: 320px;
  height: 320px;
  background: rgba(102, 187, 106, 0.2);
  right: -100px;
  top: 8%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.hero-copy h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.hero-subtitle {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 18px 40px rgba(41, 182, 246, 0.24);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 28px 60px rgba(41, 182, 246, 0.32);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(15, 94, 186, 0.16);
}

.btn-white {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 94, 186, 0.15);
  color: var(--primary-dark);
}

.hero-highlights {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-highlights span {
  background: rgba(15, 94, 186, 0.1);
  color: var(--primary-dark);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 94, 186, 0.08);
}

.hero-media {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(102, 187, 106, 0.15), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(41, 182, 246, 0.18), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #e8f5f5 100%);
  border-radius: 32px;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,0.99), rgba(232,245,245,0.4));
  padding: 2.35rem;
  box-shadow: 0 32px 90px rgba(41, 182, 246, 0.16), 0 4px 12px rgba(41, 182, 246, 0.1);
  border: 1px solid rgba(41, 182, 246, 0.18);
  transition: all 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 44px 110px rgba(41, 182, 246, 0.22), 0 6px 16px rgba(41, 182, 246, 0.14);
  border-color: rgba(41, 182, 246, 0.28);
}

.hero-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.95rem;
}

.hero-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.95;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  display: block;
}

.section-split,
.section-page {
  padding: 4.5rem 0;
}

.gray-section {
  background: #e8f5f5;
}

.section-label {
  margin: 0 0 0.85rem;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(102, 187, 106, 0.15);
}

.section-intro h2,
.section-intro h3 {
  margin: 0 0 1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  line-height: 1.2;
}

.section-intro h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
}

.section-intro p {
  margin: 0;
  color: var(--text-muted);
  max-width: 54rem;
  line-height: 1.85;
}

.split-grid,
.info-grid,
.feature-grid,
.service-grid,
.blog-grid,
.portfolio-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.about-snapshot .section-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.about-snapshot .service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.about-snapshot .service-list article {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(41, 182, 246, 0.12);
  border: 1px solid rgba(41, 182, 246, 0.15);
  transition: all 0.3s ease;
}

.about-snapshot .service-list article:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(41, 182, 246, 0.18);
  border-color: rgba(41, 182, 246, 0.25);
}

.about-snapshot .service-list article h3 {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.about-snapshot .service-list article ul {
  padding-left: 1.25rem;
}

.about-snapshot .service-list article ul li {
  margin-bottom: 0.65rem;
}

.split-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.service-list article,
.info-grid article,
.feature-card,
.portfolio-grid article,
.blog-grid article,
.contact-cards > div,
.testimonial-slide,
.service-grid article {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,245,0.4));
  border-radius: var(--radius);
  padding: 1.95rem;
  box-shadow: 0 28px 70px rgba(41, 182, 246, 0.12), 0 2px 8px rgba(41, 182, 246, 0.06);
  border: 1px solid rgba(41, 182, 246, 0.16);
  transition: all 0.3s ease;
}

.service-list article,
.info-grid article,
.service-grid article,
.portfolio-grid article,
.blog-grid article {
  position: relative;
  overflow: hidden;
}

.service-list article:hover,
.info-grid article:hover,
.service-grid article:hover,
.portfolio-grid article:hover,
.blog-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(41, 182, 246, 0.18), 0 4px 12px rgba(41, 182, 246, 0.1);
  border-color: rgba(41, 182, 246, 0.25);
}

.service-list article::before,
.service-grid article::before,
.info-grid article::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.story-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,245,0.3));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 28px 70px rgba(41, 182, 246, 0.12), 0 2px 8px rgba(41, 182, 246, 0.06);
  border: 1px solid rgba(41, 182, 246, 0.16);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.story-container:hover {
  box-shadow: 0 40px 90px rgba(41, 182, 246, 0.16), 0 4px 12px rgba(41, 182, 246, 0.1);
  border-color: rgba(41, 182, 246, 0.25);
}

.story-container p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.story-container p:last-child {
  margin-bottom: 0;
}

.service-list article h3,
.service-grid article h3,
.info-grid article h3,
.portfolio-grid article h3,
.blog-grid article h3,
.contact-cards h3,
.testimonial-slide strong {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.service-list article ul,
.info-grid article ul,
.service-grid article ul {
  padding-left: 1.4rem;
  margin: 0;
  color: var(--text-muted);
}

.service-list article ul li,
.info-grid article ul li,
.service-grid article ul li {
  margin-bottom: 0.75rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  color: var(--text);
  font-weight: 700;
  text-align: center;
  padding: 2.3rem 1.5rem;
  min-height: 170px;
  background: linear-gradient(135deg, rgba(41, 182, 246, 0.08), rgba(102, 187, 106, 0.06));
  border: 1px solid rgba(41, 182, 246, 0.16);
  border-radius: 26px;
  transition: all 0.3s ease;
  box-shadow: 0 16px 40px rgba(41, 182, 246, 0.08);
}

.feature-card:nth-child(odd) {
  background: linear-gradient(135deg, rgba(102, 187, 106, 0.12), rgba(41, 182, 246, 0.05));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(41, 182, 246, 0.14);
  border-color: rgba(41, 182, 246, 0.25);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
}

.partner-grid span {
  display: block;
  border-radius: 20px;
  padding: 1.35rem 1rem;
  text-align: center;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(232,245,245,0.4));
  box-shadow: 0 18px 45px rgba(41, 182, 246, 0.12), 0 2px 6px rgba(41, 182, 246, 0.06);
  border: 1px solid rgba(41, 182, 246, 0.14);
  transition: all 0.3s ease;
}

.partner-grid span:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(41, 182, 246, 0.16), 0 4px 10px rgba(41, 182, 246, 0.1);
  border-color: rgba(41, 182, 246, 0.25);
}

.testimonial-slider {
  position: relative;
  min-height: 260px;
}

.testimonial-slide {
  display: none;
  padding: 2.25rem;
  min-height: 260px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 229, 245, 0.5));
  border-radius: 30px;
  border: 1px solid rgba(41, 182, 246, 0.16);
  box-shadow: 0 28px 80px rgba(41, 182, 246, 0.14), 0 4px 12px rgba(41, 182, 246, 0.08);
  transition: all 0.3s ease;
}

.testimonial-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 100px rgba(41, 182, 246, 0.2), 0 6px 16px rgba(41, 182, 246, 0.12);
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.testimonial-slide strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1rem;
}

.slider-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.slide-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 94, 186, 0.25);
  background: transparent;
  cursor: pointer;
}

.slide-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
}

.cta-banner {
  background: linear-gradient(135deg, #29b6f6, #66bb6a);
  color: #fff;
  border-radius: 34px;
  padding: 3rem 1.75rem;
  box-shadow: 0 32px 100px rgba(41, 182, 246, 0.24), 0 6px 16px rgba(41, 182, 246, 0.12);
  transition: all 0.3s ease;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0;
  max-width: 42rem;
}

.btn-white {
  color: var(--primary);
}

.page-block p {
  color: var(--text-muted);
  line-height: 1.85;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-block,
.location-block,
.page-cta {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,245,0.3));
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(41, 182, 246, 0.16);
  box-shadow: 0 28px 70px rgba(41, 182, 246, 0.12), 0 2px 8px rgba(41, 182, 246, 0.06);
  transition: all 0.3s ease;
}

.team-block:hover,
.location-block:hover,
.page-cta:hover {
  box-shadow: 0 40px 90px rgba(41, 182, 246, 0.16), 0 4px 12px rgba(41, 182, 246, 0.1);
  border-color: rgba(41, 182, 246, 0.25);
}

.team-block h3,
.location-block h3 {
  margin-top: 0;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-cards > div {
  border-radius: 24px;
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,245,0.3));
  border: 1px solid rgba(41, 182, 246, 0.14);
  box-shadow: 0 16px 40px rgba(41, 182, 246, 0.1), 0 2px 6px rgba(41, 182, 246, 0.05);
  transition: all 0.3s ease;
}

.contact-cards > div:hover {
  box-shadow: 0 28px 60px rgba(41, 182, 246, 0.16), 0 4px 10px rgba(41, 182, 246, 0.1);
  transform: translateY(-3px);
  border-color: rgba(41, 182, 246, 0.24);
}

.contact-cards a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-cards a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(41, 182, 246, 0.14);
  margin-top: 1rem;
  min-height: 280px;
  box-shadow: 0 18px 50px rgba(41, 182, 246, 0.12), 0 2px 6px rgba(41, 182, 246, 0.06);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,245,0.3));
  padding: 2.2rem;
  border-radius: 30px;
  border: 1px solid rgba(41, 182, 246, 0.16);
  box-shadow: 0 28px 70px rgba(41, 182, 246, 0.12), 0 2px 8px rgba(41, 182, 246, 0.06);
}

.contact-form label {
  display: grid;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 94, 186, 0.14);
  border-radius: 18px;
  padding: 1rem 1rem;
  background: #e8f5f5;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(43, 175, 118, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.whatsapp-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1fa851);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.22);
  font-weight: 700;
  z-index: 60;
}

.final-cta {
  padding: 4rem 0 3rem;
}

.dark-section {
  background: linear-gradient(135deg, #052a5c 0%, #0b3c87 100%);
  color: #f5f9ff;
}

.dark-section .section-label,
.dark-section .section-intro p,
.dark-section .section-intro h2,
.dark-section .cta-text {
  color: rgba(255, 255, 255, 0.92);
}

.dark-section .section-label {
  color: #90caf9;
}

.dark-section .cta-text {
  max-width: 760px;
  margin-top: 1rem;
  line-height: 1.85;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-light:hover,
.btn-light:focus {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 2rem 0 1.5rem;
  background: #041c44;
  color: #e6efff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a,
.social-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .info-grid,
  .service-grid,
  .portfolio-grid,
  .blog-grid,
  .contact-grid,
  .footer-grid,
  .about-snapshot .service-list,
  .cta-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-grid,
  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 840px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(18, 43, 64, 0.08);
  }

  .main-nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-section {
    padding-top: 4rem;
  }

  .hero-media {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-split,
  .section-page {
    padding: 3rem 0;
  }

  .feature-grid,
  .partner-grid,
  .service-grid,
  .info-grid,
  .portfolio-grid,
  .blog-grid,
  .contact-grid {
    gap: 1rem;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    text-align: center;
  }

  .cta-grid {
    align-items: stretch;
  }
}
