/* ProxyAqua Home Improvements — Fllopi-inspired theme */
:root {
  --navy: #1A2B48;
  --navy-dark: #0f1a2e;
  --accent: #E84B3C;
  --accent-hover: #d43d2f;
  --white: #ffffff;
  --grey-50: #f8f9fb;
  --grey-100: #eef1f5;
  --grey-300: #c5cdd8;
  --grey-500: #6b7785;
  --grey-700: #3d4654;
  --text: #5a6573;
  --shadow: 0 8px 30px rgba(26, 43, 72, 0.12);
  --radius: 4px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --header-h: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar__left,
.top-bar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-social {
  display: flex;
  gap: 0.75rem;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: capitalize;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 43, 72, 0.92) 0%, rgba(26, 43, 72, 0.55) 55%, rgba(26, 43, 72, 0.2) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero__content {
  max-width: 580px;
  color: var(--white);
}

.hero__tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero--inner {
  min-height: 280px;
}

.hero--inner .hero__overlay {
  background: linear-gradient(90deg, rgba(26, 43, 72, 0.9) 0%, rgba(26, 43, 72, 0.7) 100%);
}

.hero--inner h1 {
  color: var(--white);
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

/* Feature cards over hero */
.feature-float {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  padding-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--grey {
  background: var(--grey-50);
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-head .tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.section-head--light .tag,
.section-head--light h2,
.section-head--light p {
  color: var(--white);
}

.section-head--light p {
  opacity: 0.9;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.split__images img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 200px;
}

.split__images img:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Service cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.service-card a.read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
}

.step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Projects */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-tabs button {
  background: none;
  border: none;
  font-weight: 600;
  color: var(--grey-500);
  cursor: pointer;
  padding: 0.35rem 0.75rem;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-item__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(26, 43, 72, 0.9));
  color: var(--white);
  font-weight: 600;
}

/* CTA banner */
.cta-banner {
  background: var(--accent);
  padding: 2.5rem 0;
  color: var(--white);
}

.cta-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-banner h2 {
  color: var(--white);
  margin: 0;
}

.cta-banner form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  max-width: 480px;
}

.cta-banner input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
}

/* Video split */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.media-split__visual {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.media-split__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 43, 72, 0.35);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
}

.media-split__content {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-split__content h2 {
  color: var(--white);
}

.mini-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mini-feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.mini-feature__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card__body {
  padding: 1.25rem;
  background: var(--white);
}

.team-card__role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-wrap__img {
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.contact-form-box {
  padding: 2.5rem;
  background: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 75, 60, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--accent);
}

.field-error {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  max-width: 1.25rem;
  margin: 0;
  padding: 0;
  align-self: start;
  justify-self: start;
  position: relative;
  top: 0.2em;
  accent-color: var(--accent);
  cursor: pointer;
  box-sizing: border-box;
  flex: none;
}

.form-check label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
  text-align: left;
}

.form-check .field-error {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.visible {
  display: block;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card--featured {
  border-color: var(--accent);
  transform: scale(1.03);
}

.price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--white);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
}

.price-card h3 {
  margin-bottom: 0.5rem;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

.price-card .price span {
  font-size: 1rem;
  color: var(--grey-500);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.5rem 0;
}

.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* Legal / content pages */
.content-page {
  padding: 3rem 0 4rem;
}

.content-page .legal-body {
  max-width: 900px;
  margin: 0 auto;
}

.content-page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.content-page h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.25rem;
}

.blog-card .date {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
.footer-offer {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.site-footer {
  background: var(--white);
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--grey-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-grid .logo img {
  margin-bottom: 1rem;
}

.footer-grid h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--grey-100);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--grey-500);
}

.footer-legal {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  color: var(--grey-500);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Stats bar */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
  }

  .header-cta {
    display: none;
  }

  .split,
  .cards-3,
  .steps,
  .project-grid,
  .media-split,
  .contact-wrap,
  .testimonial-grid,
  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    transform: none;
  }

  .feature-float {
    margin-top: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner form {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
}