/* ========================================
   PEEL THERAPY — Mandurah-Inspired Styles
   Geometric shapes, Poppins font, multi-colour palette
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Mandurah colour palette */
  --blue: #2261AE;
  --blue-light: #5AA3D2;
  --teal: #9DD8D7;
  --green: #BAD982;
  --yellow: #FFCB58;
  --pink: #F69AA0;
  --orange: #F15D22;
  --purple: #63516D;
  --taupe: #BEB0A3;

  /* Neutrals */
  --navy: #1A2B4A;
  --text: #333D4A;
  --text-light: #6B7789;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-100: #E8ECF1;
  --gray-200: #D1D7E0;

  /* Spacing & radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Buttons (Mandurah: clean, rounded) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #1B4F8F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 97, 174, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-full {
  width: 100%;
}

/* --- Header (Mandurah: clean, minimal) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 8px 0;
  background: var(--white);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-full {
  height: 70px;
  width: auto;
}

.logo-img-header {
  height: 82px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.logo-img-footer {
  height: 160px;
  width: auto;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 24px;
  white-space: nowrap;
  margin-left: 32px;
}

.nav-link {
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--off-white);
  color: var(--blue);
}

.nav-btn {
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--blue);
  color: var(--white);
  margin-left: 12px;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: #1B4F8F;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section (Mandurah: full-width with geometric shape accents) --- */
.hero {
  position: relative;
  background: var(--white);
  padding: 120px 0 80px;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-shapes {
  position: absolute;
  z-index: 1;
}

.hero-shapes-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-shapes-right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Quick Actions Bar (Mandurah: icon action buttons) --- */
.quick-actions {
  background: var(--off-white);
  padding: 0;
  position: relative;
  z-index: 5;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  transition: all 0.25s ease;
  border-right: 1px solid var(--gray-100);
}

.action-item:last-child {
  border-right: none;
}

.action-item:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.action-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.action-icon-blue {
  background: #E8F0FA;
  color: var(--blue);
}

.action-icon-teal {
  background: #E5F6F6;
  color: #008B8B;
}

.action-icon-green {
  background: #EFF6E3;
  color: #5B8C2A;
}

.action-icon-yellow {
  background: #FFF5DD;
  color: #B8860B;
}

/* --- Section Headers (Mandurah: clean, no tags, direct headings) --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* --- Services (Mandurah: cards with colour accent bars) --- */
.services {
  padding: 90px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.section-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.section-shape-right {
  right: -30px;
  top: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.services-grid .service-card {
  width: calc(33.333% - 16px);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-color-bar {
  height: 5px;
  width: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin: 28px 28px 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 28px 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 28px 28px;
}

/* --- About (Mandurah: two columns with shape compositions) --- */
.about {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.about-shapes {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.about-shapes-left {
  left: 0;
  bottom: 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-visual {
  position: relative;
}

.about-shape-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.about-shape-grid svg {
  width: 100%;
  height: 100%;
}

.about-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 75%;
}

.stat {
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #E5F6F6;
  color: #00838F;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Approach (Mandurah: geometric shape step indicators) --- */
.approach {
  padding: 90px 0;
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.approach-step {
  text-align: center;
  padding: 24px 16px;
}

.step-shape {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-shape svg {
  position: absolute;
  inset: 0;
}

.step-num {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.step-shape-teal .step-num { color: var(--navy); }
.step-shape-yellow .step-num { color: var(--navy); }
.step-shape-green .step-num { color: var(--navy); }
.step-shape-blue .step-num { color: var(--white); }

.approach-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- CTA (Mandurah: brand blue with geometric shapes) --- */
.cta {
  position: relative;
  padding: 80px 0;
  background: var(--blue);
  overflow: hidden;
}

.cta-shapes {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.cta-shapes-left {
  left: 0;
  bottom: 0;
}

.cta-shapes-right {
  right: 0;
  top: 0;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* --- Contact --- */
.contact {
  padding: 90px 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 97, 174, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7789' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* --- Footer (Mandurah: dark with colour bar) --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-shapes {
  line-height: 0;
}

.footer-shapes svg {
  display: block;
  width: 100%;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 48px 0 36px;
}

.logo-light .logo-text {
  color: var(--white) !important;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 300px;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--teal);
}

.footer-flags {
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flags-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flag {
  width: 48px;
  height: 32px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  border-top: none;
  padding: 16px 0 20px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.animate-in:nth-child(2) { transition-delay: 0.08s; }
.service-card.animate-in:nth-child(3) { transition-delay: 0.16s; }
.service-card.animate-in:nth-child(4) { transition-delay: 0.24s; }
.service-card.animate-in:nth-child(5) { transition-delay: 0.32s; }
.service-card.animate-in:nth-child(6) { transition-delay: 0.4s; }

.approach-step.animate-in:nth-child(2) { transition-delay: 0.1s; }
.approach-step.animate-in:nth-child(3) { transition-delay: 0.2s; }
.approach-step.animate-in:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-shapes-left svg,
  .hero-shapes-right svg {
    width: 90px;
    height: 180px;
  }

  .services-grid .service-card {
    width: calc(50% - 12px);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-inner {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .logo-img-header {
    height: 56px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 28px 40px;
    gap: 4px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-left: 0;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav.nav-open {
    right: 0;
  }

  .nav-link {
    padding: 14px 16px;
    width: 100%;
    font-size: 1rem;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 12px;
    padding: 14px 24px;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-shapes {
    opacity: 0.5;
  }

  .hero-shapes-left svg,
  .hero-shapes-right svg {
    width: 60px;
    height: 120px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    padding: 24px 16px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .services-grid .service-card {
    width: 100%;
  }

  .services-grid {
    gap: 16px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 340px;
    margin: 0 auto;
  }

  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .cta h2 {
    font-size: 1.7rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .actions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}
