/* Font Import */
/* @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@700&family=Inter:wght@400;500&display=swap'); */

:root {
  --color-primary: #C41E3D;
  --color-dark: #1D1D1D;
  --color-bg: #FAFAFA;
  --color-card-bg: #FFFFFF;
  --color-border: #CCCFD9;

  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1296px;
  --spacing-container: 1.5rem;

  --color-border: #cccfd9;
  --color-background: #fdfdfd;
  --color-text: #000;
  --container-max-width: 65.5rem; /* 1048px / 16 */
  --gap-columns: 3rem; /* 48px */
  --gap-title-description: 1rem; /* 16px */
  --gap-image-title: 2.25rem; /* 36px */
  --gap-description-testimonial: 2rem; /* 32px if implied */
  --gap-heading-quote: 1.5rem; /* 24px */
  --font-family-base: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Container */
.container {
  margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header {
  background-color: var(--color-dark);
  padding: 2.0625rem 0;
  text-align: center;
  line-height: 1.2;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo-icon {
  height: 1.375rem;
}

.site-header__logo-text {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
}

/* ========== MAIN SECTION ========== */
.main {
  padding: 5.5rem 0 8.25rem;
  display: flex;
  justify-content: center;
}

.product {
  margin: 0 auto;
  width: 100%;
  padding: 0 3rem;
}

.product__container {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap-columns); /* 3rem = 48px */
  align-items: flex-start;
  max-width: var(--container-max-width); /* 1048px */
  margin: 0 auto;
}

.product__content {
  flex: 1; /* Equal flex distribution */
  display: flex;
  flex-direction: column;
}

.product__form {
  flex: 1; /* Equal flex distribution */
  display: flex;
  flex-direction: column;
}

/* ========== LEFT SIDE ========== */
.product__image {
  width: 100%;
}

.product__image-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px 4px 0 0;
}

/* Spacing between sections on left */
.product__body {
  margin-top: var(--gap-image-title); /* 2.25rem = 36px */
  display: flex;
  flex-direction: column;
  gap: var(--gap-title-description); /* 1rem = 16px */
}

/* Title and description */
.product__title {
  font-family: var(--font-family-base);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.product__description {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.product__testimonial-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--gap-heading-quote); /* 1.5rem = 24px */
}

.product__testimonial-quote {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.25rem; /* 4px */
  padding: 2.5rem 2.25rem; /* 40px top/bottom, 36px left/right */
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.product__testimonial-quote p {
  margin-bottom: 1rem;
}

.product__testimonial-author {
  font-weight: 600;
}

/* ========== RIGHT SIDE (Form) ========== */
.product__price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product__form-box {
  color: #555;
  font-size: 1rem;
}

.product__form-placeholder iframe {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 3px;
}

.product__terms {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.4;
  margin-top: 1rem;
}

.product__terms a {
  color: #555;
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  margin-bottom: 2rem;
}

.site-footer__link {
  color: #E1E2E9;
  text-decoration: underline;
  text-underline-offset: 0.27em;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
}

.site-footer__link:hover {
  color: #fff;
}

.site-footer__copyright {
  font-size: 1rem;
  color: #E1E2E9;
  font-weight: 400;
  line-height: 1.6;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large screens - Default above */

/* Medium screens */
@media (max-width: 1024px) {
  .product {
    padding: 0 2.25rem; /* 36px side padding */
  }
  
  .product__container {
    gap: 2.5rem;
  }
  
  .product__title {
    font-size: 1.625rem;
  }
  
  .product__testimonial-quote {
    padding: 2rem 1.875rem;
  }
  
  .site-footer__nav {
    gap: 2.5rem;
  }
}

/* Small screens - stack layout */
@media (max-width: 850px) {
  .main {
    padding: 4rem 0 8.25rem;
  }
  
  .product {
    padding: 0 1.5rem; /* 24px side padding */
  }
  
  .product__container {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .product__content,
  .product__form {
    width: 100%;
  }
  
  .product__title {
    font-size: 1.5rem;
  }
  
  .product__body {
    margin-top: 2rem;
  }
  
  .product__testimonial-quote {
    padding: 1.75rem 1.5rem;
  }
  
  .product__form-placeholder iframe {
    height: 600px;
  }
  
  .site-footer {
    padding: 2.5rem 0;
  }
  
  .site-footer__nav {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .main {
    padding: 3rem 0 8.25rem;
  }
  
  .product {
    padding: 0 1rem; /* 16px side padding */
  }
  
  .product__container {
    gap: 2rem;
  }
  
  .product__title {
    font-size: 1.375rem;
  }
  
  .product__body {
    margin-top: 1.5rem;
    gap: 0.875rem;
  }
  
  .product__testimonial-quote {
    padding: 1.5rem 1.25rem;
  }
  
  .product__form-placeholder iframe {
    height: 550px;
  }
  
  .site-header {
    padding: 1.5rem 0;
  }
}