:root {
  --primary: #c4540a;
  --primary-dark: #9a4208;
  --secondary: #2d3436;
  --accent: #e17055;
  --light: #fef9f3;
  --dark: #1e272e;
  --text: #2d3436;
  --text-light: #636e72;
  --white: #ffffff;
  --border: #dfe6e9;
  --shadow: rgba(0, 0, 0, 0.08);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
}

.header-top span {
  opacity: 0.9;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  transition: 0.3s;
}

.hero-editorial {
  background-color: #f5e6d3;
  position: relative;
  overflow: hidden;
}

.hero-editorial .hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-editorial .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 80px 20px 50px;
  color: var(--white);
}

.hero-editorial h1 {
  font-size: 42px;
  max-width: 700px;
  margin: 0 auto 15px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.hero-editorial .hero-lead {
  font-size: 19px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.95;
}

.story-section {
  padding: 70px 20px;
  background: var(--white);
}

.story-section.alt-bg {
  background: var(--light);
}

.story-text {
  max-width: 680px;
  margin: 0 auto;
}

.story-text h2 {
  font-size: 30px;
  margin-bottom: 25px;
  color: var(--dark);
  line-height: 1.3;
}

.story-text p {
  margin-bottom: 20px;
  color: var(--text);
}

.story-text .lead {
  font-size: 20px;
  color: var(--text-light);
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 30px 0;
}

.inline-image {
  margin: 40px auto;
  max-width: 680px;
  background-color: #e8ddd0;
  border-radius: 8px;
  overflow: hidden;
}

.inline-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.inline-image figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
}

.cta-inline {
  background: var(--gradient);
  color: var(--white);
  padding: 18px 35px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  margin: 25px 0;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 84, 10, 0.3);
  color: var(--white);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px 0;
}

.service-card {
  flex: 1 1 300px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-image {
  height: 200px;
  background-color: #e8ddd0;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 15px;
}

.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.service-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

.testimonial-section {
  background: var(--dark);
  color: var(--white);
  padding: 70px 20px;
}

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

.testimonial-content blockquote {
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-content cite {
  font-style: normal;
  font-size: 16px;
  opacity: 0.8;
}

.form-section {
  padding: 80px 20px;
  background: var(--light);
}

.form-container {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--dark);
}

.form-container .form-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 35px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 84, 10, 0.3);
}

.page-header {
  background: var(--light);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 60px 20px;
}

.content-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--dark);
}

.content-section h3 {
  font-size: 20px;
  margin: 30px 0 15px;
  color: var(--dark);
}

.content-section p {
  margin-bottom: 18px;
}

.content-section ul {
  margin: 15px 0 25px 25px;
}

.content-section li {
  margin-bottom: 10px;
}

.about-intro {
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
}

.about-intro-text {
  flex: 1;
}

.about-intro-image {
  flex: 1;
  background-color: #e8ddd0;
  border-radius: 10px;
  overflow: hidden;
}

.about-intro-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  flex: 1 1 250px;
  text-align: center;
}

.team-member-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-color: #e8ddd0;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-light);
  font-size: 14px;
}

.contact-layout {
  display: flex;
  gap: 50px;
  padding: 60px 0;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text);
}

.contact-form-wrapper {
  flex: 1;
}

.services-list {
  padding: 60px 0;
}

.service-full {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.service-full:nth-child(even) {
  flex-direction: row-reverse;
}

.service-full:last-child {
  border-bottom: none;
}

.service-full-image {
  flex: 0 0 380px;
  height: 280px;
  background-color: #e8ddd0;
  border-radius: 10px;
  overflow: hidden;
}

.service-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-full-content {
  flex: 1;
}

.service-full h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-full p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.service-full .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.btn-service {
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
}

.btn-service:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--light);
}

.thanks-content {
  max-width: 550px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.thanks-content h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
}

.thanks-content p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.disclaimer-box {
  background: #fff8f0;
  border-left: 4px solid var(--accent);
  padding: 20px 25px;
  margin: 40px 0;
  font-size: 14px;
  color: var(--text-light);
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

.references {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.references h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.references ol {
  padding-left: 20px;
}

.references li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.references a {
  word-break: break-all;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px var(--shadow);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.cookie-content a {
  color: var(--primary);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

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

.cookie-btn.accept:hover {
  background: var(--primary-dark);
}

.cookie-btn.reject {
  background: var(--border);
  color: var(--text);
}

.cookie-btn.reject:hover {
  background: #c8d6e5;
}

.sticky-cta {
  position: fixed;
  bottom: 100px;
  right: 25px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(196, 84, 10, 0.4);
}

.sticky-cta svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--dark);
}

.legal-content h2 {
  font-size: 22px;
  margin: 35px 0 15px;
  color: var(--dark);
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text);
}

.legal-content ul {
  margin: 15px 0 20px 25px;
}

.legal-content li {
  margin-bottom: 8px;
}

.highlight-box {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.highlight-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  flex: 1 1 280px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.feature-text h4 {
  font-size: 17px;
  margin-bottom: 5px;
  color: var(--dark);
}

.feature-text p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 900px) {
  .about-intro,
  .contact-layout,
  .service-full {
    flex-direction: column;
  }

  .service-full:nth-child(even) {
    flex-direction: column;
  }

  .service-full-image {
    flex: none;
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    width: 100%;
    padding-top: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    border-top: 1px solid var(--border);
  }

  nav a {
    display: block;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-editorial h1 {
    font-size: 28px;
  }

  .hero-editorial .hero-content {
    padding: 60px 20px 40px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
  }
}
