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

 :root {
     --primary-color: #88305A;
     --gradient-start: #F8F6C5;
     --gradient-mid: #E7D59B;
     --gradient-end: #C9A75F;
     --bg-light: #F5F5F5;
     --text-dark: #2C2C2C;
     --white: #FFFFFF;
 }

 body {
     font-family: 'Montserrat', sans-serif;
     color: var(--text-dark);
     line-height: 1.2;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4 {
     font-family: 'Playfair Display', serif;
 }

 /* Header */
 .header {
     background: var(--primary-color);
     padding: 15px 0;
     text-align: center;
     box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 0;
     z-index: 1000;
 }

 .logo {
     display: flex;
     justify-content: center;
     align-items: center;
 }

 /* Hero Section - Updated */
 #grane {
     pointer-events: none;
 }

 .grain-container {
     width: 100%;
     height: 100%;
     position: relative;
 }

 .hero {
     /* background: linear-gradient(135deg, var(--primary-color) 0%, #6b2647 100%); */
     background-color: #fcf7f0;
     background-image:
         /* теперь слева — фиолетовый */
         radial-gradient(at 15% 25%, var(--primary-color) 0px, transparent 50%),
         /* теперь справа — жёлтый (gradient-start) */
         radial-gradient(at 85% 75%, var(--gradient-start) 0px, transparent 50%),
         /* промежуточные оттенки — оставляем как есть */
         radial-gradient(at 40% 70%, var(--gradient-mid) 0px, transparent 50%),
         radial-gradient(at 70% 20%, var(--gradient-end) 0px, transparent 50%),
         radial-gradient(at 10% 80%, rgba(255, 255, 255, 0.6) 0px, transparent 50%);
     padding: 60px 20px;
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(248,246,197,0.1)" stroke-width="0.5"/></svg>');
     background-size: 100px 100px;
     opacity: 0.3;
 }

 .hero-container {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1.5fr 1fr;
     gap: 50px;
     position: relative;
     z-index: 1;
 }

 .hero-content {
     font-size: 1.5rem;
     color: var(--gradient-start);
     color: var(--white);
 }

 .hero-content-icon {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 1.5rem;
     margin-bottom: 10px;
     color: var(--gradient-start);
 }

 .hero-content-icon svg {
     margin-bottom: 4px;
 }

 .hero-content h1 {
     display: inline-block;
     font-size: 4rem;
     margin-bottom: 20px;
     background: linear-gradient(135deg, var(--white) 0%, var(--gradient-end) 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     line-height: 1.2;
 }

 .hero-content .subtitle {
     font-size: 2rem;
     margin-bottom: 30px;
     font-weight: 300;
 }

 .hero-content .location {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     font-size: 1.2rem;
     color: var(--gradient-start);
     margin-bottom: 40px;
 }

 .hero-content .location svg {
     width: 24px;
     height: 24px;
 }

 .hero-image {
     display: flex;
     position: relative;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
 }

 .hero-image img {
     width: 100%;
     /* height: auto;
     max-height: 652px; */
     object-fit: cover;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 20px;
     margin-top: 50px;
 }

 .service-card {
     background: var(--white);
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(136, 48, 90, 0.2);
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(136, 48, 90, 0.3);
 }

 .service-card img {
     /* width: 100%;
     height: 200px;
     object-fit: cover; */

     width: 100%;
     aspect-ratio: 3 / 4;
     object-fit: cover;
     display: block;
     height: 200px;
 }

 .service-card h3 {
     color: var(--primary-color);
     font-size: 1.3rem;
     padding: 20px;
     text-align: center;
 }

 .btn-primary {
     position: relative;
     overflow: hidden;
     max-width: 240px;
     width: 100%;
     display: inline-block;
     padding: 15px 50px;
     background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
     color: var(--primary-color);
     text-decoration: none;
     border-radius: 30px;
     font-weight: 600;
     font-size: 1.1rem;
     box-shadow: 0 4px 15px rgba(136, 48, 90, 0.3);
     transition: box-shadow 0.3s ease;
     border: none;
     cursor: pointer;
 }

 .btn-primary::after {
     content: '';
     position: absolute;
     top: 0;
     left: -200%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg,
             transparent 0%,
             rgba(255, 255, 255, 0.6) 20%,
             rgba(255, 255, 255, 0.9) 50%,
             rgba(255, 255, 255, 0.6) 80%,
             transparent 100%);
     transform: skewX(-30deg);
     transition: left 1.8s ease;
     pointer-events: none;
     cursor: pointer;
 }

 .btn-primary:hover::after {
     left: 200%;
 }

 .btn-primary:hover {
     transform: none;
     box-shadow: 0 6px 25px rgba(136, 48, 90, 0.5);
 }

 /* Modal Styles */
 .modal-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.7);
     z-index: 2000;
     align-items: center;
     justify-content: center;
     padding: 20px;
     backdrop-filter: blur(5px);
 }

 .modal-overlay.active {
     display: flex;
     animation: fadeIn 0.3s ease;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 .modal {
     background: var(--white);
     border-radius: 20px;
     max-width: 600px;
     width: 100%;
     max-height: 90vh;
     overflow-y: auto;
     position: relative;
     animation: slideUp 0.3s ease;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
 }

 @keyframes slideUp {
     from {
         transform: translateY(50px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 .modal-header {
     background: linear-gradient(135deg, var(--primary-color), #a0406e);
     color: var(--white);
     padding: 30px;
     text-align: center;
     position: relative;
 }

 .modal-header h2 {
     font-size: 2rem;
     margin-bottom: 10px;
 }

 .modal-header p {
     opacity: 0.9;
     font-size: 1rem;
 }

 .modal-close {
     position: absolute;
     top: 20px;
     right: 20px;
     background: rgba(255, 255, 255, 0.2);
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     color: var(--white);
     font-size: 1.5rem;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .modal-close:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: rotate(90deg);
 }

 .modal-body {
     padding: 40px 30px;
 }

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

 .form-group label {
     display: block;
     color: var(--primary-color);
     font-weight: 600;
     margin-bottom: 8px;
     font-size: 0.95rem;
 }

 .form-group label .required {
     color: #e74c3c;
 }

 .form-group input,
 .form-group select,
 .form-group textarea {
     width: 100%;
     padding: 14px 18px;
     border: 2px solid #e0e0e0;
     border-radius: 10px;
     font-family: 'Montserrat', sans-serif;
     font-size: 1rem;
     transition: all 0.3s ease;
 }

 .form-group input:focus,
 .form-group select:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: var(--primary-color);
     box-shadow: 0 0 0 3px rgba(136, 48, 90, 0.1);
 }

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

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

 .form-submit {
     margin-top: 30px;
 }

 .btn-submit {
     width: 100%;
     padding: 16px;
     background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
     color: var(--primary-color);
     border: none;
     border-radius: 30px;
     font-size: 1.1rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(136, 48, 90, 0.3);
 }

 .btn-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(136, 48, 90, 0.4);
 }

 .btn-submit:active {
     transform: translateY(0);
 }

 .form-success {
     display: none;
     text-align: center;
     padding: 40px 20px;
 }

 .form-success.active {
     display: block;
     animation: fadeIn 0.5s ease;
 }

 .success-icon {
     width: 80px;
     height: 80px;
     background: linear-gradient(135deg, #27ae60, #2ecc71);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 20px;
     font-size: 3rem;
     color: var(--white);
 }

 .form-success h3 {
     color: var(--primary-color);
     font-size: 1.8rem;
     margin-bottom: 15px;
 }

 .form-success p {
     color: #666;
     margin-bottom: 25px;
 }

 /* About Section with Slider */
 .about {
     padding: 80px 20px;
     background: var(--bg-light);
 }

 .container {
     max-width: 1400px;
     margin: 0 auto;
 }

 .about-grid {
     display: grid;
     grid-template-columns: 1.5fr 1fr;
     gap: 30px 50px;
     align-items: center;
 }

 .about h2 {
     color: var(--primary-color);
     font-size: 2.5rem;
     margin-bottom: 20px;
 }

 .about h3 {
     color: var(--primary-color);
     font-size: 1.5rem;
     margin-bottom: 20px;
 }

 .about p {
     margin-bottom: 20px;
     line-height: 1.8;
     color: #555;
 }

 /* Slider Styles */
 .slider-container {
     position: relative;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
     height: 600px;
 }

 .slider {
     position: relative;
     height: 100%;
 }

 .slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transition: opacity 0.5s ease;
 }

 .slide.active {
     opacity: 1;
 }

 .slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .slider-dots {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
 }

 .dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .dot.active {
     background: var(--white);
     width: 30px;
     border-radius: 6px;
 }

 .slider-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 100%;
     display: flex;
     justify-content: space-between;
     padding: 0 20px;
     pointer-events: none;
 }

 .slider-btn {
     background: rgba(136, 48, 90, 0.8);
     color: var(--white);
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 1.5rem;
     transition: all 0.3s ease;
     pointer-events: all;
 }

 .slider-btn:hover {
     background: var(--primary-color);
     transform: scale(1.1);
 }

 /* reviews */
 .reviews {
     padding: 80px 20px;
     text-align: center;
 }

 .reviews h2 {
     color: var(--primary-color);
     font-size: 2.5rem;
     margin-bottom: 50px;
 }

 .review-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     max-width: 1200px;
     margin: 0 auto;
 }

 .review-card {
     background: var(--white);
     padding: 40px;
     border-radius: 15px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 }

 .review-card img {
     width: 120px;
     height: 120px;
     border-radius: 50%;
     margin-bottom: 20px;
     object-fit: cover;
 }

 .review-card p {
     font-style: italic;
     color: #555;
     margin-bottom: 15px;
 }

 .review-card h4 {
     color: var(--primary-color);
 }

 /* Gallery - Masonry Layout */
 .gallery {
     padding: 80px 20px;
     background: var(--bg-light);
 }

 .gallery h2 {
     text-align: center;
     color: var(--primary-color);
     font-size: 2.5rem;
     margin-bottom: 20px;
 }

 .gallery-subtitle {
     text-align: center;
     color: #666;
     margin-bottom: 50px;
     font-size: 1.1rem;
 }

 .gallery-masonry {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     grid-auto-rows: 435px;
     gap: 20px;
     max-width: 1400px;
     margin: 0 auto;
 }

 .gallery-item {
     position: relative;
     border-radius: 15px;
     overflow: hidden;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .gallery-item:hover {
     transform: scale(1.02);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
 }

 .gallery-item:hover img {
     transform: scale(1.1);
 }

 .gallery-item.tall {
     grid-row: span 2;
 }

 .gallery-item.wide {
     grid-column: span 2;
 }

 .gallery-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(136, 48, 90, 0.7);
     opacity: 0;
     transition: opacity 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .gallery-item:hover .gallery-overlay {
     opacity: 1;
 }

 .gallery-overlay span {
     padding: 40px;
     color: var(--white);
     font-size: 20px;
 }

 /* Pricing - Updated */
 .pricing {
     padding: 80px 20px;
 }

 .pricing h2 {
     color: var(--primary-color);
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 40px;
 }

 .tabs {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-bottom: 40px;
     flex-wrap: wrap;
 }

 .tab {
     padding: 12px 30px;
     border: 2px solid var(--primary-color);
     background: transparent;
     color: var(--primary-color);
     border-radius: 25px;
     cursor: pointer;
     font-weight: 600;
     transition: all 0.3s ease;
     font-family: 'Montserrat', sans-serif;
 }

 .tab.active,
 .tab:hover {
     background: var(--primary-color);
     color: var(--white);
 }

 .pricing-content {
     max-width: 900px;
     margin: 0 auto;
 }

 .pricing-category {
     display: none;
 }

 .pricing-category.active {
     display: block;
     animation: fadeIn 0.5s ease;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .pricing-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 25px;
     border-bottom: 1px solid #e0e0e0;
     transition: all 0.3s ease;
 }

 .pricing-item:hover {
     background: #fff5f7;
     border-radius: 10px;
     padding-left: 35px;
 }

 .pricing-item h4 {
     color: var(--primary-color);
     margin-bottom: 5px;
     font-size: 1.2rem;
 }

 .pricing-item p {
     color: #666;
     font-size: 0.9rem;
 }

 .pricing-item .price {
     font-weight: 700;
     color: var(--primary-color);
     font-size: 1.3rem;
     white-space: nowrap;
     margin-left: 20px;
 }

 /* Create Your Cake - Visual Block */
 .create-cake {
     padding: 80px 20px;
     background: linear-gradient(135deg, var(--gradient-start), var(--white));
 }

 .create-cake h2 {
     color: var(--primary-color);
     font-size: 3.5rem;
     text-align: center;
     margin-bottom: 60px;
     font-family: 'Playfair Display', serif;
 }

 .create-cake-container {
     max-width: 1200px;
     margin: 0 auto;
     background: var(--white);
     border-radius: 20px;
     padding: 60px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
 }

 .create-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 40px;
     margin-bottom: 60px;
 }

 .create-column h3 {
     color: var(--primary-color);
     font-size: 1.4rem;
     margin-bottom: 20px;
     padding-bottom: 10px;
     border-bottom: 2px solid var(--gradient-end);
 }

 .create-column ul {
     list-style: none;
 }

 .create-column li {
     padding: 10px 0;
     color: #555;
     position: relative;
     padding-left: 25px;
 }

 .create-column li:before {
     content: '—';
     position: absolute;
     left: 0;
     color: var(--primary-color);
     font-weight: bold;
 }

 .cake-sizes {
     display: flex;
     justify-content: center;
     align-items: flex-end;
     gap: 60px;
     padding: 40px;
     background: linear-gradient(135deg, rgba(136, 48, 90, 0.05), rgba(201, 167, 95, 0.05));
     border-radius: 15px;
 }

 .size-block {
     text-align: center;
 }

 .size-visual {
     display: flex;
     flex-direction: column-reverse;
     align-items: center;
     gap: 5px;
     margin-bottom: 20px;
 }

 .cake-tier {
     background: linear-gradient(135deg, var(--primary-color), #a0406e);
     border: 3px solid var(--gradient-end);
     border-radius: 5px;
 }

 .size-mini .cake-tier {
     width: 120px;
     height: 60px;
 }

 .size-maxi .cake-tier:nth-child(1) {
     width: 160px;
     height: 80px;
 }

 .size-maxi .cake-tier:nth-child(2) {
     width: 120px;
     height: 70px;
 }

 .size-super .cake-tier:nth-child(1) {
     width: 220px;
     height: 90px;
 }

 .size-super .cake-tier:nth-child(2) {
     width: 180px;
     height: 80px;
 }

 .size-super .cake-tier:nth-child(3) {
     width: 140px;
     height: 70px;
 }

 .size-super .cake-tier:nth-child(4) {
     width: 100px;
     height: 60px;
 }

 .size-label {
     font-family: 'Playfair Display', serif;
     font-size: 1.5rem;
     color: var(--primary-color);
     font-weight: 600;
     letter-spacing: 2px;
 }

 /* FAQ */
 .faq {
     padding: 80px 20px;
 }

 .faq h2 {
     color: var(--primary-color);
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 50px;
 }

 .faq-container {
     max-width: 800px;
     margin: 0 auto;
 }

 .faq-item {
     margin-bottom: 15px;
     border-radius: 10px;
     overflow: hidden;
     border: 1px solid #e0e0e0;
 }

 .faq-question {
     background: var(--bg-light);
     padding: 20px;
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-weight: 600;
     color: var(--primary-color);
     transition: all 0.3s ease;
 }

 .faq-question:hover {
     background: #ebebeb;
 }

 .faq-answer {
     padding: 0 20px;
     max-height: 0;
     overflow: hidden;
     transition: all 0.3s ease;
     background: var(--white);
 }

 .faq-item.active .faq-answer {
     padding: 20px;
     max-height: 300px;
 }

 .faq-icon {
     font-size: 1.5rem;
     transition: transform 0.3s ease;
 }

 .faq-item.active .faq-icon {
     transform: rotate(180deg);
 }

 /* Contacts */
 .contacts {
     padding: 80px 20px;
     background: var(--bg-light);
 }

 .contacts h2 {
     color: var(--primary-color);
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 50px;
 }

 .contacts-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     max-width: 1200px;
     margin: 0 auto;
 }

 .contact-info h3 {
     color: var(--primary-color);
     margin-bottom: 20px;
     font-size: 1.8rem;
 }

 .contact-item {
     margin-bottom: 20px;
     padding: 15px;
     background: var(--white);
     border-radius: 10px;
 }

 .contact-item:last-child {
     margin-bottom: 0;
 }

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

 .contact-item a:hover {
     color: var(--primary-color);
 }

 .contact-item strong {
     color: var(--primary-color);
     display: block;
     margin-bottom: 5px;
 }

 .map {
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     height: 520px;
     background: #ddd;
 }

 .map iframe {
     width: 100%;
     height: 100%;
     border: none;
 }

 /* Footer */
 .footer {
     background: var(--primary-color);
     color: var(--white);
     padding: 40px 20px;
     text-align: center;
 }

 .footer-links {
     margin-bottom: 20px;
 }

 .footer-links a {
     color: var(--gradient-start);
     text-decoration: none;
     margin: 0 15px;
     transition: color 0.3s ease;
     display: inline-block;
     margin-bottom: 10px;
 }

 .footer-links a:hover {
     color: var(--gradient-end);
 }

 .footer p {
     opacity: 0.8;
     font-size: 0.9rem;
 }





 /* ===== ADVANTAGES ===== */
 .advantages {
     padding: 80px 20px;
     background: var(--bg-light);
 }

 .advantages-title {
     color: var(--primary-color);
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 50px;
     font-family: 'Playfair Display', serif;
 }

 .advantages-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 30px;
     max-width: 1400px;
     margin: 0 auto;
 }

 .advantage-card {
     background: var(--white);
     padding: 35px 25px 30px;
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     text-align: center;
     transition: all 0.3s ease;
     border: 1px solid rgba(136, 48, 90, 0.05);
     animation: fadeInUp 0.6s ease;
 }

 .advantage-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(136, 48, 90, 0.15);
     border-color: var(--gradient-end);
 }

 .advantage-icon {
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 3.5rem;
     margin: 0 auto 20px auto;
     background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
     width: 80px;
     height: 80px;
     line-height: 80px;
     border-radius: 50%;
     text-align: center;
     box-shadow: 0 6px 20px rgba(136, 48, 90, 0.15);
 }

 .advantage-icon .fa {
     font-size: 35px;
 }

 .advantage-card h3 {
     color: var(--primary-color);
     font-family: 'Playfair Display', serif;
     font-size: 1.4rem;
     margin-bottom: 15px;
 }

 .advantage-card p {
     color: #555;
     line-height: 1.6;
     font-size: 0.95rem;
 }

 .advantage-card a {
     color: var(--primary-color);
     text-decoration: underline;
     font-weight: 500;
     transition: color 0.3s;
 }

 .advantage-card a:hover {
     color: var(--gradient-end);
 }

 @media (max-width: 1349px) {
     .hero-container {
         gap: 30px;
     }

     .service-card img {
         height: 180px;
     }
 }

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

     .hero-image {
         display: none;
     }

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

     .service-card img {
         height: 300px;
     }
 }

 /* Responsive */
 @media (max-width: 1024px) {

     .about-grid,
     .contacts-grid {
         grid-template-columns: 1fr;
     }

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

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

     .cake-sizes {
         flex-direction: column;
         gap: 40px;
     }

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


 }

 @media (max-width: 991px) {

     .service-card img {
         height: 250px;
     }
 }



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

     .logo {
         font-size: 1.8rem;
     }

     .gallery-masonry {
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         grid-auto-rows: auto;
     }

     .gallery-item.tall,
     .gallery-item.wide {
         grid-column: span 1;
         grid-row: span 1;
     }

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

     .create-cake h2 {
         font-size: 2.5rem;
     }

     .modal-header h2 {
         font-size: 1.5rem;
     }

     .modal-body {
         padding: 30px 20px;
     }

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

 }

 @media (max-width: 575px) {
     .header {
         padding: 5px 0;
     }


     .hero {
         /* background: linear-gradient(135deg, var(--primary-color) 0%, #6b2647 100%); */
         background-color: #fcf7f0;
         background-image:
             /* теперь слева — фиолетовый */
             radial-gradient(at 15% 25%, var(--primary-color) 0px, transparent 50%),
             /* теперь справа — жёлтый (gradient-start) */
             radial-gradient(at 85% 75%, var(--gradient-start) 0px, transparent 50%),
             /* промежуточные оттенки — оставляем как есть */
             radial-gradient(at 40% 70%, var(--gradient-mid) 0px, transparent 50%), radial-gradient(at 70% 0%, #c9a75fc4 0px, transparent 50%), radial-gradient(at 10% 80%, rgba(255, 255, 255, 0.6) 0px, transparent 50%);
         padding: 60px 20px;
         padding: 60px 20px;
         position: relative;
         overflow: hidden;
     }

     .service-card img {
         height: 300px;
     }

     .about,
     .advantages,
     .gallery,
     .pricing,
     .create-cake,
     .faq,
     .reviews,
     .contacts {
         padding: 40px 20px;
     }

     .about h2,
     .advantages-title,
     .gallery h2,
     .pricing h2,
     .create-cake h2,
     .faq h2,
     .reviews h2,
     .contacts h2 {
         font-size: 30px;
     }

     .services-grid {
         display: grid;
         /* grid-template-columns: repeat(2, 1fr); */
         grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     }

     .create-cake-container {
         padding: 40px;
     }

     .cake-sizes {
         padding: 40px 20px;
         align-items: center;
     }

     .size-mini .cake-tier {
         width: 100px;
         height: 50px;
     }

     .size-maxi .cake-tier:nth-child(1) {
         width: 140px;
         height: 70px;
     }

     .size-maxi .cake-tier:nth-child(2) {
         width: 100px;
         height: 60px;
     }

     .size-super .cake-tier:nth-child(1) {
         width: 200px;
         height: 80px;
     }

     .size-super .cake-tier:nth-child(2) {
         width: 160px;
         height: 70px;
     }

     .size-super .cake-tier:nth-child(3) {
         width: 120px;
         height: 60px;
     }

     .size-super .cake-tier:nth-child(4) {
         width: 80px;
         height: 50px;
     }

     .contact-info h3 {
         font-size: 21px;
     }

     .map {
         height: 400px;
     }

     .footer-links {
         font-size: 12px;
     }

     .footer p {
         font-size: 13px;
     }

     .gallery-item img {
         display: block;
         width: 100%;
         aspect-ratio: 3 / 4;
     }

     .slider-container {
         position: relative;
         border-radius: 20px;
         overflow: hidden;
         box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
         height: 450px;
     }

 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .service-card,
 .review-card,
 .gallery-item {
     animation: fadeInUp 0.6s ease;
 }


 /* Адаптив для преимуществ */
 @media (max-width: 1024px) {
     .advantages-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 25px;
     }
 }

 @media (max-width: 768px) {
     .advantages-grid {
         grid-template-columns: 1fr;
         gap: 20px;
     }

     .advantages-title {
         font-size: 2rem;
     }

     .advantage-card {
         padding: 30px 20px;
     }
 }

 /* ========================================
   COOKIE
   ======================================== */

 .cookieagry {
     position: fixed;
     bottom: 0;
     z-index: 9999;
     width: 100%;
 }

 .cookieagry-alert {
     display: -ms-flexbox;
     display: flex;
     -ms-flex-align: center;
     align-items: center;
     min-height: 6rem;
     pointer-events: auto;
     padding: 1rem 2rem 1rem 2rem;
     margin: 0 0 1rem;
     position: relative;
     border-radius: 10px;
     animation: alertpopupShow 0.5s forwards;
     background: #343434;
     color: #fff;
     max-width: 1090px;
     margin: 0 auto 2rem auto;
 }

 .cookieagry__text {
     margin: 0 3rem 0 0;
 }

 .cookieagry__text a {
     text-decoration: underline;
 }

 .ui-btn--38,
 .ui-code__btn {
     padding: 0.5rem 2rem;
     height: 38px;
     font-size: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 5px;
 }

 .ui-btn--white {
     background: #fff;
     color: #343434;
 }

 @media(max-width:767px) {
     .cookieagry-alert {
         flex-direction: column;
         align-items: center;
         gap: 18px;
         width: 100%;
         max-width: 100%;
         align-items: stretch;
     }

     .ui-btn--38,
     .ui-code__btn {
         width: 100%;
         max-width: 100%;
     }

     .cookieagry__text {
         text-align: center;
         margin: 0;
     }

 }