*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark:      #12151e;
  --dark-2:    #1a1d2e;
  --dark-3:    #1e2235;
  --dark-card: #242840;
  --blue:      #4d8ec4;
  --blue-light:#6aaee0;
  --green:     #25d366;
  --text:      #e8ecf4;
  --text-muted:#8594b0;
  --border:    rgba(255,255,255,0.07);
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

body {
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Montserrat', 'Raleway', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* HEADER */
header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

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

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

nav a:hover,
nav a.active {
  background: var(--dark-card);
  color: var(--text);
}

/* HERO */
.hero {
  position: relative;
  background-image: url('../images/middleton_banner.jpg');
  background-size: cover;
  background-position: center 40%;
  padding: 6rem 1.5rem;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 15, 28, 0.82) 0%,
    rgba(12, 15, 28, 0.55) 60%,
    rgba(12, 15, 28, 0.15) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  transition: filter 0.2s, transform 0.15s;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* CONTAINER */
.container {
  max-width: 980px;
  margin: 0 auto;
}

/* SECTION DEFAULTS */
section {
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* SERVICES */
.services {
  background: var(--dark-3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}

.card-body a {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.card-body a:hover {
  text-decoration: underline;
}

/* ABOUT */
.about {
  background: var(--dark-2);
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-content p + p {
  margin-top: 1rem;
}

/* CONTACT */
.contact {
  background: var(--dark);
}

.contact-box {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-box > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: filter 0.2s, transform 0.15s;
}

.whatsapp-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.email-link {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.hours {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.88rem;
}

footer a {
  color: var(--blue-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-links {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* PAGE HERO (prices page) */
.page-hero {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* PRICES */
.prices-section {
  padding: 3rem 1.5rem;
}

.prices-section:nth-child(odd) {
  background: var(--dark);
}

.prices-section:nth-child(even) {
  background: var(--dark-3);
}

.prices-section h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.prices-section .intro {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
  line-height: 1.7;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table tr {
  border-bottom: 1px solid var(--border);
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 0.8rem 0.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  vertical-align: top;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--blue-light);
  white-space: nowrap;
  padding-left: 1.5rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(77, 142, 196, 0.1);
  border-left: 3px solid var(--blue);
  border-radius: 0 4px 4px 0;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  header {
    padding: 0.75rem 1rem;
  }

  nav a {
    margin-left: 0.75rem;
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
  }

  .hero {
    padding: 4rem 1.25rem;
    text-align: center;
  }

  .hero .container {
    max-width: 100%;
  }

  .hero::before {
    background: rgba(12, 15, 28, 0.72);
  }

  .btn-outline {
    display: block;
    margin: 0.75rem auto 0;
    width: fit-content;
  }

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

  .contact-box {
    padding: 1.75rem 1.25rem;
  }

  .price-table td {
    font-size: 0.87rem;
  }
}
