/* =========================================================
   THARA REAL ESTATES
   INTERNAL PAGES
========================================================= */

:root {
    --page-gold: #b89452;
    --page-gold-dark: #846631;
    --page-gold-light: #dcc48f;
  
    --page-text: #25221c;
    --page-muted: #777166;
  
    --page-bg: #f8f5ed;
    --page-white: #ffffff;
  
    --page-border: rgba(91, 73, 42, 0.12);
  
    --page-shadow:
      0 24px 70px rgba(61, 48, 25, 0.09);
  
    --page-radius: 30px;
  }
  
  
  /* =========================================================
     GENERAL
  ========================================================= */
  
  .inner-page {
    background:
      radial-gradient(
        circle at 90% 5%,
        rgba(184, 148, 82, 0.08),
        transparent 32%
      ),
      var(--page-bg);
  }
  
  .inner-main {
    overflow: hidden;
  }
  
  .inner-section {
    max-width: 1240px;
  
    margin-inline: auto;
  
    padding:
      85px 18px;
  }
  
  .inner-eyebrow {
    margin: 0 0 12px;
  
    color: var(--page-gold-dark);
  
    font-size: 0.72rem;
  
    font-weight: 800;
  
    letter-spacing: 2px;
  }
  
  .inner-title {
    margin: 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size:
      clamp(2.1rem, 9vw, 4.6rem);
  
    line-height: 1.45;
  
    font-weight: 500;
  
    color: var(--page-text);
  }
  
  .inner-title span {
    color: var(--page-gold-dark);
  }
  
  .inner-text {
    color: var(--page-muted);
  
    line-height: 2;
  
    font-size: 0.9rem;
  }
  
  
  /* =========================================================
     PAGE HERO
  ========================================================= */
  
  .inner-hero {
    position: relative;
  
    min-height: 560px;
  
    margin:
      90px 14px 20px;
  
    display: flex;
  
    align-items: flex-end;
  
    overflow: hidden;
  
    border-radius: 32px;
  
    background:
      linear-gradient(
        180deg,
        rgba(20, 18, 14, 0.08),
        rgba(20, 18, 14, 0.68)
      ),
      url("assets/IMG_4604.JPG")
      center / cover no-repeat;
  
    box-shadow: var(--page-shadow);
  }
  
  .inner-hero::after {
    content: "";
  
    position: absolute;
  
    inset: 0;
  
    background:
      linear-gradient(
        120deg,
        rgba(184, 148, 82, 0.18),
        transparent 50%
      );
  }
  
  .inner-hero-content {
    position: relative;
  
    z-index: 2;
  
    max-width: 800px;
  
    padding: 38px 24px;
  
    color: white;
  }
  
  .inner-hero .inner-eyebrow {
    color: #e9d1a0;
  }
  
  .inner-hero .inner-title {
    color: white;
  }
  
  .inner-hero .inner-title span {
    color: #e1c183;
  }
  
  .inner-hero-description {
    max-width: 610px;
  
    margin: 15px 0 0;
  
    color: rgba(255, 255, 255, 0.8);
  
    line-height: 1.95;
  
    font-size: 0.9rem;
  }
  
  
  /* =========================================================
     SECTION HEADING
  ========================================================= */
  
  .inner-heading {
    display: flex;
  
    flex-direction: column;
  
    gap: 17px;
  
    margin-bottom: 38px;
  }
  
  .inner-heading h2 {
    margin: 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size:
      clamp(1.9rem, 7vw, 3.3rem);
  
    line-height: 1.5;
  
    font-weight: 500;
  }
  
  .inner-heading h2 span {
    display: block;
  
    color: var(--page-gold-dark);
  }
  
  .inner-heading > p {
    max-width: 520px;
  
    margin: 0;
  
    color: var(--page-muted);
  
    line-height: 1.9;
  
    font-size: 0.86rem;
  }
  
  
  /* =========================================================
     ABOUT INTRO
  ========================================================= */
  
  .about-story {
    display: grid;
  
    grid-template-columns: 1fr;
  
    gap: 30px;
  
    align-items: center;
  }
  
  .about-story-image {
    position: relative;
  
    height: 520px;
  
    overflow: hidden;
  
    border-radius: var(--page-radius);
  
    box-shadow: var(--page-shadow);
  }
  
  .about-story-image img {
    width: 100%;
    height: 100%;
  
    object-fit: cover;
  
    transition: transform 0.8s ease;
  }
  
  .about-story-image:hover img {
    transform: scale(1.04);
  }
  
  .about-story-badge {
    position: absolute;
  
    right: 16px;
    bottom: 16px;
  
    padding: 10px 15px;
  
    border:
      1px solid rgba(255,255,255,.5);
  
    border-radius: 999px;
  
    background:
      rgba(255,255,255,.82);
  
    backdrop-filter: blur(12px);
  
    color: var(--page-gold-dark);
  
    font-size: .7rem;
  
    font-weight: 800;
  }
  
  .about-copy h2 {
    margin: 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size:
      clamp(2rem, 8vw, 3.4rem);
  
    line-height: 1.55;
  
    font-weight: 500;
  }
  
  .about-copy h2 span {
    color: var(--page-gold-dark);
  }
  
  .about-copy p {
    color: var(--page-muted);
  
    line-height: 2;
  
    font-size: .9rem;
  }
  
  .about-signature {
    display: flex;
  
    align-items: center;
  
    gap: 12px;
  
    margin-top: 25px;
  
    color: var(--page-gold-dark);
  
    font-size: .72rem;
  
    font-weight: 800;
  }
  
  .about-signature::before {
    content: "";
  
    width: 45px;
    height: 1px;
  
    background: var(--page-gold);
  }
  
  
  /* =========================================================
     VALUES
  ========================================================= */
  
  .values-grid {
    display: grid;
  
    grid-template-columns: 1fr;
  
    gap: 12px;
  }
  
  .value-card {
    position: relative;
  
    padding: 28px;
  
    min-height: 270px;
  
    border:
      1px solid var(--page-border);
  
    border-radius: 25px;
  
    background:
      rgba(255,255,255,.6);
  
    transition:
      transform .35s ease,
      box-shadow .35s ease,
      background .35s ease;
  }
  
  .value-card:hover {
    transform: translateY(-6px);
  
    background:
      rgba(255,255,255,.88);
  
    box-shadow: var(--page-shadow);
  }
  
  .value-number {
    color:
      rgba(132, 102, 49, .3);
  
    font-family: Georgia, serif;
  
    font-size: .78rem;
  }
  
  .value-card h3 {
    margin:
      55px 0 8px;
  
    font-family: "Marhey", sans-serif;
  
    font-weight: 500;
  
    font-size: 1.3rem;
  }
  
  .value-card p {
    margin: 0;
  
    color: var(--page-muted);
  
    line-height: 1.9;
  
    font-size: .82rem;
  }
  
  
  /* =========================================================
     TEAM
  ========================================================= */
  
  .inner-team-grid {
    display: grid;
  
    grid-template-columns: 1fr;
  
    gap: 18px;
  }
  
  .inner-team-card {
    display: block;
  
    text-decoration: none;
  }
  
  .inner-team-image {
    position: relative;
  
    height: 430px;
  
    overflow: hidden;
  
    border-radius: 27px;
  }
  
  .inner-team-image img {
    width: 100%;
    height: 100%;
  
    object-fit: cover;
  
    transition:
      transform .7s ease,
      filter .4s ease;
  }
  
  .inner-team-card:hover
  .inner-team-image img {
    transform: scale(1.05);
  
    filter: brightness(.78);
  }
  
  .inner-team-overlay {
    position: absolute;
  
    inset:
      auto 14px 14px;
  
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    padding: 13px 15px;
  
    border:
      1px solid rgba(255,255,255,.35);
  
    border-radius: 15px;
  
    background:
      rgba(255,255,255,.16);
  
    backdrop-filter: blur(13px);
  
    color: white;
  
    opacity: 0;
  
    transform: translateY(8px);
  
    transition:
      opacity .3s ease,
      transform .3s ease;
  }
  
  .inner-team-card:hover
  .inner-team-overlay {
    opacity: 1;
  
    transform: translateY(0);
  }
  
  .inner-team-info {
    padding: 14px 4px 0;
  }
  
  .inner-team-info small {
    color: var(--page-gold-dark);
  
    font-size: .63rem;
  
    letter-spacing: 1.5px;
  }
  
  .inner-team-info h3 {
    margin: 4px 0 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size: 1.25rem;
  
    font-weight: 500;
  }
  
  .inner-team-info p {
    margin: 3px 0 0;
  
    color: var(--page-muted);
  
    font-size: .72rem;
  }
  
  
  /* =========================================================
     CONTACT
  ========================================================= */
  
  .contact-layout {
    display: grid;
  
    grid-template-columns: 1fr;
  
    gap: 30px;
  }
  
  .contact-panel {
    padding: 28px;
  
    border:
      1px solid var(--page-border);
  
    border-radius: 28px;
  
    background:
      rgba(255,255,255,.7);
  
    box-shadow:
      0 20px 55px rgba(61,48,25,.06);
  }
  
  .contact-panel h2 {
    margin: 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size: 1.8rem;
  
    font-weight: 500;
  }
  
  .contact-panel > p {
    color: var(--page-muted);
  
    line-height: 1.9;
  
    font-size: .84rem;
  }
  
  
  /* FORM */
  
  .contact-form {
    display: grid;
  
    gap: 13px;
  
    margin-top: 25px;
  }
  
  .contact-form-row {
    display: grid;
  
    grid-template-columns: 1fr;
  
    gap: 13px;
  }
  
  .contact-form label span {
    display: block;
  
    margin-bottom: 6px;
  
    color: #696358;
  
    font-size: .7rem;
  
    font-weight: 700;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
  
    border:
      1px solid var(--page-border);
  
    border-radius: 14px;
  
    outline: none;
  
    background: white;
  
    color: var(--page-text);
  
    font-family: "Cairo", sans-serif;
  
    transition:
      border-color .2s ease,
      box-shadow .2s ease;
  }
  
  .contact-form input,
  .contact-form select {
    min-height: 50px;
  
    padding: 0 14px;
  }
  
  .contact-form textarea {
    min-height: 125px;
  
    padding: 13px;
  
    resize: vertical;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color:
      rgba(184,148,82,.7);
  
    box-shadow:
      0 0 0 3px
      rgba(184,148,82,.09);
  }
  
  .contact-submit {
    width: 100%;
  
    min-height: 52px;
  
    border: 0;
  
    border-radius: 14px;
  
    background:
      linear-gradient(
        135deg,
        #c6a664,
        #a77f3f
      );
  
    color: white;
  
    font-weight: 800;
  
    cursor: pointer;
  
    box-shadow:
      0 12px 28px
      rgba(159,121,57,.22);
  }
  
  
  /* =========================================================
     FAQ
  ========================================================= */
  
  .faq-wrap {
    max-width: 900px;
  
    margin-inline: auto;
  }
  
  .faq-list {
    display: grid;
  
    gap: 10px;
  }
  
  .faq-item {
    overflow: hidden;
  
    border:
      1px solid var(--page-border);
  
    border-radius: 19px;
  
    background:
      rgba(255,255,255,.68);
  }
  
  .faq-question {
    width: 100%;
  
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    gap: 20px;
  
    padding: 20px;
  
    border: 0;
  
    background: transparent;
  
    color: var(--page-text);
  
    text-align: right;
  
    font-size: .88rem;
  
    font-weight: 800;
  
    cursor: pointer;
  }
  
  .faq-icon {
    flex-shrink: 0;
  
    width: 29px;
    height: 29px;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    border-radius: 50%;
  
    background:
      rgba(184,148,82,.1);
  
    color: var(--page-gold-dark);
  
    font-size: 1.15rem;
  
    transition: transform .3s ease;
  }
  
  .faq-answer {
    max-height: 0;
  
    overflow: hidden;
  
    transition:
      max-height .45s ease;
  }
  
  .faq-answer-inner {
    padding:
      0 20px 20px;
  
    color: var(--page-muted);
  
    line-height: 1.95;
  
    font-size: .82rem;
  }
  
  .faq-item.active
  .faq-icon {
    transform: rotate(45deg);
  }
  
  
  /* =========================================================
     LEGAL / TEXT PAGES
  ========================================================= */
  
  .legal-wrap {
    max-width: 900px;
  
    margin-inline: auto;
  }
  
  .legal-card {
    padding:
      30px 22px;
  
    border:
      1px solid var(--page-border);
  
    border-radius: 28px;
  
    background:
      rgba(255,255,255,.72);
  
    box-shadow:
      0 20px 55px rgba(61,48,25,.05);
  }
  
  .legal-card section {
    padding:
      0 0 28px;
  
    margin-bottom: 28px;
  
    border-bottom:
      1px solid var(--page-border);
  }
  
  .legal-card section:last-child {
    border: 0;
  
    padding-bottom: 0;
  
    margin-bottom: 0;
  }
  
  .legal-card h2 {
    margin:
      0 0 10px;
  
    color: var(--page-text);
  
    font-family: "Marhey", sans-serif;
  
    font-size: 1.2rem;
  
    font-weight: 500;
  }
  
  .legal-card p,
  .legal-card li {
    color: var(--page-muted);
  
    line-height: 2;
  
    font-size: .82rem;
  }
  
  .legal-card ul {
    padding-right: 20px;
  }
  
  
  /* =========================================================
     CTA
  ========================================================= */
  
  .inner-cta {
    max-width: 1120px;
  
    margin:
      20px auto 80px;
  
    padding:
      50px 24px;
  
    text-align: center;
  
    border:
      1px solid rgba(184,148,82,.18);
  
    border-radius: 32px;
  
    background:
      linear-gradient(
        145deg,
        #fff,
        #eee4d1
      );
  
    box-shadow: var(--page-shadow);
  }
  
  .inner-cta h2 {
    margin: 0;
  
    font-family: "Marhey", sans-serif;
  
    font-size:
      clamp(1.8rem, 7vw, 3rem);
  
    line-height: 1.6;
  
    font-weight: 500;
  }
  
  .inner-cta h2 span {
    color: var(--page-gold-dark);
  }
  
  .inner-cta p {
    max-width: 500px;
  
    margin:
      12px auto 22px;
  
    color: var(--page-muted);
  
    line-height: 1.8;
  
    font-size: .85rem;
  }
  
  
  /* =========================================================
     PAGE REVEAL
  ========================================================= */
  
  .page-reveal {
    opacity: 0;
  
    transform: translateY(27px);
  
    transition:
      opacity .8s cubic-bezier(.2,.7,.2,1),
      transform .8s cubic-bezier(.2,.7,.2,1);
  }
  
  .page-reveal.visible {
    opacity: 1;
  
    transform: translateY(0);
  }
  
  .page-delay-1 {
    transition-delay: .09s;
  }
  
  .page-delay-2 {
    transition-delay: .18s;
  }
  
  
  /* =========================================================
     TABLET
  ========================================================= */
  
  @media (min-width: 700px) {
  
    .inner-section {
      padding:
        110px 32px;
    }
  
    .inner-hero {
      min-height: 620px;
  
      margin:
        105px 28px 30px;
    }
  
    .inner-hero-content {
      padding: 55px 45px;
    }
  
    .inner-heading {
      flex-direction: row;
  
      align-items: flex-end;
      justify-content: space-between;
    }
  
    .about-story {
      grid-template-columns:
        1fr 1fr;
  
      gap: 55px;
    }
  
    .values-grid {
      grid-template-columns:
        repeat(3, 1fr);
    }
  
    .inner-team-grid {
      grid-template-columns:
        repeat(3, 1fr);
  
      gap: 15px;
    }
  
    .contact-form-row {
      grid-template-columns:
        1fr 1fr;
    }
  
    .legal-card {
      padding: 45px;
    }
  
  }
  
  
  /* =========================================================
     DESKTOP
  ========================================================= */
  
  @media (min-width: 980px) {
  
    .inner-hero {
      max-width: 1280px;
  
      margin-inline: auto;
  
      min-height: 680px;
    }
  
    .contact-layout {
      grid-template-columns:
        .85fr 1.15fr;
  
      align-items: start;
  
      gap: 45px;
    }
  
    .inner-team-image {
      height: 500px;
    }
  
  }