/* Reset */

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
}


/* Links */

a, a:visited, a:hover {
    text-decoration: none;
}

a:focus,
a:active {
    outline: none;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p{
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

p + p {
    margin-top: 1em;
}

ul {
    list-style: none;
}

img, svg {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

/* forms */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background: none;
    background-color: transparent;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

.roboto-semibold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.montserrat-semibold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.montserrat-medium {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.inter-medium {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.inter-semibold {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.inter-regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #a58763;
    position: relative;
    width: 100%;
    max-width: 1600px;
    max-height: 95vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #2d2d2d;
    height: 50px;
    width: 50px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: #1a1a1a;
}

/* Contact Modal */
.contact-modal-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
}

.contact-info {
    order: 2;
}

.contact-info-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: white;
    letter-spacing: -1.04px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-info-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #f4e3ce;
    letter-spacing: -0.36px;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #e2bf89;
    margin-bottom: 8px;
}

.contact-detail-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: white;
    word-break: break-all;
}

.contact-form-container {
    order: 1;
}

.contact-form-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #f4e3ce;
    letter-spacing: -0.44px;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #f4e3ce;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.form-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #b69e82;
    padding-bottom: 8px;
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #ceb393;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #f4e3ce;
}

.form-input.error {
    border-bottom-color: #ef4444;
}

.form-textarea {
    resize: none;
    min-height: 60px;
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.form-privacy {
    font-size: 10px;
    line-height: 14px;
    color: #ceb393;
    margin-top: 16px;
}

.form-privacy-link {
    font-weight: 500;
}

.form-submit {
    background-color: #2d2d2d;
    border: none;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover:not(:disabled) {
    background-color: #1a1a1a;
}

.form-submit:disabled {
    background-color: #444444;
    cursor: not-allowed;
}

.submit-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #f4e3ce;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 0 16px;
}

.form-send{
  display: flex;
  gap: 83px;
}

/* Thanks Modal */
.thanks-modal-content {
    position: relative;
}

.thanks-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/thx-bg.jpg") center/cover no-repeat;
    background-size: cover;
    background-position: center;
}

.thanks-content {
    position: relative;
    z-index: 5;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.thanks-message {
    background-color: #fef3e6;
    padding: 24px;
    max-width: 904px;
    width: 100%;
    text-align: center;
}

.thanks-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #2d2d2d;
    letter-spacing: -0.84px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.thanks-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #bdaf9f;
    letter-spacing: -0.44px;
    margin-bottom: 32px;
}

.thanks-button {
    background-color: #a58763;
    border: none;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #f4e3ce;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 0 16px;
}

.thanks-button:hover {
    background-color: #92744e;
}

/* Responsive Design */
@media (min-width: 640px) {
    .modal {
        padding: 16px;
    }
    
    .modal-close {
        right: 19px;
        top: 19px;
        height: 66px;
        width: 70px;
    }
    
    .contact-modal-inner {
        padding: 24px;
        gap: 32px;
    }
    
    .contact-info-content h1 {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 24px;
    }
    
    .contact-info-content p {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 32px;
    }
    
    .contact-details {
        gap: 24px;
    }
    
    .contact-detail-label {
        font-size: 14px;
    }
    
    .contact-detail-value {
        font-size: 32px;
        line-height: 48px;
    }
    
    .contact-form-intro {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 32px;
    }
    
    .contact-form {
        gap: 24px;
    }
    
    .form-label {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .form-input {
        font-size: 18px;
    }
    
    .form-error {
        font-size: 14px;
    }
    
    .form-privacy {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 24px;
    }
    
    .form-submit {
        height: 82px;
    }
    
    .submit-text {
        font-size: 18px;
    }
    
    .thanks-content {
        min-height: 500px;
        padding: 64px 32px;
    }
    
    .thanks-message {
        padding: 32px;
    }
    
    .thanks-title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 32px;
    }
    
    .thanks-subtitle {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 40px;
    }
    
    .thanks-button {
        height: 83px;
        width: 285px;
        margin: 0 auto;
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .contact-modal-inner {
        padding: 48px;
        gap: 64px;
    }
    
    .contact-info-content h1 {
        font-size: 42px;
        line-height: 46px;
    }
    
    .contact-info-content p {
        font-size: 18px;
    }
    
    .contact-detail-value {
        font-size: 36px;
    }
    
    .contact-form-intro {
        font-size: 22px;
    }
    
    .form-label {
        font-size: 20px;
    }
    
    .form-submit {
        width: 368px;
    }
    
    .thanks-content {
        min-height: 600px;
    }
    
    .thanks-message {
        padding: 48px;
    }
    
    .thanks-title {
        font-size: 38px;
        line-height: 42px;
    }
    
    .thanks-subtitle {
        font-size: 22px;
        margin-bottom: 48px;
    }
}

@media (min-width: 1280px) {
    .contact-modal-inner {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-info-content h1 {
        font-size: 52px;
        line-height: 58px;
    }
    
    .contact-detail-value {
        font-size: 40px;
        line-height: 60px;
    }
    
    .thanks-message {
        padding: 64px;
    }
    
    .thanks-title {
        font-size: 42px;
        line-height: 48px;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 50px;
        line-height: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


