@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap");

:root {
  --ink: #111827;
  --muted: #4b5563;
  --light-muted: #6b7280;
  --line: #e5e7eb;
  --dark-line: #374151;
  --dark: #111827;
  --dark-muted: #9ca3af;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --soft: #f8fafc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background-color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.logo span {
  color: var(--orange);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 12px;
}

nav a {
  margin-left: clamp(22px, 3vw, 40px);
  color: var(--light-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding: clamp(74px, 10vw, 132px) 0 clamp(82px, 11vw, 138px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 40px;
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  color: var(--orange);
  border-bottom: 6px solid var(--orange);
}

.hero p {
  max-width: 650px;
  margin-bottom: 58px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 40px;
  color: var(--white);
  background-color: var(--orange);
  border: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn::after {
  content: " ->";
}

.btn:hover {
  background-color: var(--orange-dark);
}

.dark-section {
  padding: clamp(72px, 10vw, 120px) 0;
  color: var(--white);
  background-color: var(--dark);
}

h2 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.subtitle {
  max-width: 650px;
  color: var(--dark-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 60px);
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--dark-line);
}

.grid-item h3 {
  margin-bottom: 15px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.grid-item p {
  color: var(--dark-muted);
  font-size: 16px;
  line-height: 1.7;
}

.light-section,
.book-section,
.contact-section {
  padding: clamp(72px, 9vw, 110px) 0;
}

.light-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.two-columns,
.book-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(46px, 7vw, 80px);
  align-items: start;
}

.large-text,
.method-list p,
.book-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.75;
}

.method-list {
  padding-top: 8px;
}

.method-list p {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.method-list p:last-child {
  margin-bottom: 0;
}

.method-list strong {
  color: var(--ink);
}

.book-section {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.book-layout {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.book-layout img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(17, 24, 39, 0.16);
}

.contact-section {
  color: var(--white);
  background: var(--dark);
}

.contact-section h2 {
  max-width: 780px;
}

.contact-layout {
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.email {
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 4px solid var(--orange);
}

.email:hover {
  color: var(--orange);
}

@media (max-width: 1180px) {
  .container {
    max-width: 1060px;
  }

  header {
    padding: 34px 0;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 112px;
  }

  h1 {
    max-width: 860px;
    font-size: 64px;
  }

  h2 {
    max-width: 820px;
    font-size: 44px;
  }

  .grid {
    gap: 42px;
  }

  .two-columns,
  .contact-layout {
    gap: 62px;
  }
}

@media (max-width: 980px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  nav {
    justify-content: flex-start;
    gap: 16px 28px;
  }

  nav a {
    margin-left: 0;
  }

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

  .two-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .book-layout {
    grid-template-columns: minmax(0, 1fr) 190px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  header {
    gap: 20px;
    padding: 25px 0;
  }

  nav {
    gap: 15px 24px;
  }

  nav a {
    margin-left: 0;
    font-size: 12px;
  }

  .hero {
    padding: 60px 0 70px;
  }

  h1 {
    margin-bottom: 25px;
    font-size: 42px;
    line-height: 1.08;
  }

  h1 span {
    border-bottom-width: 4px;
  }

  .hero p {
    margin-bottom: 40px;
    font-size: 16px;
  }

  .btn {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    text-align: center;
  }

  .dark-section,
  .light-section,
  .book-section,
  .contact-section {
    padding: 60px 0;
  }

  h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .subtitle {
    font-size: 16px;
  }

  .grid,
  .two-columns,
  .book-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid {
    margin-top: 40px;
    padding-top: 40px;
  }

  .large-text,
  .method-list p,
  .book-copy p {
    font-size: 16px;
  }

  .book-layout img {
    width: 180px;
    justify-self: start;
  }

  .email {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  header {
    padding: 22px 0;
  }

  .logo {
    font-size: 26px;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }

  nav a {
    font-size: 11px;
    line-height: 1.25;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  h1 span {
    border-bottom-width: 3px;
  }

  h2 {
    font-size: 29px;
  }

  .hero p,
  .subtitle,
  .large-text,
  .method-list p,
  .book-copy p,
  .grid-item p {
    font-size: 16px;
  }

  .grid-item h3 {
    font-size: 22px;
  }

  .method-list p {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  .book-layout img {
    width: min(170px, 70vw);
  }

  .email {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
